在Termux 中
我学会了在 Termux 中使用apt和pkg来安装和管理软件包。
-$ apt install tree
-$ apt remove tree
-$ pkg install tree
-$ pkg uninstall tree
-$ pkg install mariadb
-$ dpkg, apt-get, etc...
Everything worked fine
在Pydroid3终端中
所以,我只是在 Pydroid3 终端中尝试了同样的方法。
/storage/emulated/0 $ apt install tree
sh: apt: not found
/storage/emulated/0 $ pkg install tree
sh: pkg: not found
/storage/emulated/0 $ apt-get
sh: apt-get: not found
/storage/emulated/0 $ dpkg
sh: dpkg: not found
Only pip and some basic commands work here
Pydroid3 终端详细信息:
/storage/emulated/0 $ uname -a
Linux localhost 4.14.113-21094692 #1 SMP PREEMPT Thu Feb 25 17:48:28 +07 2021 aarch64 GNU/Linux
在互联网上
当我在网上搜索时,我发现可能这些命令没有安装在 Pydroid3 的 linux 发行版上。
该怎么办?
如何在 Pydroid3 终端中安装所有这些包管理器?
或者
是否有一些不同的方法可以在那里安装和管理软件包?
或者
还有其他问题吗?
注意:我的安卓设备没有root