Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 736 Bytes

improve-apt-package-manager-speed-by-changi-by-changing-source-list-mirrors.md

File metadata and controls

12 lines (7 loc) · 736 Bytes
  • Date : 2019-04-03
  • Tags : #devops #apt #packagemanager

Improve apt package manager speed by changing source list mirrors

Sometimes, you ran into issues that apt update package list so slow or even can not connect to the destination server.

You can change the default list into new one near your country. Get example : if you live in ASIA, choose the Singapore or Japan mirror instead of main mirror. you just change the "archive.ubuntu.com" and "security.ubuntu.com" to "[country_code].archive.ubuntu.com" in file list /etc/apt/sources.list

Then run sudo apt update to test your new mirror :)

TIP : you can generate the new source list file based on this online tool : https://repogen.simplylinux.ch/generate.php