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

Sublime 2 Installation for Linux

系統 2758 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條評論
主站蜘蛛池模板: 百色市| 太仆寺旗| 扎兰屯市| 楚雄市| 林周县| 云阳县| 泾源县| 舒城县| 通化市| 云梦县| 阿克陶县| 汾阳市| 丽水市| 洛扎县| 施秉县| 桑日县| 莱西市| 滁州市| 泰安市| 象山县| 泸溪县| 正镶白旗| 伊川县| 宜章县| 上高县| 宣城市| 辽宁省| 行唐县| 当雄县| 逊克县| 白水县| 德安县| 临高县| 遂宁市| 分宜县| 万源市| 江门市| 稻城县| 松原市| 固镇县| 广德县|