Skip to content
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.

Latest commit

 

History

History
57 lines (33 loc) · 1.86 KB

READMECN.md

File metadata and controls

57 lines (33 loc) · 1.86 KB

termux-安卓5-源

安卓5~6 termux可用国外源

FOSSA Status GitHub license

English:README.md

源: Termux 官方 grimler Termux官方提供的21版本源

用法:

rm $PREFIX/etc/apt/sources.list.d/*
pkg i git -y
git clone https://github.com/2096779623/termux-android5-repo.git
cd termux-android5-repo
chmod 777 -R *
cp -r * $PREFIX/etc/apt

##简单安装

rm $PREFIX/etc/apt/sources.list.d/*


pkg install wget -y


wget -q https://raw.fastgit.org/2096779623/termux-android5-repo/main/install.sh
或者使用jsdelivr:wget -q https://cdn.jsdelivr.net/gh/2096779623/termux-android5-repo@main/install.sh

chmod 777 install.sh && ./install.sh

不要运行Pkg Update! 你可以使用 pkg i [软件包名称] 安装软件包,但是不要安装关于Termux容器环境的包! 比如: command-not-found,busybox,coreutil

如果你的手机没有root,请执行这个命令删除root源: rm $PREFIX/etc/apt/sources.list.d/root.list

常见问题:

不能连接到github? 使用镜像站:fastgithub fastgit

W: Failed to fetch xxx The following signatures couldn't be verified because the public key is not available: NO_PUBKEY xxx: https://blog.utermux.dev/ut/gpgkeyfix.html

博客链接