I'm trying to update Sublime Text 2 on Ubuntu 12.04 and I'm using the webupd8team repository, but my old install of Sublime is not getting overwritten. So I end up with Sublime Text 2.0.1 and 2.0.2 installed. When I run sudo apt-get remove sublime-text* it only uninstalls the 2.0.2 version. How can I either uninstall the 2.0.1 version or update so that it overwrites it with 2.0.2? Thanks in advance.
To check version, go to Help --> About Sublime Text .
Sublime Text runs on the Windows, Mac and Linux operating systems. 32bit (x86), 64bit (x86_64) and ARM (arm64) processors are supported.
Installing Sublime on Ubuntu is fairly straightforward. We'll enable the Sublime repository, import the repository GPG key, and install the editor. The same instructions should work on any other Debian-based distribution. Sublime Text is a proprietary application.
I also ran across this issue and found a 3rd party repo. This updated and installed the newest version of sublimetext 2.0.2 flawlessly. I am posting the directions here but please take the time to read all the documentation as things might have changed since this post.
http://www.ubuntuupdates.org/ppa/sublime
Check your ubuntu version first. This repository is ONLY for: Natty Oneiric Precise Quantal Raring
lsb_release -a
To install this PPA:
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text
There is a PPA for Sublime Text 2:
https://launchpad.net/~webupd8team/+archive/sublime-text-2
But remember, that you will be integrating a new third-party-repository into your system.
This is what I experienced, I had also installed Sublime with the webup8team ppa. Pre "Build 2221", the ppa installed sublime text at: /usr/lib/sublime-text-2/, it then added a bash file launcher: /usr/bin/sublime-text to start Sublime. I recently updated Sublime to "Build 2221". It was installed at /opt/sublime_text_2/ . However, the launcher was not updated to point to the new location. Which is probably the discrepancy you have experienced. Here is how I fixed on my setup:
Edit the bash file launchers (I'm not sure which one is the right one for you, so edit both to be safe)
gedit /usr/bin/sublime-text
gedit /usr/bin/subl
Update the location
#!/bin/bash
/opt/sublime_text_2/sublime_text --class=sublime-text-2 "$@"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With