How to Install and Uninstall apt-cacher Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 18,2024

1. Install "apt-cacher" package

This is a short guide on how to install apt-cacher on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install apt-cacher

2. Uninstall "apt-cacher" package

Please follow the guidelines below to uninstall apt-cacher on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove apt-cacher $ sudo apt autoclean && sudo apt autoremove

3. Information about the apt-cacher package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: apt-cacher
Priority: optional
Section: universe/net
Installed-Size: 327
Maintainer: Ubuntu Developers
Original-Maintainer: Mark Hindley
Architecture: all
Version: 1.7.11
Depends: perl, debconf (>= 0.5) | debconf-2.0, libwww-curl-perl (>= 4.00), libwww-perl, libfreezethaw-perl, ed, libio-interface-perl, libfilesys-df-perl, libnetaddr-ip-perl, lsb-base (>= 3.2-14), update-inetd, libsys-syscall-perl, ucf (>= 0.28), libipc-shareable-perl, libdpkg-perl
Recommends: libberkeleydb-perl (>= 0.34)
Suggests: libio-socket-inet6-perl
Filename: pool/universe/a/apt-cacher/apt-cacher_1.7.11_all.deb
Size: 84298
MD5sum: 966920790c991646e47455ff94d35b49
SHA1: ea0916a4acf752591f0e463f6859f191b25aaca3
SHA256: 9646ba93d5993d0b9b38d9b954cce9d80608cb5299ffb1504a9ad85d8a48c5a7
Description-en: Caching proxy server for Debian/Ubuntu software repositories
Apt-cacher performs caching of files requested by apt-get (or other APT clients
such as aptitude or synaptic). Apt-cacher can also proxy Debian Bugs SOAP
requests for apt-listbugs. It is most useful for local area networks with slow
internet uplink or as a method for reducing multiple large downloads.
.
When a file or package is requested, the cache checks whether it already has
the requested version, in which case it sends the package to the user
immediately. If not, it downloads the package while streaming it to the user
at the same time. A local copy is then kept for use by other users.
.
Apt-cacher has been optimized for best utilization of network bandwidth and
efficiency even on slow low-memory servers. Multiple ways of installation are
possible: as a stand-alone HTTP proxy, as a daemon executed by inetd or as a
CGI program (deprecated). Client machines are configured by changing APT's
proxy configuration or modification of access URLs in sources.list.
.
The package includes utilities to clean the cache (removing obsolete package
files), generate usage reports and import existing package files. Optional
features include a file checksum verification framework, IPv6 support, FTP and
HTTPS (proxying only) support as well as the simultaneous caching of different
repositories (e.g Debian and Ubuntu).
.
Apt-cacher can be used as a replacement for apt-proxy, with no need to modify
client's /etc/apt/sources.list files (and even reusing its config and cached
data), or as an alternative to approx.
Description-md5: a80c86e6a701f0d9d7d7e63566d8ea23
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu