Skip to content

ihucos/zvenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zvenv

Virtualenv for everything.

Install

Distributed as a small (68 Kilobytes) static binary.

Usage

USAGE:
zvenv images                    list downloadable virtualenvs
zvenv pull DISTRO:RELEASE       downloads a virtualenv
zvenv run VENV *CMDS            run command in virtualenv
zvenv cp SOURCE_VENV NEW_VENV   duplicates a virtualenv
zvenv ls                        list virtualenvs
zvenv mv OLD_NAME NEW_NAME      rename a virtualenv
zvenv rm VENV                   remove a virtualenv
zvenv do *CMDS                  run in the virtualenv named "default"

Example

$ zvenv pull ubuntu:focal
$ zvenv cp ubuntu:focal myproject
$ zvenv run myproject apt update
$ zvenv run myproject apt install python-pandas
$ ... manage other dependencies here
$ zvenv run myproject python3 myscript.py

Some supported distributions as virtualenvs

alpine, archlinux, centos, debian, ubuntu

A note on arch linux virtualenvs

You need to remove the entry CheckSpace in /etc/pacman.conf

FAQ

Why?

Don't dump too much cruft in your root Linux installation, install your dependencies in zvenv virtualenvs instead.

Does it run graphical applications?

Yes.

Does sound work inside the virtualenvs?

No, not out of the box.

Does it expose binded ports?

Yes, same network device.

Can I still access all my files in /home

Yes.

Are reflinks supported?

Yes, when the filesystem supports that.

About

Virtualenv for everything

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors