Search

How to Install Sublime Text 4 on Ubuntu

post-title

Sublime text is powerful, lightweight and cross-platform text editor built in Python. It nativelly supports many programming languages and markup languages and also users can add functionality by plugin.

Sublime text is not open-source software unlike Atom or Visual Studio code , but ublime Text is free to download and evaluate, however a license must be purchased for continued use. You can use single licence to multiple computers and systems as licence is per-user.

In this article we will install Sublime Text 3 in Ubuntu system which is current latest release.

There are many ways to Install Sublime text in Linux. Here are some easy ways to install Sublime Text 3.

1. Direct install from Ubuntu Software center

Ubuntu is avaialble to install directly from Ubuntu Software center. Open Ubuntu Software and search for sublime text. Click on install button. It will asks password to install.
Enter password and wait for installation complete.

2. From Official Package repository

Sublime text is also avaiable to install directly from official Package repository. To install sublime text open Terminal using shortcut CTRL+ALT+T or from Menu and run these command:

Install GPG key

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

Install https source transporter

sudo apt-get install apt-transport-https

Select application medium
Stable  

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

Dev

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

Update package repository

sudo apt-get update

Install Sublime text editor

sudo apt-get install sublime-text

To uninstall Sublime text editor, simply run the bellow command:

sudo apt-get remove sublime-text

3. Install via the Third party PPA

You can also install Sublime Text via adding third party PPA. To do so, run bellow command successively:

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

So, these ways, you can easily install Sublime Text in your system. I hope it will help you.