Sublime Forum

Cannot open libGL.so.1

#1

After installing Sublime Text without error on Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux and running the symlink subl, this error is displayed:

/opt/sublime_text/sublime_text: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

Then found this suggestion on Stack Overflow, which doesn’t include libGL.so.1 but I ran it anyway and it installed without error:

sudo apt install libglib2.0-0 libx11-6 libcairo2 libpango-1.0-0 libpangocairo-1.0-0 libgtk2.0-0

Then I ran:

sudo apt install libGL.so.1

and the following was displayed:

Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package libGL.so.1
E: Couldn’t find any package by glob ‘libGL.so.1’

0 Likes

#2

You need to install opengl support: https://superuser.com/questions/1099227/installing-opengl-in-linux

1 Like