安卓安装linux命令 安卓安装linux软件

安卓终端模拟器Termux安装Linux发行版

Termux 是运行在 Android 上的 terminal。不需要root,运行于内部存储,自带了一个包管理器,可以安装许多现代化的开发和系统维护工具。

创新互联公司是创新、创意、研发型一体的综合型网站建设公司,自成立以来公司不断探索创新,始终坚持为客户提供满意周到的服务,在本地打下了良好的口碑,在过去的10年时间我们累计服务了上千家以及全国政企客户,如成都白乌鱼等企业单位,完善的项目管理流程,严格把控项目进度与质量监控加上过硬的技术实力获得客户的一致赞赏。

Termux | F-Droid - Free and Open Source Android App Repository

在较新版的 Termux 中,官方提供了图形界面(TUI)来半自动替换镜像,推荐使用该种方式以规避其他风险。 在 Termux 中执行如下命令

在图形界面引导下,使用自带方向键可上下移动。

Termux 提供了一个包 proot-distro ,它负责管理 Termux 内的 Linux 发行版。您可以通过执行安装此实用程序

目前它支持这些发行版:

要安装发行版,只需运行以下命令:

其中“alias”为Linux发行版本,例如“alpine”。

安装后,您可以通过执行下一个命令来启动 shell 会话:

以下是可用的 proot-distro 功能的基本概述:

长按屏幕点击More打开设置----Style----安装Termux:Styling

android 中linux 命令pm常见用法(安装卸载app)

27种用法格式 :

用法说明 :

1、 pm list packages : prints all packages, optionally only those whose package name contains the text in FILTER. Options:

例子:列出系统中所有packages

2、 pm list permission-groups : prints all known permission groups.

例子:

3、 pm list permissions : prints all known permissions, optionally only those in GROUP. Options:

例子:列出系统所有许可

4、 pm list instrumentation : use to list all test packages; optionally supply to list the test packages for a particular application. Options:

-f: list the .apk file for the test package.

5、 pm list features : prints all features of the system.

例子:列出所有手机特性

6、 pm list users : prints all users on the system.

例子:

7、 pm path : print the path to the .apk of the given PACKAGE.

例子:按包名查找apk文件所在路径

8、 pm dump : print system state associated with the given PACKAGE.

9、 pm install : installs a package to the system. Options:

例子:

10、 pm uninstall : removes a package from the system. Options:

-k: keep the data and cache directories around after package removal. 保留数据

例子:

11、 pm clear : deletes all data associated with a package..

例子:只删除数据

12、 pm enable, disable, disable-user, disable-until-used : these commands change the enabled state of a given package or component (written as "package/class").

13、 pm grant, revoke : these commands either grant or revoke permissions to applications. Only optional permissions the application has declared can be granted or revoked.

14、 pm get-install-location : returns the current install location.

15、 pm set-install-location : changes the default install location.

NOTE: this is only intended for debugging; using this can cause applications to break and other undersireable behavior.

16、 pm trim-caches : trim cache files to reach the given free space.

17、 pm create-user : create a new user with the given USER_NAME, printing the new user identifier of the user. 创建新用户

18、 pm remove-user : remove the user with the given USER_IDENTIFIER, deleting all data associated with that user 。 按用户ID删除用户

安卓设备上运行标准版Linux的方法

安卓系统虽然也算作Linux的一种,使用的也是Linux内核,但毕竟安卓应用运行在java虚拟机上,不能运行标准的Linux。

第一种,高阶玩法,根据网上的相关资料自己编译内核移植系统。国内外的玩家主要玩的多的包括全志A10、瑞芯微的RK3066和RK3188。

第二种,安卓设备上先安装termux,然后在termux上安装,再在安装标准版Linux。

第三种,安卓设备上运行deploy,然后在deploy中运行标准版Linux。这种方法利用的类似虚拟机技术,然后在虚拟机里运行标准版Linux。

第四种,手机或平板、电视盒子上安装终端模拟器-Android Terminal Emulator、busybox,bootscript.sh。通过脚本运行。


新闻名称:安卓安装linux命令 安卓安装linux软件
标题来源:http://lszwz.com/article/dogisid.html

其他资讯

售后响应及时

7×24小时客服热线

数据备份

更安全、更高效、更稳定

价格公道精准

项目经理精准报价不弄虚作假

合作无风险

重合同讲信誉,无效全额退款