1、下载termux软件,下载地址如下:
https://github.com/termux/termux-app/releases
2、下载开心电视助手V8.2版本,下载地址如下:
商业地址:
3、termux里然后执行相关指令:
pkg update && pkg upgrade -y #更新指令
pkg install wget proot tar -y #proot安装
4、具体Ubuntu系统安装指令
Ubuntu22系统-xfce:
pkg update -y && pkg install curl proot tar -y && curl https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Ubuntu22/ubuntu22-xfce.sh | bash
Ubuntu20系统-xfce:
pkg update -y && pkg install curl proot tar -y && curl https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Ubuntu20/ubuntu20-xfce.sh | bash
Debain系统安装指令:
Debain10系统-xfce:
pkg update -y && pkg install curl proot tar -y && curl https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Debian/debian-xfce.sh | bash
查看系统信息指令:
cat /etc/os-release #查看相关版本信息
安装opencode
apt update #更新数据源
apt install curl -y #如果没有安装curl的话需要安装
curl -fsSL https://opencode.ai/install | bash #安装opencode
查看opencode安装到了哪个路径下
find / -name "opencode*" 2>/dev/null 执行这个指令以后提示了:/root/.opencode/bin/opencode
然后执行
ln -s /root/.opencode/bin/opencode /usr/local/bin/opencode #opencode 加入直接运行命令
安装openclaw
curl -fsSL https://openclaw.ai/install.sh | bash
如果安装失败以后,确认是否有环境,先查看
nodejs -v
有版本号说明nodejs安装成功,然后再安装NPM
apt install nodejs npm -y 安装Nodejs里的NPM软件
确认NPM安装完成以后同样需要查看NPM的版本号
NPM -v
有显示说明,继续下一步,
或者直接用opencode来安装Openclaw,安装成功后,运行
openclaw dahboard
openclaw gateway --verbose
通过Debian系统安装openclaw速度更快
源系统的Debian 10 Buster系统可能已经停止维护,需要去掉以前的源,所以需要运行
所以需要从deb.debian.org
ftp.debian.org 转到archive.debian.org,需要运行以下脚本
cat > /etc/apt/sources.list << 'EOF'
deb http://archive.debian.org/debian buster main contrib non-free
deb http://archive.debian.org/debian-security buster/updates main contrib non-free
EOF
然后关闭时间校验(必须)
echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99no-check-valid