How to install Sublime Text 2 on Ubuntu 12.04 (Unity)

Sublime Text 2 er en sofistikeret teksteditor for kode, Hypertext og prosa. Du vil elske den smarte brugergrænseflade, ekstraordinære funktioner og fantastiske præstationer.

Sublime Text 2 hjemmeside findes her http://www.sublimetext.com/, under Download fanen findes link til forskellige OS til Ubuntu bruges linken:
Sublime Text 2 version 2.0.2 32bit :
  http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2.tar.bz2

Sublime Text 2 version 2.0.2 64bit :
 
http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2%20x64.tar.bz2

Technoreply har en vejledening for installation til Ubuntu 12.04 her http://www.technoreply.com/how-to-install-sublime-text-2-on-ubuntu-12-04-unity/

Her har jeg lavet en kort version af Technoreply side:

64 Bit version :

wget http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2%20x64.tar.bz2

tar xf Sublime\ Text\ 2.0.1\ x64.tar.bz2

sudo mv Sublime\ Text\ 2 /opt/

sudo ln -s /opt/Sublime\ Text\ 2/sublime_text /usr/bin/sublime

sudo sublime /usr/share/applications/sublime.desktop

And paste the following content:

-----

[Desktop Entry]
Version=1.0
Name=Sublime Text 2
# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
GenericName=Text Editor
 
Exec=sublime
Terminal=false
Icon=/opt/Sublime Text 2/Icon/48x48/sublime_text.png
Type=Application
Categories=TextEditor;IDE;Development
X-Ayatana-Desktop-Shortcuts=NewWindow
 
[NewWindow Shortcut Group]
Name=New Window
Exec=sublime -n
TargetEnvironment=Unity

-----

sudo sublime /usr/share/applications/defaults.list

And replace all occurrences of gedit.desktop with sublime.desktop.

-----

tuts+ har et gratis video kursus i brugen af Sublime Text 2
Perfect Workflow in Sublime Text 2  findes her https://tutsplus.com/course/improve-workflow-in-sublime-text-2/