What & How & Why

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
linux:software:sublimetext [2016/06/02 05:41] haregylinux:software:sublimetext [2020/02/24 10:20] (当前版本) – 移除 codinghare
行 1: 行 1:
-==== Install Sublime Text 3 to CentOS==== 
  
-  
- 
-The install method is using source tarball on CentOS 7. 
- 
-=== Download & unpack === 
-The latest stable version can be downloaded from Sublime Text website or you can use the following “wget” command to download the tar-file that suits you better and extract it as shown below. 
-\\ 
-<code> 
-# wget http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3083_x64.tar.bz2 
-# tar -vxjf sublime_text_3_build_3083_x64.tar.bz2 
-</code> 
-\\ 
-=== Change directory === 
-Once unpacked, you will get a directory called “Sublime_Text_3″. I moved them to the /opt directory. 
-\\ 
-<code># sudo mv Sublime_Text_3 /opt/</code> 
-\\ 
-=== Create a symbolic link === 
-Next create a symbolic link to call “Sublime Text” from the command line as “sublime”. To do, create a symbolic link under “/usr/bin” as shown below. 
-\\ 
-<code># sudo ln -s /opt/Sublime_Text_3/sublime_text /usr/bin/sublime</code> 
-\\ 
-=== Create Unity Lancher === 
- 
-If you are using Unity and want to add “Sublime Text” to the Unity launcher. Create a “sublime.desktop” file under “/usr/share/applications”. 
-\\ 
-<code>sudo sublime /usr/share/applications/sublime.desktop</code> 
-\\ 
-Then Copy and Paste the following content into it. Save and close. 
-\\ 
-<code>[Desktop Entry] 
-Version=2.0.1 
-Name=Sublime Text 2 
-# Only KDE 4 seems to use GenericName, so we reuse the KDE strings. 
-# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413. 
-GenericName=Text Editor 
- 
-Exec=sublime 
-Terminal=false 
-Icon=/opt/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</code> 
-\\ 
-Then you can find your desktop icon at Applications->Programming. 
-\\ 
-\\ 
-{{ :linux:software:menu_002.png?nolink |}} 
-~~DUOSHUO~~