The article also does some shell integration, such as registering sublime_text as a default editor and adding an icon, and I was too lazy to do that - however, I'm sure that it can be done without messing with system-wide settings. This does not require root privileges at all and the editor runs just fine. Ln -s ~/wherever/sublime/is/sublime_text ~/binĪfter which you'll be able to run Sublime Text by typing sublime_text in the console, from any directory. However, there's a much lazier solution which I am personally using - just unpack SublimeText somewhere in your home directory, create a bin directory in your home directory and symlink sublime_text executable into that directory: mkdir ~/bin Webupd8 maintains a PPA for SublimeText2, so you can just use that. #OPEN SUBLIME TEXT FROM TERMINAL UBUNTU INSTALL#deb file and install it - this way package manager would be aware of the package. A simple typo in a plugin could destroy all data on your machine.Ī proper solution, if you want to install the program system-wide, would be to find/build a. Running the program as root is even wronger, especially in the case of SublimeText which has its own package manager which basically downloads stuff from Internet and lets it run on your computer. #OPEN SUBLIME TEXT FROM TERMINAL UBUNTU UPGRADE#This directory is managed by Ubuntu's package manager and messing with it is going to cause you trouble at some point or another - for example, the next time you upgrade your system Sublime will likely be removed without a trace. Manually copying stuff which does not come from Ubuntu repositories into /usr is WRONG. This helped me and I hope it helps everyone else as well!īasically, your problem is that you're using a wrong article :) If it was on an SE site I would down-vote it. Sudo ln -s /opt/Sublime\ Text\ 2/sublime_text /usr/bin/sublimeĬheck out this nice script on Github(" Install Sublime Text on Fedora.") that you can run, just make sure to edit the "*.tar.bz2" in the script to download the latest version of Sublime Text! #!/usr/bin/env bash Tar vxjf Sublime\ Text\ 2.0.2\ 圆4.tar.bz2 Sudo apt-get install sublime-text-installer Install via the Package Manager(apt-get):įor Sublime-Text-2: sudo add-apt-repository ppa:webupd8team/sublime-text-2įor Sublime-Text-3: sudo add-apt-repository ppa:webupd8team/sublime-text-3
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |