proot-distro,是一个Bash脚本,用于在Termux中管理与安装proot下Linux发行版。目前,它支持安装以下发行版:1. Alpine Linux 2. Arch Linux 3. Kali Nethunter (rootless) 4. Ubuntu (18.04 / 20.04)pkg install proot-distro以下以安装ubuntu为例:proot-distro install ubuntu-20.04 # 安装ubuntu20.04proot-distro...
bash # 替换镜像源为阿里云 sed -i 's@^\(deb.*stable main\)$@#\1 deb https://mirrors.aliyun.com/termux/termux-packages-24 stable main@' $PREFIX/etc/apt/sources.list sed -i 's@^\(deb.*games stable\)$@#\1 deb https://mirrors.aliyun.com/termux/game-packages-24 games stable@' ...
proot-distro install ubuntu 现在安装的就是24.04 也可以安装老版的 ,proot-distro list查看所有可安装版本 然后对应安装就行了 第四步:进入ubuntu proot-distro login ubuntu 首先按默认源update apt update 安装ca-certificates , dialog apt install ca-certificates dialog ...
proot-distro install ubuntu 用这条命令即可。 整个安装过程 安装完成后进入系统 proot-distro login ubuntu 退出ubuntu用exit或者logout ubuntu下换清华源 看我的另一篇 termux proot-distro安装ubuntu24.04及换清华源 https://www.bilibili.com/read/cv38439250/?jump_opus=1 至于其它系统,也是一样,在$PREFIX/v...
通过过输入指令 proot-distro install <alias>选择安装哪个系统。 以安装一个Alpine系统为例,输入指令 proot-distro install alpine 安装完成 alpine系统安装完成之后输入指令 proot-distro login alpine 进入alpine系统 ,输入指令 exit 退出alpine系统。 至此,Linux系统就已经安装完了,可以安装你自己想要的服务了。当然...
proot-distro install ubuntu 在使用Kubernetes(K8S)过程中,有时候我们需要在容器中安装和运行其他操作系统,而不是使用默认的容器镜像。proot-distro 是一个方便的工具,可以帮助我们在容器中创建并运行其他Linux发行版的根文件系统。 下面让我来教你如何通过 proot-distro 安装 Ubuntu 发行版。
An utility for managing installations of the Linux distributions in Termux. - proot-distro/install.sh at v4.16.0 · termux/proot-distro
pkg install git git clone https://github.com/termux/proot-distro cd proot-distro ./install.sh Dependencies: bash, bzip2, coreutils, curl, file, findutils, gawk, gzip, ncurses-utils, proot, sed, tar, util-linux, xz-utils If you want command line auto complete, install thebash-completio...
proot-distro install alpine By default the installed distribution will have same alias as specified on command line. This means you will be unable to install multiple copies at same time. You can rename distribution during installation time by using option--override-aliaswhich will create a copy...
这时候再执行proot-distro install ubuntu-18.04便可成功安装ubuntu 18 补充 如果想安装除proot-distro提供之外的镜像呢? 实际上proot-distro使用的就是proot,但是proot的命令比较繁杂 我们在搜索引擎搜索“proot wiki”可以找到proot的wiki网页https://wiki.termux.com/wiki/PRoot ...