How to Install and Uninstall apt-venv Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: December 24,2024

1. Install "apt-venv" package

Please follow the steps below to install apt-venv on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install apt-venv

2. Uninstall "apt-venv" package

This is a short guide on how to uninstall apt-venv on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the apt-venv package on Ubuntu 21.04 (Hirsute Hippo)

Package: apt-venv
Architecture: all
Version: 1.0.0-2.1
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Leo Iannacone
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 41
Depends: python3-xdg, python3:any
Filename: pool/universe/a/apt-venv/apt-venv_1.0.0-2.1_all.deb
Size: 7776
MD5sum: 95a5c7afb7cd6832cbe9289d04c63c61
SHA1: b826e2b728024971057d1e087ec36cb853e2732c
SHA256: 1fbc94552d330e68b0417c0c990689b5cc0ad8dda41cc45ed27eb437ca3f14a5
SHA512: ad12cc9a70512145f54471114fbca3fcb597c78bb9c4ab9a9f77d4eb113549a8098ee7c4315eeb96d61d36586876eac2b5d60c5cd8c27e7ff1158b746e9729f9
Homepage: https://github.com/LeoIannacone/apt-venv
Description-en: apt virtual environment
apt-venv creates a sort of virtual environment in the user
home directory, forcing apt to run under some custom option.
.
A simple use case is collect information about packages
in different Debian and Ubuntu releases without surfing the web,
just calling apt-cache through the virtual environment.
Description-md5: 998def5b4f6b78bf45ded0d7b7dbad36