Step by step process to install the latest Sublime Text editor on Ubuntu 20.04 LTS ?

A cross-platform, lightweight code editor, Sublime Text is known for being fast, easy to use, and strong community support. Not only does it supports many languages, but you can also even extend the functionality using plugins. 

You can download and evaluate the code editor for free.

Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to install Software on Ubuntu Servers.

In this context, we shall look into the steps to install Ubuntu 20.04 LTS to download and install the Sublime Text editor.


Steps to Install Sublime Text on Ubuntu 20.04 LTS ?

To get Sublime Text installed on your Server, follow the steps given below:


1. Using the command line

i. The first step is updating the apt package repository using:

sudo apt update

ii. Next, run the command below to install any dependencies needed to fetch https sources:

sudo apt install apt-transport-https ca-certificates curl software-properties-common

iii. Get the key using:

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

iv. Use the command below to add Sublime Text to your system’s repository list:

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

v. Update the system repository with the help of the following command:

sudo apt update

vi. Install Sublime Text using:

sudo apt-get install sublime-text


2. Using the Ubuntu Software Center

You can also download Sublime Text through the Ubuntu Software Center.

i. Look for Ubuntu Software in the Applications Menu.

ii. Click Ubuntu Software icon to launch it.

iii. Click the search icon on the top left of your screen and search for Sublime Text.

iv. Click Sublime Text.

v. Click the Install button and next enter your password to begin the installation of Sublime Text.

vi. Once you enter your password, the installation begins.


How to Launch Sublime Text After Installation ?

Once installed, you can view the editor by searching for it in the Applications Menu, or through the command line.

1. Using the command line

Run the following command on the terminal to launch a Sublime Text editor:

subl

2. Using the Applications Menu

i. To launch Sublime Text using the Applications Menu search for it.

ii. Click the icon to launch Sublime Text!


How to Uninstall Sublime Text ?

1. Using the command line

To uninstall Sublime Text use the command:

sudo apt remove sublime-text

2. Using the Ubuntu Software Center

You can also uninstall Sublime Text from the Ubuntu Software Center. 

i. Go to the Installed tab and click Remove next to Sublime Text.

ii. Click Remove to confirm.

iii. Next, you will be asked for authentication, enter your password, and click Authenticate. 

Sublime Text will be removed.


[Need urgent assistance to install Software on Debian Server? We are available to help you. ]

This article will guide you on how to #install #Sublime Text code editor on Ubuntu 20.04 using both the #command line and the #Ubuntu #Software Center.

All Ubuntu versions have Snap enabled by default. This means you can install Notepad++ on Ubuntu from the Software Center. Once the installation completes, you can launch it from the search or by typing notepad-plus-plus into the terminal.

Sublime Text Editor is cross-platform, you can use it in #Linux, #Windows or Mac systems.

Related Posts