Product docs and API reference are now on Akamai TechDocs.
Search product docs.
Search for “” in product docs.
Search API reference.
Search for “” in API reference.
Search Results
 results matching 
 results
No Results
Filters
Guides - Package Mirrors
Linux virtual machines equipped with a tailored set of resources designed to run any cloud-based workload.
Linode offers public package mirrors for Ubuntu, Debian, and CentOS. When you install updates and new packages, you must download them from package mirrors. The primary advantage of using the Linode package mirrors versus other public package mirrors is speed.
Linode package mirrors are available in all of our data centers. The mirrors can be found at:
- http://atlanta.mirrors.linode.com/
- http://dallas.mirrors.linode.com/
- http://frankfurt.mirrors.linode.com/
- http://fremont.mirrors.linode.com/
- http://london.mirrors.linode.com/
- http://mum1.mirrors.linode.com/
- http://newark.mirrors.linode.com/
- http://singapore.mirrors.linode.com/
- http://syd1.mirrors.linode.com/
- http://tor1.mirrors.linode.com/
- http://shinagawa.mirrors.linode.com/
Package Mirror Settings
For best performance, you will want to use the mirror in the same data center as your Compute Instance. When using the Linode DNS resolvers, mirrors.linode.com will resolve to the mirror within the same data center. For public queries, mirrors.linode.com will return a round robin of the US locations.
Instructions for setting the package mirror location are provided in the following subsections.
Ubuntu System Settings
For a Ubuntu system follow the instructions below:
Edit the
sources.list
file with the following command:sudo nano /etc/apt/sources.list
Replace the line containing the address http://us.archive.ubuntu.com/ubuntu/ with the new address location:
http://mirrors.linode.com/ubuntu/
Do not modify lines containing the address http://security.ubuntu.com/ubuntu/. These lines contain security updates for packages.
Save and exit the
sources.list
file.
Debian System Settings
For a Debian system follow the instructions below:
Edit the
sources.list
file with the following command:sudo nano /etc/apt/sources.list
Replace the line containing the address http://ftp.us.debian.org/debian/ with the new address location:
http://mirrors.linode.com/debian/
Do not modify lines containing the address http://security.debian.org/. These lines contains security updates for packages.
Save and exit the
sources.list
file.
CentOS System Settings
For a CentOS system follow the instructions below:
By default,
yum
will try using fastest mirror available. This need to be disabled to use Linode’s mirror. Edit thefastestmirror.conf
file with the following command:sudo nano /etc/yum/pluginconf.d/fastestmirror.conf
Change the
enabled=
variable to 0:- File: /etc/yum/pluginconf.d/fastestmirror.conf
1 2 3
... enabled=0 ...
Save and exit the
fastestmirror.conf
file.Edit the
CentOS-Base.repo
file with the following command:sudo nano /etc/yum.repos.d/CentOS-Base.repo
Comment each
mirrorlist
line by adding the # sign before each line.Uncomment each
baseurl
line by removing the # sign before each line.Edit all
baseurl
lines containing the address http://mirror.centos.org/centos/$releasever/os/$basearch/ to reflect the new address location:http://mirrors.linode.com/centos/$releasever/os/$basearch/
Save and exit the
CentOS-Base.repo
file.
This page was originally published on