Install sublime text 2 in Ubuntu

Source: Internet
Author: User


1. Download sublime text 2: http://www.sublimetext.com/2 on the official website. My Ubuntu is 64-bit 12.10, And I select 64-bit Linux.



2.download the tar.bz2 compressed file and decompress it. (Download file: sublime text 2.0.1 x64.tar.bz2)



 


 



Sudo tar xf sublime \ Text \ 2.0.1 \ x64.tar.bz2


3. Move the extracted file to the/opt/folder.



 



 


 



Sudo MV sublime \ Text \ 2/opt/


4. Add the sublime command to the terminal to start sublime text 2



 



 


 



Sudo ln-S/opt/sublime \ Text \ 2/sublime_text/usr/binsublime


5. Add to the desktop dock startup bar



 



 


 



Sudo sublime/usr/share/applications/sublime. Desktop


Add the following content:



 



 


[Desktop Entry]
Version=1.0
Name=Sublime Text 2

GenericName=Text Editor

Exec=sublime
Terminal=false
Icon=/usr/lib/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





 



ReferenceArticle: Http://www.technoreply.com/how-to-install-sublime-text-2-on-ubuntu-12-04-unity/






 


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.