It's like virtualenv for system packages
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
activate.sh
readme.md

readme.md

Sysenv

It's like virtualenv for system packages.

asciicast

It creates a chroot with bind mounts for /sys, /dev, /proc, and /home combined with overlayfs mounts for /usr, /bin, etc. This means your project files in /home are written normally, but system software is installed in the overlay.

Installation

Copy the script to your project folder.

Usage

$ sudo bash activate.sh
(env)$ sudo apt-get install everything
(env)$ sudo make install
(env)$ echo "Hello world" > hello.txt
(env)$ ^D
$ everything
Command not found
$ cat hello.txt
Hello world