Sublime Forum

Debian / Ubuntu installation not working

#1

I’ve followed all the instructions on https://www.sublimetext.com/docs/3/linux_repositories.html for installing Sublime but when I type the last command

sudo apt-get install sublime-text

it runs but I get

E: Unable to locate package sublime-text

I’ve tried various variations on the package name: none seem to help. I’ve also tried the dev location and this also doesn’t work. Any help much appreciated!

Thanks

0 Likes

#2

If you did not forgot sudo apt-get update before install, please give output of following command:

ls -la /etc/apt/sources.list.d/

If this contains file sublime-text.list, show us next output:

cat /etc/apt/sources.list.d/sublime-text.list

Wbr,

Gunnar

0 Likes

#3

Hi

Nope- did the update.

$ ls -al /etc/apt/sources.list.d/
total 44
drwxr-xr-x 2 root root 4096 Jul 16 10:54 .
drwxr-xr-x 7 root root 4096 Jul 14 16:30 …
-rw-r–r-- 1 root root 48 Jul 14 15:56 cuda-10-0-local-10.0.166.list
-rw-r–r-- 1 root root 48 Jul 14 15:56 cuda-10-0-local-10.0.166.list.save
-rw-r–r-- 1 root root 50 Jul 16 10:54 sublime-text.list
-rw-r–r-- 1 root root 74 Jul 14 15:56 visionworks-repo.list
-rw-r–r-- 1 root root 74 Jul 14 15:56 visionworks-repo.list.save
-rw-r–r-- 1 root root 82 Jul 14 15:56 visionworks-sfm-repo.list
-rw-r–r-- 1 root root 82 Jul 14 15:56 visionworks-sfm-repo.list.save
-rw-r–r-- 1 root root 92 Jul 14 15:56 visionworks-tracking-repo.list
-rw-r–r-- 1 root root 92 Jul 14 15:56 visionworks-tracking-repo.list.save

and

$ cat /etc/apt/sources.list.d/sublime-text.list
deb https://download.sublimetext.com/ apt/stable/

Thanks

0 Likes

#4

What is

sudo apt-get update

ouput after line beginning with Fetched?

0 Likes

#5

HI,

Can’t paste all the output (too many links) but I get this. Don’t actually see Fetched.

David

$ sudo apt-get update

Hit:11 https://download.sublimetext.com apt/stable/ InRelease
Hit:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease

Reading package lists… Done

0 Likes

#6

Next try, let’s look output:

apt-cache search sublime

0 Likes

#7

This is a total straw grasp, but are you trying to install Sublime on a PC? One of the reasons why a Linux install might fail this way is if you’re on something like a raspberry pi or some other Linux device that’s not using an x86 compatible architecture.

1 Like

#8

Hi,

Oddly enough I was just walking the dog and thinking about the world when the architecture question sprang to mind. I was trying to install it on a NVidia Jetson Nano (which runs on an ARM processor). So I think that probably answers my question.

Thank you all for the help - should have thought to put a description of the system in the first email

David

0 Likes