Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save abdulhalim-cu/1594169f36d2c0364c47862b31fbde97 to your computer and use it in GitHub Desktop.
Save abdulhalim-cu/1594169f36d2c0364c47862b31fbde97 to your computer and use it in GitHub Desktop.
Install Sublime Text 3 in Ubuntu 16.04 & Higher The Official Way
1. Open terminal via Ctrl+Alt+T & run command to install the Key:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
2. Then add the apt repository via command:
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
3. Finally check updates and install sublime-text by running commands on terminal
sudo apt update && sudo apt install -y sublime-text
Uninstall Sublime Text:
To uninstall run the command via terminal:
sudo apt remove sublime-text && sudo apt autoremove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment