如何在Archlinux系统的chroot环境中安装Ubuntu?

and*_*s-h 2 debootstrap chroot

目前我在工作中一直使用 Archlinux 系统。不过,我希望能够在这台机器上为 Ubuntu 打包一些软件。所以我认为应该可以在我的 Archlinux 机器上的 chroot 环境中设置 Ubuntu(Precise)系统。当然,我不会在 chroot 中安装 X11,但我也不需要它。

关于如何在我的机器上的 chroot 环境中安装 Ubuntu 有什么想法吗?

and*_*s-h 5

在问之前我应该​​多考虑一下...debootstrap可以从 AUR(Archlinux 贡献包)获得,所以这是一个简单的

yaourt debootstrap
debootstrap --arch amd64 precise /path/to/chroot/environment
Run Code Online (Sandbox Code Playgroud)