Virtualenv type tool for apt-get

aptpackage-management

Is there anyway or any popular tool that can allow me to create an isolated package environment for apt-get similar to what virtualenv does for pip and python packages?

Best Answer

I think what you're looking after is the combination of schroot and debootstrap. Schroot is a utility that essentially lets you run a Linux distribution inside another. Debootstrap is a utility to install a (Debian-based) distribution inside another. See How do I run 32-bit programs on a 64-bit Debian/Ubuntu? (which is easily generalized to running a Debian or Ubuntu-based distribution inside another).

Related Question