Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Installing Sublime Text 2 in linux without root access

##first, grab our tarball for 32bit
wget http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2.tar.bz2
for 64bit
wget http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2%20x64.tar.bz2

##create your personal apps folder mkdir ~/apps ##extract sublime text into your apps folder tar -xvzf Sublime*.tar.bz2 -C ~/apps/ ##create ~/bin mkdir ~/bin ##put a link into ~/bin ln -s ~/apps/Sublime\ Text\sublime_text ~/bin/sublime

##create a menu shortcut sublime ~/.local/share/applications/sublime-text-2.desktop paste the file in, and save. If the shortcut doesn't show up in your menu, log out, and log in again.

[Desktop Entry]
Name=Sublime Text 2
Comment=Edit text files
Exec=~/bin/sublime %U
Icon=~/apps/Sublime\ Text\ 2/Icon/128x128/sublime_text.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Utility;TextEditor;
MimeType=text/plain;
@yackSpillsaps

This comment has been minimized.

Copy link

yackSpillsaps commented Jul 10, 2015

For untarring a tar.bz2 I think you need to use "j" and not "z" so the entire line would be
tar -xvjf Sublime*.tar.bz2 -C ~/apps/

@Aelshafei

This comment has been minimized.

Copy link

Aelshafei commented May 30, 2016

./sublime_text: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.11' not found (required by ./sublime_text) ./sublime_text: /usr/lib64/libstdc++.so.6: versionGLIBCXX_3.4.9' not found (required by ./sublime_text)
./sublime_text: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by ./sublime_text)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.