How to Install and Uninstall pk4 Package on Ubuntu 21.10 (Impish Indri)

Last updated: April 25,2024

1. Install "pk4" package

Please follow the guidance below to install pk4 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install pk4

2. Uninstall "pk4" package

Please follow the guidelines below to uninstall pk4 on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove pk4 $ sudo apt autoclean && sudo apt autoremove

3. Information about the pk4 package on Ubuntu 21.10 (Impish Indri)

Package: pk4
Architecture: amd64
Version: 5build2
Built-Using: golang-1.15 (= 1.15.4-1ubuntu1), golang-go.crypto (= 1:0.0~git20200604.70a84ac-2), golang-golang-x-sync (= 0.0~git20190911.cd5d95a-1), golang-pault-go-debian (= 0.9-1), golang-pault-go-topsort (= 0.0~git20160529.f98d2ad-1)
Priority: extra
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Michael Stapelberg
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 15438
Depends: libc6 (>= 2.32), debian-keyring, devscripts, dpkg-dev, systemd-sysv
Recommends: sbuild
Filename: pool/universe/p/pk4/pk4_5build2_amd64.deb
Size: 2797488
MD5sum: 8fba8d723c0020a3b9f804246009565b
SHA1: 1c6ade18176ce99d32d1c54c87eda8dcfc2f86bf
SHA256: 0eb58a4f0e500bdc99183be977cb504ccb8208f846cd0ac1f852370027a7088b
SHA512: b0167990a5a8c9a62b8397adde7391c51a90110fc5f974b04b079f651b7b9f3bd91b9127bdeae8142c750529636505adc0b37b7bc0474acd612df17c042fe512
Description-en: make available the Debian source package producing the specified package
pk4 resolves the specified argument(s) as either:
.
1. the name of a Debian binary package, and selects its Debian source package.
2. the name of a Debian source package, and selects it.
3. or a file path, and selects the Debian source package of the owning package.
.
The source package version is either the installed version (if any) or the
installation candidate, as per “apt-cache policy”.
.
Then, pk4 downloads the entire selected source package (every file referenced
by — and including — its .dsc file) and prints the output directory path.
.
pk4…
• caps the disk usage of the checked out packages by deleting the oldest ones
after crossing a limit (default: 2GiB).
• allows users to enable supplied or shipped-with-pk4 hooks, e.g. git-init.
• optimizes for low latency of each operation.
• respects your APT configuration, i.e. should work in company intranets.
• comes with tab completion for bash and zsh.
• tries hard to download source packages, with fallback to snapshot.debian.org.
Description-md5: 12a79bced01106d10b2470230cf64166