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

Sublime 2 Installation for Linux

系統 2469 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條評論
主站蜘蛛池模板: 醴陵市| 东光县| 巴林右旗| 江源县| 镇平县| 顺义区| 阿荣旗| 乐清市| 饶河县| 宁海县| 高阳县| 伊吾县| 昌吉市| 长寿区| 凤阳县| 彭阳县| 垫江县| 安溪县| 灵石县| 天峨县| 福建省| 左贡县| 抚州市| 维西| 抚宁县| 五常市| 云阳县| 仪陇县| 弥渡县| 承德县| 丰县| 高唐县| 炎陵县| 张家港市| 六枝特区| 武安市| 华蓥市| 福安市| 江城| 巧家县| 安远县|