Last active
March 17, 2017 20:17
-
-
Save jansanchez/6202643 to your computer and use it in GitHub Desktop.
Install Sublime Text into Linux CrunchBang 11 [Waldorf] and your Main Development Packages
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
# First, download the latest version from: http://www.sublimetext.com/2 | |
# In my case choice: Linux 64 bits [[http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2%20x64.tar.bz2]] | |
cd ~/downloads | |
# unzip: Sublime Text 2.0.2 x64.tar.bz2 | |
tar -zxvf Sublime\ Text\ 2.0.2\ x64.tar.bz2 | |
# move the folder | |
sudo mv Sublime\ Text\ 2 /opt/ | |
# we’ll create a symbolic link in “/usr/bin”: | |
sudo ln -s /opt/Sublime\ Text\ 2/sublime_text /usr/bin/sublime | |
# Now that our files are at the right place, we need to create a launcher in Unity. | |
# To do this, we’re going to create a .desktop file in “/usr/share/applications”: | |
sudo sublime /usr/share/applications/sublime.desktop | |
# add the next code: | |
[Desktop Entry] | |
Version=2.0.2 | |
Name=Sublime Text 2 | |
GenericName=Text Editor | |
Exec=sublime | |
Terminal=false | |
Icon=/opt/Sublime Text 2/Icon/48x48/sublime_text.png | |
Type=Application | |
Categories=TextEditor;IDE;Development | |
X-Ayatana-Desktop-Shortcuts=NewWindow | |
[NewWindow Shortcut Group] | |
Name=New Window | |
Exec=sublime -n | |
TargetEnvironment=Unity | |
# Now, writing in the terminal "sublime" can run | |
# With this, we have completed the installation of ST2 | |
sublime | |
# Install the Main Development Packages | |
# Now, we move to: https://sublime.wbond.net/ for install the Sublime Text package manager | |
# At this point i, prefer the manual installation: https://sublime.wbond.net/installation#Manual | |
# Download Package Control.sublime-package and copy it into the Installed Packages/ directory | |
cd ~/downloads | |
sudo mv Package\ Control.sublime-package ~/.config/sublime-text-2/Installed\ Packages/ | |
# Restart Sublime, open sublime | |
sublime | |
# control + shift + p and write: | |
install package | |
# Press enter key and find a list of sublime packages | |
# Which you can install only selecting the package and press enter key | |
# the list of sublime package is: https://sublime.wbond.net/browse | |
# I recommend installing the following packages: | |
jade | |
stylus | |
coffeeScript | |
# Sublime builds | |
https://github.com/jansanchez/resources/tree/master/sublime/ | |
# @jansanchez | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment