Installation of Sublime Text 2 under Linux--ubuntu

Source: Internet
Author: User
Tags sublime text

Sublime Text 2 is a shareware, charge but can be a permanent free trial of the editor, the price is 59 U.S. knives, I believe that developers do not understand the Chinese people, also do not face the Chinese market. To get to the bottom, ST2 Editor is powerful, high praise like Tide, in the WINDOWS/LINUX/MAC system has corresponding version.

The installation process under Linux is as follows:

1. Download the installation package on the website

Website address: HTTP://WWW.SUBLIMETEXT.COM/2

ST2 is currently 2.0.1 version, because the software source does not exist by default, so Apt-get install is not available to download. The official website is also available as a direct download package, and Linux is a. bz2 file. File is small, only 5M a little more.

2. Unzip the placement

Decompression is not difficult, just find a directory decompression on the line, but considering the following to be able to be in the command line convenient quick Start, recommended decompression to the/usr/lib/directory, I use the method is first decompression after removal, command as follows:

TAR-XVF sublime\ text\ 2.0.1.tar.bz2

MV Sublime\ text\ 2/usr/lib/

where \ is the escape character

This is done because the $PATH environment variable automatically covers the/usr/lib directory and does not specifically modify the environment variables.

Then type:

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

This line of command is to create a link in the/usr/bin/directory named Subl, so that it is easier to start the editor with the command line later. Where the name SUBL is defined by itself, the user can define it more easily and conveniently.

This should be the end of the installation, you can use ST2 to open a file to try.

3. Side bar Launchbar Settings

Because it is not installed, some basic configuration of Ubuntu desktop running is missing, such as the launcher that cannot be added to the desktop side, which is not the same as the program installed through the Software Installation center. To do this, you need to add a configuration file, placed under the/usr/share/appliations/path, such as add Sublime.desktop, the file content is as follows:

After saving, give the executable property.

4. FAQs

If you are sure you want to install through the Apt-get installation, you can do the following:

sudo add-apt-repository ppa:webupd8team/sublime-text-2

sudo apt-get update

sudo apt-get install sublime-text-2

Chinese characters, the previous St support is not very good, now I can verify that the input is still a bit of a problem.

Plug-in installation has the package control, graphical interface, operation is very convenient, zencoding and other famous things must be installed.

Cracking the feeling is not necessary, because the pop-up window is not troublesome, the frequency is very low.

Sublime Text 2 is a lightweight editor, but the function is far more than I expected, let me very satisfied with the point is fast, search, jump, etc. are quite fast, there are multiple selected features, this is also very practical, in short this editor can try, is a good choice.

Installation of Sublime Text 2 under Linux--ubuntu

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.