Firstly, find out what’s the latest build, open browser, http://www.sublimetext.com/3
In this case, we have http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3065_amd64.deb
Run command,
1 2 3 |
cd ~ wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3065_amd64.deb sudo dpkg -i ./sublime-text_build-3065_amd64.deb |
Then find out where it is installed, for my case, it’s /opt/sublime_text/.
Thus create symbolic link:
sudo ln -s /opt/sublime_text/sublime_text /usr/bin/sublime