Ubuntu 14.04 Installation Sublime Text 2

Source: Internet
Author: User
Tags sublime text



1. Download the installation package on the website
Website address: HTTP://WWW.SUBLIMETEXT.COM/2



2. Unzip the placement
Unzip to the/usr/lib/directory:
TAR-XVF sublime\ text\ 2.0.1.tar.bz2
MV Sublime\ text\ 2/usr/lib/
where \ is the escape character



Since the $PATH environment variable automatically covers the/usr/lib directory, it is not necessary to modify the environment variables.



Create a link in the/usr/bin/directory named Sublime, which allows you to launch the editor from the command line:



Ln-s/usr/lib/sublime\ text\ 2/sublime_text/usr/bin/sublime



3. Side Bar Setting



Add the Sublime.desktop configuration file and put it in the/usr/share/appliations/path under the file contents as follows:


[Desktop Entry]
Type = Application
Version = 1.0
#The name displayed under the corresponding icon
Name = Sublime Text 2
# Corresponding execution command
Exec = / usr / bin / sublime
#Corresponding application icon
Icon = / usr / lib / Sublime Text 2 / Icon / 48x48 / sublime_text.png 


After saving, give the executable property.










Ubuntu 14.04 Installation Sublime Text 2


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.