apt-venv

apt virtual environment

Install

All systems
curl cmd.cat/apt-venv.sh
Debian Debian
apt-get install apt-venv
Ubuntu
apt-get install apt-venv
image/svg+xml Kali Linux
apt-get install apt-venv
Windows (WSL2)
sudo apt-get update sudo apt-get install apt-venv
Raspbian
apt-get install apt-venv

apt-venv

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.