Sublime Forum

Installation on Ubuntu 14.04 "trusty"

#1

Hi,
I have an older verson of Sublime 3 installed and want to install the latest. I downloaded a deb file from https://www.sublimetext.com/3 and tried to install it using "sudo apt-get install " but I got a bunch of errors.

I also tried "sudo dpkg -i and got the following errors:

"Selecting previously unselected package sublime-text.
dpkg: regarding sublime-text_build-3103_amd64.deb containing sublime-text:
sublime-text-installer conflicts with sublime-text
sublime-text (version 3103) is to be installed.

dpkg: error processing archive sublime-text_build-3103_amd64.deb (–install):
conflicting packages - not installing sublime-text
Errors were encountered while processing:
sublime-text_build-3103_amd64.deb"

How do I upgrade Sublime 3 using a deb file on Ubuntu 14.04?

Thanks in advance for your help.

0 Likes

#2

Hi @qspencer,
first you have to remove the old version.
For find the package :

dpkg -l sublime*

in my,i find this
Nombre Versión Arquitectura Descripción
++±===================-==============-==============-===========================================
ii sublime-text 3083 amd64 Sublime Text is a sophisticated text editor

to uninstall:
sudo dpkg -r sublime-text

Now you can install the new package:

sudo dpkg -i sublime-text_build-3103_amd64.deb

I have been install the 64bit’s version, if this is not your case, change the package name with the right one. Watch out the file path too.
Good luck.

0 Likes

#3

I needed to uninstall the sublime-text-installer as well in order to be able to install the newer version. I should also note that I am on an x64 version of Ubuntu 14.04, and so am unable to use the 64-bit amd64 debian package.

I had to resort to installing the 32-bit version in order to get it working in x64 (vs. amd64), which was a little disappointing. Although, it has been working fine for me.

0 Likes

#4

that is a repository problem, when you try :
sudo apt-get install sublime-text-installer
You are use a repository package webupd8team / sublime-text-3
Sometime the repository is not update at the same time than the sublime-text teem.
I have Lenovo x64 bits with a Intel i5 processor, i installed the last release , and no problems with it. But some time i have problem to upgrade aplications from repository, and some times i have to compile from surce. I didin’t use the repository in this case , i’v download the deb pack from the sublime-text web page.

read this article to help you, to install the X64 version.

Good luck

0 Likes