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

Last updated: May 15,2024

1. Install "apt-p2p" package

Please follow the guidelines below to install apt-p2p on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install apt-p2p

2. Uninstall "apt-p2p" package

Please follow the step by step instructions below to uninstall apt-p2p on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: apt-p2p
Priority: optional
Section: universe/net
Installed-Size: 522
Maintainer: Ubuntu Developers
Original-Maintainer: Debian QA Group
Architecture: all
Version: 0.1.8
Provides: python-apt-p2p, python-apt-p2p-khashmir
Depends: python, python:any (<< 2.8), python:any (>= 2.7.5-5~), adduser, python-apt (>= 0.7.93), python-debian (>= 0.1.15), python-pysqlite2 (>= 2.1), python-twisted-web2 (>= 8.0)
Filename: pool/universe/a/apt-p2p/apt-p2p_0.1.8_all.deb
Size: 90130
MD5sum: 6ca26d0d8fa71a6700b641fd524921c7
SHA1: 26a1485cc128408885ac8bcb12b660ed1bca174f
SHA256: 0e7d3db327e24f04803ac513ff53c3e5d6803e005d197be072a8bd9da15fb465
Description-en: apt helper for peer-to-peer downloads of Debian packages
Apt-P2P is a helper for downloading Debian packages files with APT.
It will download any needed files from other Apt-P2P peers in a
peer-to-peer manner, and so reduce the strain on the Debian mirrors.
.
The Apt-P2P daemon runs automatically on startup and listens for
requests from APT for files, as well as maintaining membership in a
Distributed Hash Table (DHT). For any files which have a hash
available (most files), peers that have the file are looked for in the
DHT. The file can then be downloaded from them, using the uploading
bandwidth of other peers while reducing the demand on the Debian mirror
network. However, if a package can not be found on any peers, Apt-P2P
will fall back to downloading from a mirror to ensure all packages are
downloaded. Once downloaded, the file is hash checked and added to the
DHT so that other peers can download it without the mirror.
.
The configuration is very simple, and only involves prepending
'localhost' and the port to your current sources.list lines (similar
to other apt-proxy-like software).
Description-md5: 94d4ec2c74e9568dea18ae585925397f
Homepage: http://www.camrdale.org/apt-p2p/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu