日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

Sublime 2 Installation for Linux

系統 2690 0

Linux

You can download the package and uncompress it manually. Alternatively, you can use the command line.

For i386

        
          cd ~

wget http://c758482.r82.cf2.rackcdn.com/Sublime\ Text\ 2.0.1.tar.bz2

tar vxjf Sublime\ Text\ 2.0.1.tar.bz2
        
      

For x64

        
          cd ~

wget http://c758482.r82.cf2.rackcdn.com/Sublime Text 2.0.1 x64.tar.bz2

tar vxjf Sublime\ Text\ 2.0.1\ x64.tar.bz2
        
      

Now we should move the uncompressed files to an appropriate location.

        
          sudo mv Sublime\ Text\ 2 /opt/
        
      

Lastly, we create a symbolic link to use at the command line.

        
          sudo ln -s /opt/Sublime\ Text\ 2/sublime_text /usr/bin/sublime
        
      

In Ubuntu, if you also want to add Sublime Text to the Unity luncher, read on.

First we need to create a new file.

        
          sudo sublime /usr/share/applications/sublime.desktop
        
      

Then copy the following into it.

        [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
      

If you’ve registered your copy of Sublime Text, but every time you open it you’re asked to enter your license, you should try running this command.

        
          sudo chown -R username:username /home/username/.config /sublime-text-2
        
      

Just replace username with your account’s username. This should fix the permission error in the case that you opened up Sublime Text as root when you first entered the license.

Sublime 2 Installation for Linux


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 吉林省| 荆门市| 隆尧县| 柏乡县| 加查县| 磐石市| 海盐县| 瑞昌市| 炎陵县| 获嘉县| 兰考县| 富川| 墨脱县| 扎囊县| 山东省| 桦川县| 湾仔区| 华蓥市| 锡林浩特市| 龙胜| 浙江省| 诸城市| 和平区| 增城市| 屏边| 樟树市| 临邑县| 宝坻区| 拜城县| 湖州市| 密山市| 鄱阳县| 阳信县| 建平县| 南康市| 天津市| 民勤县| 浦北县| 阳信县| 襄垣县| 甘孜县|