Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»General Articles»How To Install Sublime on Ubuntu 22.04

    How To Install Sublime on Ubuntu 22.04

    By RahulFebruary 2, 20232 Mins Read

    Sublime is a powerful and widely used text and application source code editor. It supports the syntax of most popular programming languages. Sublime also provides a large number of third-party extensions that provides more features to developers.

    Advertisement

    You may also like => Installing Visual Studio Code on Ubuntu 20.04

    Sublime 4 is the latest available version for the developers. In this tutorial, you will learn to install Sublime text 4 on the Ubuntu 22.04 systems.

    Installing Sublime Text on Ubuntu

    The sublime team provides an official Apt repository for the Debian-based systems. Follow the below steps to complete Sublime installation on Ubuntu systems.

    1. First of all, install a few required packages before proceeding next steps.
      sudo apt update 
      sudo apt install gnupg2 wget ca-certificates lsb-release software-properties-common 
      
    2. Now, import the GPG key to the systems trusted GPG directory.
      wget -nc https://download.sublimetext.com/sublimehq-pub.gpg
      cat sublimehq-pub.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/sublimehq-pub.gpg >/dev/null
      
    3. Next, add the Sublime text Apt PPA to your Ubuntu system by executing the following command:
      sudo add-apt-repository "deb https://download.sublimetext.com/ apt/stable/" 
      
    4. Your system is prepared for the Sublime installation from the official PPA. Now use the following commands to install Sublime text’s latest version on your Ubuntu system.
      sudo apt update 
      sudo apt install sublime-text 
      

    The above steps will complete the Sublime Text 4 installation on a Ubuntu system. The Sublime Text editor is ready to use.

    Using Sublime Text Editor

    Login to the Ubuntu Dekstop system and click on all applications. You will see a search input box, type “sublime” in the input box and you will see the sublime icon there like below.

    Installing Sublime on Ubuntu 22.04
    Starting Sublime Text 4

    Click the Sublime icon to launch the application.

    Installing Sublime Text 4 on Ubuntu
    Running Sublime Text 4 on Ubuntu

    Let’s start working to build awesome applications using Sublime features.

    Upgrade Sublime Text Editor

    To update the Sublime text editor, simply run the same command as the installation.

    sudo apt update  && sudo apt install sublime-text 
    

    Uninstall (Remove) Sublime Text Editor

    If the Sublime text editor is no more usable, You can simply uninstall it from your system with the following command:

    sudo apt remove --purge sublime-text 
    

    You should also remove the PPA file under /etc/apt/sources.list.d/ directory.

    Conclusion

    This tutorial helped you to install the Sublime Text 4 editor on a Ubuntu 22.04 Linux system.

    sublime text editor
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    A Comprehensive Look at the Simple Mail Transfer Protocol (SMTP)

    Setting Up Permissions in Home Directory on Linux

    Configuring Apache Userdir on Ubuntu and Debian: A Simplified Guide

    Add A Comment

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • A Comprehensive Look at the Simple Mail Transfer Protocol (SMTP)
    • Understanding Basic Git Workflow: Add, Commit, Push
    • The Difference Between Git Reset –soft, –mixed, and –hard
    • Understanding the Staging Area in Git’s Workflow
    • Python Function with Parameters, Return and Data Types
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.