Sublime Forum

Sublime text not launching on Lubuntu

#1

This past weekend I did a fresh install of Lubuntu on an older Intel i3 laptop. I followed the install instructions on the website, adding the key and apt repo.

I am not sure what is going on as I discovered both Sublime Text and Atom are refusing to launch. I can’t find anything in /var/log about them. There isn’t anything in ~/.config/ for them that I can find. The apps don’t show in Task Manager.

Any suggestions how I can triage what is going on? Where else I might find logs or hints as to what is causing the issue?

I’ve done an apt-get purge and reboot to reinstall, still no luck.

0 Likes

#2

any error if you open it via command line?

/opt/sublime-text/sublime_text

I am not exactly sure about the path since I am on mobile.

0 Likes

#3

Yes, when I run it from the command line it tells me this:

bash: ./sublime_text: cannot execute binary file: Exec format error`

Googling tells me that there is apparently a sign that it’s running for the wrong format? Looking back through the logs of when I installed via apt-get as part of the instructions, I see that it unpacked ‘sublime-text_4107_amd64.deb’ which looks like the right version for my machine.

This is the output of my system when I run lscpu:

Architecture: i686
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 142
Model name: Intel® Core™ i3-7100U CPU @ 2.40GHz
Stepping: 9
CPU MHz: 900.034
CPU max MHz: 2400.0000
CPU min MHz: 400.0000
BogoMIPS: 4800.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 3072K

0 Likes

#4

Can you provide the output from uname -a, as well as ldd /opt/sublime-text/sublime_text.

0 Likes

#5

It looks like you are using a 32-bit OS.

0 Likes

#6

uname -a

Linux lubuntu 4.15.0-144-generic #148-Ubuntu SMP Sat May 8 02:32:19 UTC 2021 i686 i686 i686 GNU/Linux

ldd /opt/sublime-text/sublime_text

not a dynamic executable

0 Likes

#7

That… makes me feel incredibly stupid.

0 Likes

#8

Yea, you’re running a 32bit OS. Not sure why the repository let you download and install the x64 version, but there isn’t a 32bit version anymore.

0 Likes

#9

Just a guess, but note the ‘amd64’ part in the distro repo which is absent for off-site repo:

$ apt-cache policy sublime-text                  
sublime-text:
  Installed: 4107
  Candidate: 4107
  Version table:
 *** 4107 500
        500 https://download.sublimetext.com apt/stable/ Packages
        100 /var/lib/dpkg/status
     4106 500
        500 https://download.sublimetext.com apt/stable/ Packages
     3211 500
        500 http://packages.linuxmint.com debbie/import amd64 Packages
        500 https://download.sublimetext.com apt/stable/ Packages
0 Likes