If you're not a fan of the terminal, you might find it inconvenient to use command-line text editors like Vi or Vim. When it comes to graphical text editing tools, Sublime Text is one of the most widely used cross-platform proprietary text and source code editors, offering native support for various programming and markup languages.
The latest version, Sublime Text 4, includes key features such as GPU rendering for smoother UI performance, tab multi-select functionality, ARM64 Linux compatibility, and an improved auto-complete engine that provides smarter suggestions.
In this guide, I will walk you through the process of installing Sublime Text 4 on a Linux-based system using several different methods:
Table of Contents
### Install Sublime Text 4 in Linux via DEB/RPM FileLet’s start with the official and most common method for installing Sublime Text on Linux. For Debian-based systems like Ubuntu or Linux Mint, a DEB installer is available, while Red Hat-based distributions such as Fedora, CentOS Stream, Rocky, and AlmaLinux can use the RPM package.
You can download the appropriate installer from the official Sublime Text downloads page.
Once downloaded, navigate to the directory where the file was saved, right-click on it, and select “Open with other application” to launch the default software installer.
Alternatively, you can install via the terminal using DPKG (for Debian-based systems) or RPM (for Red Hat-based systems):
<code>$ sudo dpkg -i sublime-text_build_*.deb [Debian-based: Ubuntu, Mint] $ sudo rpm -i sublime-text_build_*.rpm [Red Hat-based: Fedora, Rocky Linux]</code>
Install Sublime Text 4 in Linux via Tarball
Besides DEB and RPM packages, the Sublime Text website also offers a tarball version. This allows users to extract and run Sublime Text without needing to install it system-wide.
After downloading the .tar.xz
archive, extract it and launch Sublime Text by running these commands:
<code>$ tar xf sublime_text_build_4143_x64.tar.xz $ cd sublime_text $ ./sublime_text</code>
Running the above commands will start the Sublime Text 4 interface on your Linux desktop.
Install Sublime Text 4 In Linux Using Repository
Instead of manually downloading a package, you can add the official Sublime Text repository and install updates through your system's package manager.
Install Sublime Text 4 in Debian Distros
For Debian-based systems, run the following commands:
<code>$ wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/sublimehq-archive.gpg > /dev/null $ echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list $ sudo apt update $ sudo apt install apt-transport-https $ sudo apt install sublime-text</code>
Install Sublime Text 4 in RHEL Ditros
For RHEL-based systems like Fedora, CentOS, Rocky, or AlmaLinux:
<code>$ sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg $ sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo $ sudo dnf install sublime-text</code>
Install Sublime Text 4 in Linux Using Snap
Snap is a universal package format supported across many Linux distributions including Ubuntu, Linux Mint, Debian, and Fedora. It’s often pre-installed on systems like Ubuntu, Manjaro, KDE Neon, and Zorin OS.
To install Sublime Text 4 via Snap, simply run:
<code>$ sudo snap install sublime-text --classic</code>
If Snap isn't installed yet, refer to the official documentation to set it up before proceeding.
Install Sublime Text 4 in Linux Using Flatpak
Like Snap, Flatpak is another universal package system available on most Linux distributions. However, at the time of writing, Sublime Text 4 is not available on Flathub.
There is, however, a Flatpak package for Sublime Text 3, which can be installed using:
<code>$ flatpak install flathub com.sublimetext.three</code>
How To Use Sublime Text 4 on Linux
One of the standout features of Sublime Text is its extensibility through plugins. Instead of manually installing extensions, Package Control serves as a built-in package manager that makes discovering, installing, and updating plugins easy.
Start by installing Package Control. Go to the Tools menu and click Install Package Control.
Next, open the Command Palette using the shortcut CTRL SHIFT P
or by navigating to Tools → Command Palette.
Type “package control” into the search bar to see available options.
Select Install Package, then browse or search for the plugin you want—like the “Git” integration tool—and install it directly from the list.
After installation, go to Preferences → Package Settings to access configuration options for all installed packages.

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Are you looking for good software to write mathematical equations? If so, this article provides the top 5 equation editors that you can easily install on your favorite Linux distribution.In addition to being compatible with different types of mathema

Linux administrators should be familiar with the command-line environment. Since GUI (Graphical User Interface) mode in Linux servers is not commonly installed.SSH may be the most popular protocol to enable Linux administrators to manage the servers

Gogo is a remarkable tool to bookmark directories inside your Linux shell. It helps you create shortcuts for long and complex paths in Linux. This way, you no longer need to type or memorize lengthy paths on Linux.For example, if there's a directory

PPA is an important tool for Ubuntu users to expand their software sources. 1. When searching for PPA, you should visit Launchpad.net, confirm the official PPA in the project official website or document, and read the description and user comments to ensure its security and maintenance status; 2. Add PPA to use the terminal command sudoadd-apt-repositoryppa:/, and then run sudoaptupdate to update the package list; 3. Manage PPAs to view the added list through the grep command, use the --remove parameter to remove or manually delete the .list file to avoid problems caused by incompatibility or stopping updates; 4. Use PPA to weigh the necessity and prioritize the situations that the official does not provide or require a new version of the software.

LXD is described as the next-generation container and virtual machine manager that offers an immersive for Linux systems running inside containers or as virtual machines. It provides images for an inordinate number of Linux distributions with support

How to quickly generate test files of a specified size? It can be achieved using command line tools or graphical software. On Windows, you can use fsutilfilecreatenew file name size to generate a file with a specified byte; macOS/Linux can use ddif=/dev/zeroof=filebs=1Mcount=100 to generate real data files, or use truncate-s100M files to quickly create sparse files. If you are not familiar with the command line, you can choose FSUtilGUI, DummyFileGenerator and other tool software. Notes include: pay attention to file system limitations (such as FAT32 file size upper limit), avoid overwriting existing files, and some programs may

The key to installing dual systems in Linux and Windows is partitioning and boot settings. 1. Preparation includes backing up data and compressing existing partitions to make space; 2. Use Ventoy or Rufus to make Linux boot USB disk, recommend Ubuntu; 3. Select "Coexist with other systems" or manually partition during installation (/at least 20GB, /home remaining space, swap optional); 4. Check the installation of third-party drivers to avoid hardware problems; 5. If you do not enter the Grub boot menu after installation, you can use boot-repair to repair the boot or adjust the BIOS startup sequence. As long as the steps are clear and the operation is done properly, the whole process is not complicated.

Node Version Manager (NVM) is a simple bash script that helps manage multiple Node.js versions on your Linux system. It enables you to install various Node.js versions, view available versions for installation, and check already installed versions.NV
