Once it's added, update the repository and install Sublime Text with: sudo pacman -Syu Then, add the repository by running: echo -e " You can do this using the following command: curl -O & sudo pacman-key -add sublimehq-pub.gpg & sudo pacman-key -lsign-key 8A8F901A & rm sublimehq-pub.gpg On Arch Linux, you can install Sublime Text using pacman. If you wish to remove Sublime Text from your system, run: sudo apt remove sublime-text Installing Sublime Text on Arch Linux Now, enter the following command to add the GPG key: wget -qO - | sudo apt-key add -Īdd the Sublime Text repository to the system with: echo "deb apt/dev/" | sudo tee /etc/apt//sublime-text.listįinally, update the APT sources and install Sublime Text by entering: sudo apt update Running Ubuntu or its derivatives means you can use the APT package manager to install programs, and that's what we'll use to install Sublime Text too.įor this, first, open the terminal. If you're running Ubuntu, Arch Linux, CentOS, Fedora, or openSUSE, you can follow the instructions in the sections below to install Sublime Text on your machine. Sublime Text is available on most Linux distros via their respective package managers. Install Sublime Text Using a Package Manager To make things easier, here's a guide with step-by-step instructions to install Sublime Text on Linux.
If you, too, are a Sublime Text user and your recent switch to Linux has you missing the editor, or you're just getting started with programming and wish to try out a new code editor, you'll want to get Sublime Text running on your Linux machine. It offers features like command palette, goto anything, auto-completion, snippets, and plugins, among others, and works on all major platforms, including Linux, macOS, and Windows. Sublime Text is a source code editor that supports various markup and programming languages.