Close Menu
Technoracle
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram
    TechnoracleTechnoracle
    • Home
    • AWS
      • EC2
      • Lightsail
      • RDS
      • S3
    • Ubuntu
      • Ubuntu 20.04
      • Ubuntu 22.04
    • AI Tools
    • Web Hosting
    • WordPress
    • Tech News
    Technoracle
    Home - Ubuntu - Install Sublime Text on Ubuntu 22.04 Latest Version Quickly
    Ubuntu

    Install Sublime Text on Ubuntu 22.04 Latest Version Quickly

    Rahul JainBy Rahul JainMarch 31, 2023Updated:June 11, 2023No Comments4 Mins Read
    Install Sublime Text on Ubuntu 22.04

    The Sublime Text editor is the first preferred text editor for any programmer till 2022 and will continue its legacy. It has many features that attract many programmers such as “Go to anything”, “Quick navigation to files”, “Multiple lines select”, “ Jump to Cursor” and many more features. In this article, you will learn how to install Sublime Text on Ubuntu 22.04

    Page Contents

    Toggle
    • How to install Sublime Text on Ubuntu 22
      • Install Sublime Text Editor from Ubuntu Software Center via Snap Package Manager
      • Install Sublime Text on Ubuntu 22.04 using Command Line
      • Sublime Text Editor Install using Flatpak Packages
    • Uninstall Sublime Text from Ubuntu 22.04
    • Conclusion

    How to install Sublime Text on Ubuntu 22

    Sublime can be installed in multiple ways, depending upon user flexibility, some prefer Ubuntu Software Center(GUI Method), and some prefer CLI Method. We will discuss both methods here. Let’s start with GUI(Graphical User Interface) method.

    Install Sublime Text Editor from Ubuntu Software Center via Snap Package Manager

    First, Open Ubuntu Software Center, and search for Sublime text

    Install Sublime Text on Ubuntu 22.04

    Now click on the “Install” button to install sublime text on Ubuntu 22.04.

    install sublime text on Ubuntu 22.04

    When you click on install, it will ask for the system password, which is your computer login password. Insert password and wait for the installation completion.

    install sublime text on Ubuntu 22.04

    When the installation is completed, check sublime text installation by using the ubuntu application launch window by typing “Sublime”. If your installation is done successfully will see the software on the ubuntu application launcher.

    Awesome, the Sublime text installation is done successfully on your Ubuntu 22.04 system.

    Install Sublime Text on Ubuntu 22.04 using Command Line

    If you are comfortable with CLI or Ubuntu terminal, you can install Sublime text on Ubuntu via terminal with a couple of Linux commands. To install Sublime Text using the command line, first, update your Ubuntu package manager by running the below command and followed by the second command to install using single installation command from the snap maintained package manager.

    $ sudo apt update
    $ sudo snap install sublime-text --classic

    When you run the installation command, it will ask for the password. Insert your system password to continue the installation.

    Alternatively, you can install Sublime Text using Ubuntu’s official Apt repository. The official “.deb” packages work in different Linux distributions including “Linux Mint”, “Debian”, and some other Linux distributions.

    To install from Ubuntu’s Apt repository, first, make sure your “HTTPS” source is supported or not, if not supported, run the below command to enable.

    $ sudo apt-get install apt-transport-https

    Now, add the repository key by running the following command.

    $ wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/sublimehq-pub.gpg

    Now, it will download the key from Sublime official website and converted it to an encrypted key, and saved it into a keyring (/usr/share/keyring) directory.

    Install Sublime Text on Ubuntu 22.04

    Now, we need to add the official repository. To do so, run the following command to create a source file via “VI text editor”.

    $ sudo vi /etc/apt/sources.list.d/sublime-text.list

    It will open a file, now add the following line on the file by pressing the “i” key on the keyboard and save it by pressing “ESC + : + wq”.

    $ deb [signed-by=/usr/share/keyrings/sublimehq-pub.gpg] https://download.sublimetext.com/ apt/stable/

    After saving the file, update the repository again and then install Sublime Text by following commands.

    $ sudo apt update
    $ sudo apt install sublime-text

    Sublime Text Editor Install using Flatpak Packages

    The latest version of Sublime Text editor is not available on Flatpak so far. But you can download the old version from Flatpak as of now.

    If Flatpak is already installed on your system then you can install Sublime text on Ubuntu 22.04 directly. If Flatpak is not installed, then you can install Flatpak by following and then following by sublime text installation command.

    sudo apt install flatpak
    flatpak install https://dl.flathub.org/repo/appstream/com.sublimetext.three.flatpakref

    Read More: How to Install Vim on Ubuntu Easily [3 steps]

    Uninstall Sublime Text from Ubuntu 22.04

    You can remove or uninstall Sublime Text from Ubuntu 22.04 by using Ubuntu Software Center or by running commands. To uninstall Sublime Text from Ubuntu, run following command.

    $ sudo snap remove --purge sublime-text

    If you installed Sublime Text using Flatpak package, use the below mentioned command to uninstall the software.

    $ flatpak uninstall --delete-data com.sublimetext.three

    and cleanup useless run-times via

    $ flatpak uninstall --unused

    For the official .deb package, remove it by running the following command:

    $ sudo apt remove --autoremove sublime-text

    Conclusion

    In this tutorial, you have learnt how to install Sublime Text on Ubuntu 22.04. If you have any doubts or any questions, feel free to drop a comment below, I will try to answers.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Reddit
    Previous ArticleHow to Install Microsoft Teams on Ubuntu 22.04 (Easy Steps)
    Next Article How to Install CodeIgniter on Ubuntu 20.04
    Rahul Jain

    Related Posts

    linux commands every user should know in 2025
    Ubuntu 24.04

    25 Must-Know Linux Commands Every User Should Master in 2025

    Read More
    TeamViewer and Ubuntu logos on gradient background – banner for how to install TeamViewer on Ubuntu 24.04 tutorial
    Ubuntu 24.04

    How to Install TeamViewer on Ubuntu 24.04 [Fast & Easy Steps]

    Read More
    Troubleshooting ‘Permission Denied (publickey)’ SSH error on a Linux server using secure terminal access
    Ubuntu

    Fix ‘Permission Denied (publickey)’ SSH Error on Linux [Step-by-Step Guide]

    Read More
    Add A Comment
    Leave A Reply Cancel Reply

    linux commands every user should know in 2025

    25 Must-Know Linux Commands Every User Should Master in 2025

    April 10, 2025
    TeamViewer and Ubuntu logos on gradient background – banner for how to install TeamViewer on Ubuntu 24.04 tutorial

    How to Install TeamViewer on Ubuntu 24.04 [Fast & Easy Steps]

    April 10, 2025
    Troubleshooting ‘Permission Denied (publickey)’ SSH error on a Linux server using secure terminal access

    Fix ‘Permission Denied (publickey)’ SSH Error on Linux [Step-by-Step Guide]

    April 8, 2025
    Blog banner showing Ubuntu logo, coding laptop, and icons for VS Code, Docker, and Git with the title 'Perfect Dev Setup in Ubuntu 24.04 – Step-by-step guide for developers' on a dark tech-themed background.

    How to Set Up the Perfect Development Environment on Ubuntu 24.04

    April 8, 2025

    Subscribe to Blog

    Enter your email address to subscribe to
    this blog and receive notifications of new posts by email.

    Facebook X (Twitter) Instagram Pinterest
    • Sitemap
    • Privacy Policy
    • Disclaimer
    • Term of Services
    © 2025 Technoracle

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

    Click to Copy