Install SublimeText2 in Ubuntu

Source: Internet
Author: User
SublimeText2 is a shared software that charges fees but can be used permanently for free. The price is 59 USD. I believe developers will not understand the Chinese people, nor face the Chinese market ,. To put it bluntly, ST2 has powerful editing functions and is well received. It is available in Windows, Linux, and Mac systems. The Installation Process for Linux is as follows: 1. Download the installation package from the official website: http://www.sublimetext.com/2st2is version 2.0.1at present.

Sublime Text 2 is a shared software that charges fees but can be used permanently for free. The price is 59 USD. I believe developers will not understand the Chinese people, nor face the Chinese market ,. To put it bluntly, ST2 has powerful editing functions and is well received. It is available in Windows, Linux, and Mac systems.

The Installation Process in Linux is as follows:

1. Download the installation package from the official website

Official website address: http://www.sublimetext.com/2

ST2 is currently 2.0.1. Because the software source does not exist by default, apt-get install cannot be downloaded. The official network is also a direct download package. The linuxfile is .bz2. The file is not big, only 5 MB more.

2. decompress and place

It is not difficult to decompress the package. You just need to find a directory to decompress the package, but we recommend that you decompress the package to the/usr/lib/directory to make it easy to start quickly in the command line, the method I used is to uncompress and then move it. The command is as follows:

Tar-xvf Sublime \ Text \ 2.0.1.tar.bz2

Mv Sublime \ Text \ 2/usr/lib/

The "\" is an escape character.

This is because the $ PATH environment variable automatically covers the/usr/lib directory and does not need to modify the environment variable.

Then type:

Ln-s/usr/lib/Sublime \ Text \ 2/sublime_text/usr/bin/subl

This line of command creates a subl Link under the/usr/bin/directory, so that you can easily start the editor using the command line. Here, the subl name is customized, Which is simpler and easier to define.

The installation has ended. You can use ST2 to open a file.

3. Side bar LaunchBar settings

Because it is not installed, some basic configurations for running Ubuntu Desktop are missing. For example, you cannot add it to the initiator on the desktop side. This is not the same as the program installed through the software installation center. To do this, you need to add a configuration file in the/usr/share/appliations/path. For example, add sublime. desktop. The file content is as follows:

Save the settings and grant the executable attributes.

4. FAQ

If you want to install it through apt-get install, 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

In terms of Chinese characters, ST was not very well supported in the past. Now I can verify it to show that the input is still a bit problematic.

Plug-ins are installed with package control and graphical interfaces, which are very convenient. zencoding and other famous things must be installed.

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

Sublime Text 2 is a lightweight editor, but its functions far exceed my expectation. What I'm satisfied with is that the speed is fast, and the search and jump operations are quite fast, in addition, there are multiple selection functions, which are quite practical. In short, this editor can be used as a good choice.

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.