Last active
August 29, 2015 14:05
-
-
Save nbluis/88b30865bbbe50cf91a0 to your computer and use it in GitHub Desktop.
Installing Sublime Text 3 (3083) on Fedora 20 using shell script
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
| #!/bin/sh | |
| # Inspired by this gist https://gist.github.com/simonewebdesign/8507139 changing link from subl to sub and downloading the latest ST version. | |
| # Sublime Text 3 (3065) install with Package Control | |
| # Run this script with: | |
| # $ curl <link> | sh | |
| curl -o ~/st3.tar.bz2 http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3083_x64.tar.bz2 | |
| if tar -xf ~/st3.tar.bz2 --directory=$HOME; then | |
| sudo mv /opt/sublime_text_3/ /tmp | |
| sudo mv ~/sublime_text_3/ /opt/ | |
| sudo ln -s /opt/sublime_text_3/sublime_text /bin/sub | |
| fi | |
| rm ~/st3.tar.bz2 | |
| # Package Control - The Sublime Text Package Manager: https://sublime.wbond.net | |
| curl -o ~/Package\ Control.sublime-package https://sublime.wbond.net/Package%20Control.sublime-package | |
| sudo mv ~/Package\ Control.sublime-package /opt/sublime_text_3/Packages/ | |
| echo "Sublime Text 3 installed successfully!" | |
| echo "Run with: sub" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment