Last active
August 29, 2015 14:14
-
-
Save DmitryMyadzelets/4830cef733e6513427a9 to your computer and use it in GitHub Desktop.
This file contains 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
# Installing Sublime Text 2 | |
# Based on [https://gist.github.com/jansanchez/6202643] | |
# Download the latest version from: http://www.sublimetext.com/2 | |
cd ~/downloads | |
# wget http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2.tar.bz2 | |
# Unpack it | |
tar -xvf Sublime\ Text\ 2.0.2.tar.bz2 | |
# Move the folder to "/opt" | |
sudo mv Sublime\ Text\ 2 /opt/ | |
# Create a symbolic link in "/usr/bin": | |
sudo ln -s /opt/Sublime\ Text\ 2/sublime_text /usr/bin/sublime | |
# Now, to run Sublime in Crunchbang press Alt+F2 or Alt+F3 and type "sublime" | |
# Install Package Control (automatic mode) | |
# Go to [https://packagecontrol.io/installation#st2] and execute that script in the Sublime | |
# Install Node.js | |
wget http://nodejs.org/dist/node-latest.tar.gz | |
tar xzvf node-latest.tar.gz && cd `ls -rd node-v*` | |
./configure | |
make | |
make install | |
cd .. | |
rm `ls -rd node-v*` -r | |
# I found it weird but "nmp" can't be found until you reopen the terminal | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment