
Then, add the repository by running: echo -e "\n\nServer = " | sudo tee -a /etc/nf 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.
