How to Install Sublime Text 3 on Ubuntu & Linux Mint

Rispondi
Avatar utente
openresource
Administrator
Administrator
Messaggi: 382
Iscritto il: mar gen 28, 2020 9:52 pm
Reactions score: 4
Località: varese
Contatta:
giu 2020 09 21:47

How to Install Sublime Text 3 on Ubuntu & Linux Mint

Messaggio da openresource

Immagine

Learn how to install Sublime Text on Ubuntu 18.04 LTS and above in this easy-to-follow guide.

Sublime Text is a popular cross-platform text editor that has gathered a huge following among web and software developers. Sublime Text is available natively for Linux distros like Ubuntu, as well as Windows and macOS.

In this guide we walk show you how to add the Sublime Text repository to your system to easily install Sublime Text 3 on Ubuntu 18.04 LTS and above. Using this repo is the recommended way to install the app and it ensures you get future updates to the editor as and when they’re released, automatically, no hassle.

Sublime Text 3: What is It?

Immagine

Sublime Text 3 is a proprietary text editor available across all three major operating systems — a feature that developers who move from one system to another have come to appreciate.

Sublime Text is fast and responsive (faster than the Atom text editor, anyhow) and boasts an expansive feature set that can be extended thanks to support for plugins. There’s a whole ecosystem of Sublime Text plugins available, and a quick google will turn up loads of recommended ones.

Although you can download the Sublime Text editor and use it for free you’re supposed to buy a license if you plan to use it full-time. Licenses start at $70. However, the ‘evaluation’ period you’re given to try it out doesn’t actually expire, so you can use it for as long as you like.

How to Install Sublime Text on Ubuntu

Immagine

First things first: you can download Sublime Text for Linux direct from the editor’s website, but this route has a major drawback: no auto-updates to new versions.

Windows and macOS builds do automatically update to new releases as and when they’re made, but the Linux version does not.

So to install Sublime Text on Ubuntu AND get automatic updates to new releases you can add the official Sublime Text repository following these three steps:

  1. Download the security key for the Sublime text editor repository. This step is important as it ensures any packages you download from the linked repo are what they say they are, with no nasty surprises:

Codice: Seleziona tutto

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
  1. Add the Sublime Text stable repository to your list of software sources:

Codice: Seleziona tutto

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

If you to run development builds of Sublime Text 3 instead of the stable version you should run this command instead of the one above:

Codice: Seleziona tutto

echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
  1. Install Sublime Text by running this command:

Codice: Seleziona tutto

sudo apt update && sudo apt install sublime-text

That’s all you need to do.

When installation is complete you can go ahead and launch Sublime from your desktop app launcher of choice. The app will open and you can get stuck in to playing with it.

Immagine
Rispondi