Sublime Forum

Installed Sublime-Text on Debian 12.1, won't start up

#1

Did a recent install of Sublime Text on a fresh install of Debian 12.1 with KDE Plasma. I followed directions from https://www.sublimetext.com/docs/linux_repositories.html for installing from the apt repo. Installs fine, but when I try and run it it gives me an error

$ subl 
/usr/bin/subl: 2: exec: /opt/sublime_text/sublime_text: not found
0 Likes

#2

Does /opt/sublime_text/sublime_text exist? What does ldd /opt/sublime_text/sublime_text output?

0 Likes

#3

Nope, /opt/sublime_text dir doesn’t exist.

And here’s the output as regular user

$ ldd /opt/sublime_text/sublime_text
ldd: /opt/sublime_text/sublime_text: No such file or directory

And here is the system saying it’s installed

$ dpkg -l | grep sublime
ii  sublime-text                                  4152                                amd64        Sublime Text is a sophisticated text editor for code, markup and prose
0 Likes

#4

Something definitely went wrong installing that package, that file is supposed to exist. I’d try removing and reinstalling it.

0 Likes

#5

Yeah, that did the trick. I think /opt hadn’t been created before, and for some reason didn’t get created. But because I created /opt for something else, it worked fine this time. Weird.

All installed and licensed now :slight_smile:

0 Likes