Temux安装Ubuntu报错error: ‘/usr/bin/env‘ not found fatal error: see proot --help.

用户在尝试在安卓Pixel4手机上使用Temux安装Ubuntu时遇到proot错误,提示/usr/bin/env未找到。从GitHub上的解决方案,用户需要更新Termux,安装wget、proot和git,然后克隆并运行特定脚本来解决问题。
摘要由CSDN通过智能技术生成

在给安卓Pixel4安装Temux时发生了一个报错,看这个意思是proot有点问题。

$ ./start.sh
proot warning: can't chdir("/root/.") in the guest rootfs: No such file or directory
proot info: default working directory is now "/"
proot error: '/usr/bin/env' not found (root = /data/data/com.termux/files/home/termux-	ubuntu/ubuntu-fs, cwd = /, $PATH=(null))
fatal error: see proot --help.

查了一下,发现github上有位外国大佬解决了这个问题,copy过来解决方案:

就把冒号后面的执行一遍即可。

that repo works!!!
that help me fixed error above

Update termux: apt-get update && apt-get upgrade -y
Install wget: apt-get install wget -y
Install proot: apt-get install proot -y
Install git: apt-get install git -y
Go to HOME folder: cd ~
Download script: git clone https://github.com/MFDGaming/ubuntu-in-termux.git
Go to script folder: cd ubuntu-in-termux
Give execution permission: chmod +x ubuntu.sh
Run the script: ./ubuntu.sh -y
Now just start ubuntu: ./startubuntu.sh
  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

猿知

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值