How to Install apt-venv in Ubuntu 18.04

Install apt-venv by entering the following commands in the terminal:

sudo apt update
sudo apt install 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.


Version: 1.0.0-2

Section: universe/admin