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

Sublime 2 Installation for Linux

系統(tǒng) 2748 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


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號(hào)聯(lián)系: 360901061

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

【本文對(duì)您有幫助就好】

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

發(fā)表我的評(píng)論
最新評(píng)論 總共0條評(píng)論
主站蜘蛛池模板: 乌鲁木齐市| 新源县| 云林县| 保山市| 临海市| 延安市| 沐川县| 高唐县| 嵊州市| 富裕县| 尖扎县| 景洪市| 禹城市| 伊川县| 怀安县| 英德市| 鱼台县| 微博| 武冈市| 仙游县| 金川县| 喀喇沁旗| 攀枝花市| 射洪县| 无极县| 安阳县| 金川县| 西昌市| 常德市| 祁门县| 岑溪市| 岳普湖县| 涿州市| 肇东市| 连江县| 环江| 阳朔县| 昌乐县| 禄劝| 清流县| 高碑店市|