Sublime Forum

Linux Mint installation instructions

#1

Hi,

In the new version of the installation instructions for APT (which I also use for Linux Mint), the following is placed:

Stable:
(I could not put it here, as it contained links and I can only post 2 links)

However, Linux Mint does not recognize the sources file. The files with the .sources seem to be just ignored by Mint.
Better was the old instruction on the Website (which I guess were changed because of a new Ubuntu version):

echo “deb https://download.sublimetext.com/ apt/stable/” | sudo tee /etc/apt/sources.list.d/sublime-text.list

Also, I see that the packages in Mint have a higher priority than the ones from Sublime text. I solved this in the following way (found it from another use on another website):

The new file: /etc/apt/preferences.d/sublime-text.pref with the following content:

Package: sublime-text
Pin: origin download.sublimetext.com
Pin-Priority: 900

Can there please be a separate install instruction for Linux Mint, as it is used by many users and the ones from Ubunto don’t always work?

Kind regards, Ivo

0 Likes

#2

Various distros’ package manageres seem to shift technologies, which required documentation updates to keep up. Maybe your Mint doesn’t support those, yet.

0 Likes

#3

What version of Linux Mint have you got/using?

I’m using

[tim@zoot ~ ]$ lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description:    Linux Mint 22.1
Release:        22.1
Codename:       xia

And all I did was follow the instructions here and it was easy and pain free? No package override issues etc etc, just apt update && apt-get install sublime-text

0 Likes

#4

I just tried with a fresh install of Mint 21 - the oldest supported version of Mint - and installation worked as expected.

0 Likes

#5

Hi,

Strange, for me this instruction:

echo -e ‘Types: deb\nURIs: https://download.sublimetext.com/\nSuites: apt/stable/\nSigned-By: /etc/apt/keyrings/sublimehq-pub.asc’ | sudo tee /etc/apt/sources.list.d/sublime-text.sources

Created a .sources file which was ignored by Mint.
I checked where the install of Sublime Text came from by using:

sudo apt-cache policy sublime-text

In the output, I saw that only the packages in the Mint repository were listed.
Those packages are not as up to date as the one in the ones in download.sublimetext.com.
You can also see it by checking if you are now on Build 4200 (the new version) or 4198 (the old version).

Kind regards, Ivo

0 Likes

#6

I am on Mint 22.1, which is the newest version. But it is based on Ubuntu 24.04, the latest version of Ubuntu is indeed 25.04 so I guess mint does not yet have these features. Therefor, it would be helpful if there was a separate section on install for Mint.

0 Likes

#7

deb822, the new format, has been supported since at least Ubuntu 16.04. Mint 22 specifically has full support for deb822, see https://9to5linux.com/linux-mint-devs-to-ship-thunderbird-as-a-native-deb-package-in-linux-mint-22

0 Likes

#8

Strange then that it completely ignores the .sources file. When I switch to the old format, it works fine.
When I google on this DEB822 format, I see that Mint 22 does have some issues with it, mostly encountered by people during an upgrade.
Maybe then is it just my installation which does not work here, as I indeed upgraded from 21 to 22.

0 Likes