12

After I have performed one of sudo apt-get install eclipse eclipse-cdt g++ procedure I found that Ubuntu is planning to download more than 400Mb and it will take more than 2 hours. It is too long. I also found that it downloads from the US:

Get:21 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libservlet3.0-java 
all 7.0.52-1ubuntu0.3 [294 kB]

I'm in Europe, maybe should I somehow tell Ubuntu to download from a source located closer. How should I do that?

wjandrea
  • 14,236
  • 4
  • 48
  • 98
vico
  • 4,527
  • 21
  • 58
  • 87

3 Answers3

8

Go to software & updates app in dash and on the first page it says Download from: set the server here

enter image description here

Set your nearest server, of course, in the dropdown.

Mark Kirby
  • 18,529
  • 19
  • 78
  • 114
7

edit your /etc/apt/sources.list to contain the url of your closest mirror.

e.g.

deb http://ch.archive.ubuntu.com/ubuntu/ trusty main restricted universe

or whichever mirror you choose. change all the occurrences of http://us.archive.ubuntu.com/ to the URL of the mirror of your choice.

5

Go to Software & UpdatesUbuntu Software tab → Download fromOther...Select Best Server

screenshot of "Software & Updates"

screenshot of "Choose a Download Server"

wjandrea
  • 14,236
  • 4
  • 48
  • 98
Ravan
  • 9,379