Linux issue-centos installation Sublime Text 3

Source: Internet
Author: User
Tags sublime text

CentOS is mostly used as a server, but for various reasons I am now using CentOS to do the development machine, so of course to install the development of magical sublime textle.

Note: The installation directory varies from person to person, and my installation directory is/opt/sublime_text_3.

First, the establishment of software installation directory (I generally install the software in the OPT directory)
# mkdir/opt# Cd/opt
Second, download the software

Http://www.sublimetext.com/3
Note Be sure to lower the ubuntu/tarball bag.
can also be downloaded by command

wget http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3083_x64.tar.bz2

If the link address is invalid, please go to the official website to get the latest.

Third, unpack the package
Tar jxvf sublime_text_3_build_3059_x64.tar.bz2
Four, direct operation under the command line
# Cd/opt/sublime_text_3# /sublime_text
V. Create a desktop shortcut

Copying files

# Cp/opt/sublime_text_3/sublime_text.desktop/usr/share/applications

Change the configuration file

#Vim/usr/share/applications/sublime_text.desktopmy configuration is as follows [Desktop entry]version=1.0Type=ApplicationName=Sublime Textgenericname=Text editorcomment=sophisticated Text Editor forcode, markup and proseExec =/opt/sublime_text_3/sublime_text% FTerminal=falseMimeType=text/Plain; Icon =/opt/sublime_text_3/icon/48x48/sublime- text.pngCategories=texteditor;development; Startupnotify=trueActions=window;document; [Desktop Action Window] Name=New WindowExec =/opt/sublime_text_3/sublime_text- nonlyshowin=Unity; [Desktop Action Document] Name=New FileExec =/opt/sublime_text/sublime_text_3-- command new_fileonlyshowin=unity;
Six, open the software

Applications > Programming > Sublime Text "Right-click" Add this launcher to the desktop (or in software search, type Sublime to appear, then right-click to add to Favorites)

Note : The location of the profile marked red corresponds to the Software installation directory, which needs to be changed to your own installation directory.

Linux issue-centos installation Sublime Text 3

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.