How to Install Sublime Text in Ubuntu

Are you looking for a powerful and versatile code editor for your Ubuntu machine? Look no further than Sublime Text! This popular text editor offers advanced features such as syntax highlighting, auto-completion, and multiple selections to streamline your coding workflow and boost your productivity. In this article, we’ll show you how to install Sublime Text on your Ubuntu system step-by-step.

Below are some of Features,

  • Performance & Speed
  • Cross-Platform
  • GIT integration
  • Plugin Support
  • Highly customizable
  • Goto Anything, Definition
  • Multiple Selections
  • Command Palette
  • Powerful API and Package Ecosystem
  • Customize Anything
  • Split Editing
  • Instant Project Switch

Refer official page for further details.

Install Sublime Text on Ubuntu

Now let’s see how to install sublime text on Ubuntu Linux.

Step 1: Add GPG Key

Open a terminal and run below command to install GPG Key

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

Step 2:- Install apt-transport-https

Apt would be already set up to work with https source, but if you face any issue run below command.

sudo apt-get install apt-transport-https

Now, the sublime text is available as Stable and Dev build. If you are evaluating it, then install Stable. Dev is for the developer community.

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

Step 3: Refresh the package list

sudo apt-get update

Step 4: Install sublime using below command

sudo apt-get install sublime-text

Congratulations! You have successfully installed Sublime Text on your Ubuntu machine. Now you can take advantage of its advanced features and customization options to enhance your coding experience.

Bonus Tips:

  1. If you prefer a dark color scheme, you can select it by going to Preferences > Color Scheme > Adaptive.sublime-theme.
  2. To add plugins to Sublime Text, use the Package Control plugin by going to Tools > Install Package Control.

Summary

The guide covers the process of downloading and installing Sublime Text on Ubuntu, including adding necessary repositories and packages. It is intended to help both novice and experienced programmers quickly and easily add Sublime Text on their Ubuntu machines, enhancing their coding productivity and experience.

I hope you found this article useful. Please share and subscribe.

Scroll to Top