Sublime Forum

Install Sublime Text 3 on Ubuntu 17.04

#1

Hi, I have problem witch install Sublime Text 3 on Ubuntu in version 17.04. I tested on version 16.04LTS and 17.04. On LTS version all is ok. I show logs from terminal:

From Ubuntu 16.04 LTS:
https://pastebin.com/4LcGGFQZ

From Ubuntu 17.04:
https://pastebin.com/fYKDGHrv

What’s the problem? On Ubuntu 17.04 I can not download sublime text from source.
How install Sublime Text 3 on Ubuntu 17.04? I tested this n clear system. Used this command:

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

What should I do?

0 Likes

#2

I’m not sure why it’s failing, but there’s no need to use

these days. See https://www.sublimetext.com/docs/3/linux_repositories.html for official instructions/package manager repos to install ST on Linux.

0 Likes

#3

During installation with these commands from the link what did the problem do not disappear.

0 Likes

#4

You seem to have an issue with your DNS or network since it can’t seem to connect to https://download.sublimetext.com, which is where the installers/packages are installed.

0 Likes

#5

How fix this problem with DNS?

0 Likes

#6

It’s too bad that Sublime Text isn’t a Snap, like Atom. It might be easier to install on Linux.

0 Likes

#7

It literally takes pasting three lines into your console, and then it is installed and automatically kept up-to-date, including using GPG signatures for authentication.

2 Likes

#8

It was a suggestion. As you know, I am not technical::confused:. I managed to install ST in Ubuntu 16.04 the old way, but it took several attempts before.I was successful.

0 Likes

#9

Is maybe other source to download this program? Is other command to this download? Can you give me to write?

0 Likes

#10

Unfortunately, no, we only provide downloads from the secure server that we run. This way we can be sure that no one is tampering with the downloads in any way.

Have you identified why you can’t connect to the server? Perhaps you should check with your ISP?

I suppose if you have a friend you trust, you could ask them to download the file and send it to you in a secure fashion.

The dev builds page (https://www.sublimetext.com/3dev) has direct links to the packages for all of the major linux package managers. You wouldn’t need to run any commands. However, that won’t help you if you aren’t allowed to connect to https://download.sublimetext.com.

0 Likes

#11

My Internet is good. The download.sublimetext.com page does not only work on Ubuntu 17.04 on previous collaborations. I do not know fix it. All other programs download without problems. For example, I just downloaded Atom and installed it without problems. On Windows, the download.sublimetext.com page is working fine. Do you have any ideas on how to find out what’s wrong? Surely the servers are working?

0 Likes

#12

It sounds like your current network config on Ubuntu 17.04 is messed up in some way. https://bugs.launchpad.net/bugs/+bugs?field.searchtext=17.04+fail+to+resolve+DNS&search=Search+Bug+Reports&field.scope=all&field.scope.target= seems to indicate that other users are having trouble with DNS on 17.04 also.

Unfortunately I don’t have time to troubleshoot your network issues. Until you have a chance to, you could always add the following line to your /etc/hosts file to hard-code the IP address. This may change in the future, so you should remove it once you’ve figured out what is wrong with your current install.

Run the following command:

sudo nano /etc/hosts

Add the following line at the end of the file:

104.236.0.104    download.sublimetext.com
3 Likes

#13

I set connection on my phone(Wi-Fi hotspot) and the Sublime Text 3 was downloaded fine. Why bothering the connection did not work I do not know. Do you know why this may happen?

0 Likes

#14

You might get better support on Ubuntu forums. But I also had some odd DNS related problems when I installed Ubuntu Server 17.04. Basically i couldn’t connect to any domain name, pinging the IPs did work - however. I didn’t have the time to investigate the problems and installed Ubuntu Server 16.04 LTS instead.

2 Likes