termux添加php镜像,termux | 镜像站使用帮助 | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror…

Termux 镜像使用帮助

Termux 是什么

Termux is a terminal emulator and Linux environment bringing powerful terminal access to Android.

Termux 是运行在 Android 上的 terminal。不需要root,运行于内部存储(不在SD卡上)。

自带了一个包管理器,可以安装许多现代化的开发和系统维护工具。比如:

neovim

tmux

zsh

clang

gcc

weechat

irssi

如何使用 Termux 镜像

自动替换

使用如下命令自动替换官方源为 TUNA 镜像源

sed -i “s@^deb.∗stablemain” role=”presentation” style=”position: relative;”>deb./mo>stablemain$@#1ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/termux-packages-24 stable main@” $PREFIX/etc/apt/sources.listsed -i “s@^deb.∗gamesstable” role=”presentation” style=”position: relative;”>deb./mo>gamesstable$@#1ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/game-packages-24 games stable@” $PREFIX/etc/apt/sources.list.d/game.listsed -i “s@^deb.∗sciencestable” role=”presentation” style=”position: relative;”>deb./mo>sciencestable$@#1ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/science-packages-24 science stable@” $PREFIX/etc/apt/sources.list.d/science.listapt update && apt upgrade

手动修改

# The termux repository mirror from TUNA:deb https://mirrors.tuna.tsinghua.edu.cn/termux/termux-packages-24 stable main

# The termux repository mirror from TUNA:deb https://mirrors.tuna.tsinghua.edu.cn/termux/science-packages-24 science stable

# The termux repository mirror from TUNA:deb https://mirrors.tuna.tsinghua.edu.cn/termux/game-packages-24 games stable

区源

镜像站还提供了如下 区维护的源,如需使用请自行添加:

https://mirrors.tuna.tsinghua.edu.cn/termux/x11-packages

https://mirrors.tuna.tsinghua.edu.cn/termux/unstable-packages

https://mirrors.tuna.tsinghua.edu.cn/termux/termux-root-packages-24

警告

镜像仅适用于 Android 7.0 (API 24) 及以上版本,旧版本系统使用本镜像可能导致程序错误。

相关资源:丝柏人像美肤处理软件CPAC Imaging Pro 3绿化汉化破解版

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2021年2月23日
下一篇 2021年2月23日

相关推荐