Install Sublime Text 3 on Ubuntu Easily

x32x01
  • by x32x01 ||
Sublime Text is one of the most popular cross-platform text editors in the developer world. It’s lightweight, fast, and powerful - perfect for coders who value speed and simplicity. 🚀

The best part? Sublime Text now offers an official Linux apt repository, making it easier than ever to install and receive automatic updates on Ubuntu.

In this guide, you’ll learn how to install, update, and remove Sublime Text 3 step by step.

What Is Sublime Text? 🧠

Sublime Text is a proprietary source code editor with a flexible Python API, supporting a wide range of programming and markup languages. You can enhance its power with plugins and community extensions.

Although it’s free to download and use, developers are encouraged to purchase a license for long-term use. 💼



Installing Sublime Text 3 on Ubuntu 🛠️

Let’s walk through the steps to install Sublime Text 3 using the official apt repository. This ensures you get automatic updates straight from Sublime HQ.

Step 1: Add the Sublime GPG Key 🔑

Open your terminal using Ctrl + Alt + T or by searching for Terminal from your app launcher.
Then, add the official Sublime Text GPG key with this command:
Code:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
This verifies that all Sublime Text packages come from the official source.

Step 2: Add the Official apt Repository 📦

Next, add Sublime Text’s repository to your system sources list:
Code:
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
This tells Ubuntu where to find the latest Sublime Text updates.

Step 3: Update and Install Sublime Text ⚙️

Now update your package list and install Sublime Text with these commands:
Code:
sudo apt-get update
sudo apt-get install sublime-text
After a few moments, Sublime Text 3 will be successfully installed on your system. 🎉

You can now launch it from your Applications Menu → Sublime Text or by running:
Code:
subl



How to Uninstall Sublime Text 🗑️

If you ever want to remove Sublime Text from your system, you can easily do it with:
Code:
sudo apt-get remove sublime-text && sudo apt-get autoremove
This command cleans up all related dependencies as well.

To remove the apt repository, go to:
System Settings → Software & Updates → Other Software Tab and delete the Sublime Text entry.



Why Developers Love Sublime Text ❤️

Here’s why Sublime Text remains a favorite among developers:
  • ⚡ Lightning-fast performance even with large files.
  • 🧠 Smart syntax highlighting and autocomplete.
  • 🎨 Beautiful interface with customizable themes.
  • 🔌 Extensible via plugins using Package Control.

Whether you’re coding in Python, HTML, C++, or Markdown - Sublime Text has you covered.



Final Thoughts 💬

Sublime Text 3 is a must-have tool for developers who love speed and efficiency. With the new official apt repository, installing and maintaining it on Ubuntu has never been easier.
Start coding faster, smarter, and smoother with Sublime Text today! ✨
 
Last edited:
Related Threads
x32x01
Replies
0
Views
786
x32x01
x32x01
x32x01
Replies
0
Views
906
x32x01
x32x01
x32x01
Replies
0
Views
798
x32x01
x32x01
x32x01
Replies
0
Views
804
x32x01
x32x01
x32x01
Replies
0
Views
783
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
768
x32x01
x32x01
x32x01
Replies
0
Views
743
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
821
x32x01
x32x01
x32x01
Replies
0
Views
938
x32x01
x32x01
x32x01
Replies
0
Views
949
x32x01
x32x01
Register & Login Faster
Forgot your password?
Forum Statistics
Threads
628
Messages
633
Members
64
Latest Member
alialguelmi
Back
Top