I installed Sublime Text 2 on 12.04 as per this tutorial.
However I don't have adequate permissions when launching the program from the Unity launcher. For example I cannot install packages, or if I add a folder to the sidebar when I close Sublime and reopen, the folder is no longer listed. If I run sudo sublime
in the terminal all changes remain after closing.
I've tried chown-ing the Sublime Text 2 folder in usr/lib
sudo chown -R mylogin:mylogin /usr/lib/"Sublime Text 2"
but this seemed to have no effect.
Best Answer
Install via the Package Manager(apt-get):
Simply add to your packages:
For Sublime-Text-2:
For Sublime-Text-3:
Run Sublime-Text on terminal
Install Manually via Terminal:
Download from the Sublime Site:
32-bit:
64-bit:
For Both:
Source: http://www.tecmint.com/install-sublime-text-editor-in-linux/
Install Manually via Script:
Check out this nice script on Github("Install Sublime Text on Fedora.") that you can run, just make sure to edit the "*.tar.bz2" in the script to download the latest version of Sublime Text!
Source: https://gist.github.com/henriquemoody/3288681
This helped me and I hope it helps everyone else as well!