摘要: APT 方式 最快的方法,三步解决 sudo apt update sudo apt install language-pack-zh-hans sudo update-locale LANG=zh_CN.UTF-8 手动修改 检查本机已有的语言包 1 locale -a 下面开始安装语言包,首先是 阅读全文
posted @ 2023-02-27 18:15 liu-huan 阅读(362) 评论(0) 推荐(0) 编辑
摘要: wsl2 通过桥接网络实现被外部局域网主机直接访问 背景介绍 之所以有这个需求的主要原因是需要用WSL和外部机器人硬件调试分布部署的ROS系统,WSL2是在windows主机内部建立的虚拟局域网,其ip从外部无法访问,网上很多文章提到端口转发,但是ROS的文档里面要求用到所有的端口,采用端口转发不太 阅读全文
posted @ 2023-02-27 18:10 liu-huan 阅读(3381) 评论(0) 推荐(1) 编辑
摘要: 先决条件 运行 Windows 11(内部版本 22000 或更高版本)。 (可提供 Windows 10 支持,请参见下面的注释) Linux 发行版已安装并设置为 WSL 2。 运行 Linux 内核 5.10.60.1 或更高版本。 备注 若要检查 Windows 版本及内部版本号,选择 Wi 阅读全文
posted @ 2023-02-27 18:08 liu-huan 阅读(1144) 评论(0) 推荐(0) 编辑
摘要: 安装语言包 sudo apt-get -y install locales xfonts-intl-chinese fonts-wqy-microhei 语言环境设置 sudo dpkg-reconfigure locales 使用空格键选中en_US.UTF-8 UTF-8、zh_CN.UTF-8 阅读全文
posted @ 2023-02-27 18:07 liu-huan 阅读(751) 评论(0) 推荐(0) 编辑
摘要: 下载deb包到某文件夹 在某文件夹右键“在这里打开终端”,此时可以看到,终端里的路径就是该文件夹的路径 为了保险起见,我们先执行下面的指令: sudo apt-get update 安装deb包(tips:) sudo dpkg -i packname 输入packname时可以tab补全, 若出现 阅读全文
posted @ 2023-02-27 18:05 liu-huan 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 备份配置文件: sudo cp -a /etc/apt/sources.list /etc/apt/sources.list.ubuntu 修改sources.list文件,将http://archive.ubuntu.com和http://security.ubuntu.com替换成http:// 阅读全文
posted @ 2023-02-27 18:04 liu-huan 阅读(1030) 评论(0) 推荐(0) 编辑
摘要: adb 连接指令: adb connect 172.16.101.75:6888 adb 重新加载 adb remount rw adb 进入shell adb shell adb 退出 exit adb 从远端拉取文件/storage/emulated/pull.txt到本地 Ubuntu 当前文 阅读全文
posted @ 2023-02-27 17:57 liu-huan 阅读(42) 评论(0) 推荐(0) 编辑