How to Install Sublime Text in Ubuntu

Table of Content
    Add a header to begin generating the table of contents
    Install Sublime Text in Ubuntu
      Add a header to begin generating the table of contents

      Overview

      Sublime Text is a multi-platform text editor developed by Jon Skinner in 2008. Interestingly, it’s one of the most widely used and loved code editors within the programming community.

      In this guide, we’ll discuss Sublime Text, highlight its key features, and demonstrate how to install Sublime Text on Ubuntu using different methods

      What is Sublime Text

      Sublime Text is a lightweight, fast, and user-friendly code editor written in C++ and Python, supporting all major programming and markup languages. It also provides a wide range of free plugins and powerful customization options. Consequently, it has become an crucial tool for developers to improve their programming efficiency.

      Features of Sublime Text

      Now that we’re familiar with Sublime Text, let’s explore some of its key features:

      • Smart Code Completion: Predicts and auto-completes your code
      • Code Snippets: Quickly insert pre-defined code snippets
      • Multi-Selection Editing: Edit multiple lines or words at once
      • Quick File Access: Navigate between files and symbols with ease
      • Extensive Plugin Support: Extend functionality through community-created plugins

      Methods to Install Sublime Text in Ubuntu

      Now, let’s explore how to install Sublime Text in our Ubuntu system. In this section, we’ll cover two installation methods: one for GUI lovers and one for those who prefer working with terminal commands.

      1. Through Ubuntu Software (GUI)

      In the first method, we’ll install sublime text through the Ubuntu Software Center, which may be the preferred option for new Ubuntu users due to its graphical interface. First, boot up your Ubuntu system and search for software in the search bar or open it from the Applications menu:

      Search and open Software.

      After opening the Software Center, search for Sublime Text in the search bar and click on the Sublime Text icon:

      
Search and open Sublime Text in Software center.

      Now, click on the Install button to install the Sublime Text in your system:

      To install Sublime Text click on Install.

      Consequently, a dialog box will appear which will ask for your user password. Here, enter your password and authenticate by clicking on the “Authenticate” button. After the installation, you can check if Sublime Text is installed by opening it from the Applications menu or by searching for it in the search bar:

      To confirm the installation or to open the Sublime Text search Sublime Text on search bar and click on it.

      Finally, you’ve successfully installed Sublime Text on your Ubuntu system. You can now enjoy using it!

      2. Through Snap command (CLI)

      In the second method, we’ll install sublime text using the snap command. Let’s go through the steps involved in this process.

      First, install Snapd on your system if it’s not already installed by executing the following command:

      Execute install snapd command.

      After ensuring that Snapd is installed, let’s install Sublime Text by executing the following command:

      It may take a minute or two to install:

      install Sublime text via snap

      Finally, you can confirm the installation or check the version of Sublime installed on your system by running the following command:

      The output shows that my version is Build 4180:

      check version

      Therefore, it confirms that Sublime Text is installed and ready to use!

      Uninstall Sublime Text from Ubuntu

      Now, if you want to uninstall Sublime Text from your system, you can follow any of the methods below, depending on your installation method.

      1. Through Ubuntu Software (GUI)

      You can easily do so by clicking on the Trash icon in the Ubuntu software center. A confirmation message will appear, here click on the Uninstall button to proceed:

      To uninstall go to the software > Sublime Text and click on uninstall button

      2. Through Snap command (CLI)

      You can remove Sublime Text from your Ubuntu by executing the following snap command:

      $ sudo snap remove sublime-text

      Finally, you’ve learned how to install and uninstall Sublime Text from Ubuntu.

      Conclusion

      All in all, Sublime Text is a liked code editor, famous for its efficiency and plenty of plugins. In this tutorial, we discussed its usage, features, and methods to install it on Ubuntu. We hope this article was helpful and achieved its expected purpose.

      Latest Post

      Contents
        Add a header to begin generating the table of contents
        Install Sublime Text in Ubuntu
        Latest Post
        Do You Enjoy My Blog

        Supports from reader you like keeps this blog running. By a cup of coffee for me , its a affordable way to show your appreciation

        Previous Post
        ABOUT THE AUTHOR
        Malaikah Chaudhry

        I'm Malaikah, a Digital Forensics and Cyber Security student and CEH certified, with a passion for writing about Linux and the tech world.

        Scroll to Top