【文件属性】:
文件名称:sysenv:就像用于系统软件包的virtualenv
文件大小:1KB
文件格式:ZIP
更新时间:2021-05-11 06:16:13
Shell
系统
就像用于系统软件包的virtualenv一样。
它会创建一个chroot ,它具有/sys , /dev , /proc和/home绑定挂载以及/usr , /bin等的overlayfs挂载。这意味着/home中的项目文件可以正常编写,但是系统软件已安装在叠加层中。
安装
将脚本复制到您的项目文件夹。
用法
$ 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
【文件预览】:
sysenv-master
----activate.sh(634B)
----readme.md(724B)