


Snap is a universal package manager that can be used on all major Linux distributions, including Ubuntu, Linux Mint, Debian, and Fedora. Install Sublime Text 4 in Linux Using Snap Install Sublime Text 4 in RHEL Ditros $ sudo rpm -v -import $ sudo apt-get install apt-transport-https $ echo "deb apt/stable/" | sudo tee /etc/apt//sublime-text.list Install Sublime Text 4 in Debian Distros $ wget -qO - | gpg -dearmor | sudo tee /etc/apt//sublimehq-archive.gpg > /dev/null Instead of downloading the official DEB/RPM package or tar file, you can also use the respective package manager like APT for Debian-based and DNF for RHEL-based distros to install the Sublime Text 4 editor. Install Sublime Text 4 In Linux Using Repository So, we can also use the bundled tar file to run Sublime text on Linux.ĭownload the tar file, decompress it manually and run it by running the commands in the terminal: $ tar xf sublime_text_build_4143_圆4.tar.xzĪs you can see, the command will launch the Sublime Text 4 application in Linux. On the same download page, apart from DEB/RPM, you might have also noticed the tar file also available. Install Sublime Text 4 in Linux via Tarball Install Sublime Text DEB FileĪlternatively, you can also use command line tools like DPKG for DEB and RPM for RPM installer files by executing the below commands: $ sudo dpkg -i. Now, go to the directory where you downloaded the file, right-click on the file, and choose the “ Open with other application” option, which will prompt a dialog to open DEB/RPM file with the respective default Software Installer.
