Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 547  / 2 Years ago, tue, march 15, 2022, 3:29:00

Every time i install Ubuntu on a computer I have to download the applications/packages
with total size of 1.5~2GB and it took lots of my network bandwidth & time!!



How can I avoid downloading the same packages that i am downloading everytime i.e I just need to have an archive of packages which have been downloaded once and stored somewhere, and use/install them when I install a new Ubuntu? (like I did in Windows - The setup files... )


More From » downloads

 Answers
5

You can install apt-cache-ng on one of your computers and setup apt to proxy into the apt-cache-ng server instead going to the Internet every time, the files are cached and delivered by the local computer.



The server can easily be installed with



sudo apt-get install apt-cacher-ng


The client (i.e the machine being installed) can be set up by creating a file containing



Acquire::http { Proxy "http://CacheServerIp:3142"; };


in the directory



/etc/apt/apt.conf.d

[#31708] Tuesday, March 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
naldis

Total Points: 257
Total Questions: 101
Total Answers: 111

Location: Kenya
Member since Sat, Feb 25, 2023
1 Year ago
naldis questions
;