Pages

12/18/2013

Upgrading to Sublime Text 3 (Beta)

As of today (Dec 17, 2013), Sublime Text 3 is still in beta-testing, not a fully-functioning official released yet.

I have been using Sublime Text 2 for several months now, and I find nothing wrong with this version.
But this morning, I found that it just released another build-release (build-3059) and it seems to fix a lot of things. I am kinda excited to try out, so I remove my Sublime Text 2 and install a new one.

I know that Sublime usually gives us a downloadable binary to download and install it on our computer manually, but that isn't a way to on Linux. Any linux user would want to have a way to install it with APT for sure. Therefore, I went to search for an apt repository to be able to incorporate it in my machine. And I found a PPA from webupd8team that does just that.

Here is how to add this PPA and install Sublime 3 with this method:
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

Pretty easy, huh?

Well, I've done this, and found myself with Sublime Text 3 with an older release than 3059.

I know that this is not an official Sublime repository and the team might have some other things to do rather keeping up with every release of Sublime Text, but I just want only the latest update, so I uninstall it :p

Good thing is I don't have to keep updating Sublime Text with only apt (like in Sublime Text 2). In Sublime Text 3, there is a built-in update notification.

Great! So I can just download and install the binary from the Sublime website, and that's it.

Finally,...


In Additions:
  • I found this website (http://www.caniswitchtosublimetext3.com/) before I did the upgrade. It provides a check on whether your Sublime plugins are still good on Sublime Text 3 or not.
  • I immediately install "Package Control" for Sublime plugin manager, by pressing Ctrl+` (backtick, located under ESC), then paste this in the box
import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())
  • To use Package Control, press Ctrl+Shift+P, then select "Package Control: ......"

No comments:

Post a Comment