Skip to content

Instantly share code, notes, and snippets.

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

##first, grab our tarball for 32bit
for 64bit

##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

This comment has been minimized.

Copy link

@yackSpillsaps 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/


This comment has been minimized.

Copy link

@Aelshafei Aelshafei commented May 30, 2016

./sublime_text: /usr/lib64/ version GLIBCXX_3.4.11' not found (required by ./sublime_text) ./sublime_text: /usr/lib64/ versionGLIBCXX_3.4.9' not found (required by ./sublime_text)
./sublime_text: /lib64/ 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