当前位置: 首页 > news >正文

Android终端模拟器Termux上使用Ubuntu

Termux 上安装各种 Linux 系统是通过 proot-distro 工具来实现的,所以先安装一下 proot-distro 工具。

~ $ pkg install proot-distro 

查看Termux支持安装那些Linux

~ $ proot-distro listSupported distributions:* Alpine LinuxAlias: alpineInstalled: noComment: Rolling release branch (edge).* Arch LinuxAlias: archlinuxInstalled: noComment: Currently available only AArch64 and ARM ports.* Artix LinuxAlias: artixInstalled: noComment: Currently available only for AArch64.* DebianAlias: debianInstalled: noComment: A stable release (bookworm).* deepinAlias: deepinInstalled: noComment: Supports only 64-bit CPUs.* FedoraAlias: fedoraInstalled: noComment: Version 39. Supports only 64-bit CPUs.* ManjaroAlias: manjaroInstalled: noComment: Currently available only for AArch64.* OpenSUSEAlias: opensuseInstalled: noComment: Rolling release (Tumbleweed).* Pardus (yirmibir)Alias: pardusInstalled: no* UbuntuAlias: ubuntuInstalled: noComment: Standard release (mantic). Not available for x86 32-bit (i686) CPUs.* Void LinuxAlias: voidInstalled: noInstall selected one with: proot-distro install <alias>

这里我们选择安装 Ubuntu 系统

~ $ proot-distro install ubuntu

安装完成后,登录 Ubuntu 系统

~ $ proot-distro login ubuntu
root@localhost:~# 

查看一下 Ubuntu 版本

root@localhost:~# cat /etc/os-release 
PRETTY_NAME="Ubuntu 23.10"
NAME="Ubuntu"
VERSION_ID="23.10"
VERSION="23.10 (Mantic Minotaur)"
VERSION_CODENAME=mantic
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=mantic
LOGO=ubuntu-logo

最后提一句,安装过程如果出现下面的错误

CANNOT LINK EXECUTABLE "curl": library "libssl.so.1.1" not found: needed by /data/data/com.termux/files/usr/lib/libssh2.so in namespace (default)

可以执行一下完整的升级操作,再安装

apt full-upgrade
http://www.lryc.cn/news/263275.html

相关文章:

  • 【神器】wakatime代码时间追踪工具
  • UML统一建模语言
  • Linux命令行控制小米电源开关
  • docker nginx 部署静态网站
  • uniapp之屏幕右侧出现滚动条去掉、隐藏、删除【好用!】
  • Linux 系统开机启动流程
  • vue2源码解析---watch和computed
  • 【云原生】华为云踩坑日志(更新于2023.12.10)
  • 计算机网络:自顶向下第八版学习指南笔记和课后实验--网络层(控制平面)
  • MFC 窗口创建过程与消息处理
  • 基于JavaWeb+SSM+Vue微信小程序的移动学习平台系统的设计和实现
  • 解决docker alpine /bin/sh: ./main: not found
  • 深入了解网络基础:从背景到协议
  • 针对这两个趋势,3.0全新新零售商业模式可以采取以下策略:
  • 鸿蒙HarmonyOS开发用什么语言
  • 气象数据预测分析与可视化:天气趋势预测揭秘
  • install cuda cudnn tersorRT
  • Vue 3 + Vite 4 移动端低版本白屏处理
  • Python爬虫-解决使用requests,Pyppeteer,Selenium遇到网站显示“您的连接不是私密连接”的问题|疑难杂症解决(2)
  • 机场信息集成系统系列介绍(5):机场运行资源管理系统
  • JavaEE:线程池精讲
  • spring-cloud-starter-gateway-mvc的网关实现
  • 《PySpark大数据分析实战》-11.Spark on YARN模式安装Hadoop
  • 多架构容器镜像构建实战
  • 通过层进行高效学习:探索深度神经网络中的层次稀疏表示
  • 自然语言处理阅读第二弹
  • 利用canvas封装录像时间轴拖动(uniapp),封装上传uniapp插件市场
  • PDF转为图片
  • 隐私计算介绍
  • HTML有哪些列表以及具体的使用!!!