Last active
November 30, 2018 01:06
-
-
Save edmondchuc/84975ca9030c176823262cf0bf5e3b4f to your computer and use it in GitHub Desktop.
Sublime3 install script for Ubuntu 16.04 and newer.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Reference: http://tipsonubuntu.com/2017/05/30/install-sublime-text-3-ubuntu-16-04-official-way/ | |
# Get the repository and add it to sources | |
sudo echo Installing Sublime3 ... | |
printf 'Fetching package ... ' | |
echo Done | |
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - | |
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list | |
sudo apt update | |
sudo apt install sublime-text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment