Open terminal
sudo add-apt-repository ppa:webupd8team/sublime-text-2 sudo apt-get update sudo apt-get install sublime-text
| /* | |
| * Game Manager | |
| * This is how we will save our persistent data such as: | |
| * Logged in save data from a json file and assigning variables which we access in game | |
| * With this Singleton we can store data we need for later use | |
| * Example on how to use: GameManager.Instance.[Variable Name / Method Name] | |
| * Methods and Variables must be public | |
| * Note: A new singleton should be created per platform for achievements string literals and specific achievement methods | |
| * | |
| */ |
| # Download Sublime Text 2 from http://www.sublimetext.com/2 | |
| # If you aren't root, sudo su | |
| tar -xvjf Sublime\ Text\ 2*.tar.bz2 | |
| mv Sublime\ Text\ 2/ /opt/sublime-text-2/ | |
| ln -s /opt/sublime-text-2 /usr/local/sublime-text-2 | |
| ln -s /usr/local/sublime-text-2/sublime_text /usr/local/bin/sublime_text | |
| rm Sublime\ Text\ 2*.tar.bz2 | |
| # Sublime Text 2 can now be run as normal user with command "sublime_text" |