在本教程中,我们学习如何在 Ubuntu 18.04。 Cutecom 是图形串口终端,类似于 minicom
介绍
在本教程中我们学习如何安装 cutecom
在 Ubuntu 18.04。
什么是 cutecom
可爱com是:
Cutecom 是一个图形串行终端,类似于 minicom。 它主要针对硬件开发人员或其他需要终端与其设备通信的人。 它具有面向行的接口而不是面向字符的接口、xmodem、ymodem、zmodem 支持(需要 lrzsz 包)以及十六进制输入和输出等。 它最初是使用 Trolltech 的 Qt 库编写的(www.trolltech.com)。
有三种安装方法 cutecom
在 Ubuntu 18.04。 我们可以用 apt-get
, apt
和 aptitude
。 在以下部分中,我们将描述每种方法。 您可以选择其中之一。
更新 apt 数据库 apt-get
使用以下命令。
更新apt数据库后,我们可以安装 cutecom
使用 apt-get
通过运行以下命令:
sudo apt-get -y install cutecom
更新 apt 数据库 apt
使用以下命令。
更新apt数据库后,我们可以安装 cutecom
使用 apt
通过运行以下命令:
sudo apt -y install cutecom
如果您想遵循此方法,您可能需要先安装 aptitude,因为 aptitude 通常不会默认安装 Ubuntu。 更新 apt 数据库 aptitude
使用以下命令。
更新apt数据库后,我们可以安装 cutecom
使用 aptitude
通过运行以下命令:
sudo aptitude -y install cutecom
仅卸载 cutecom
打包我们可以使用以下命令:
sudo apt-get remove cutecom
卸载cutecom及其依赖项
卸载 cutecom
及其不再需要的依赖项 Ubuntu 18.04,我们可以使用以下命令:
sudo apt-get -y autoremove cutecom
删除cutecom配置和数据
去除 cutecom
配置和数据来自 Ubuntu 18.04我们可以使用以下命令:
sudo apt-get -y purge cutecom
删除cutecom配置、数据及其所有依赖项
我们可以使用下面的命令来删除 cutecom
配置、数据及其所有依赖项,我们可以使用以下命令:
sudo apt-get -y autoremove --purge cutecom
参考
概括
在本教程中我们学习如何安装 cutecom
封装在 Ubuntu 18.04 使用不同的包管理工具: apt
, apt-get
和 aptitude
。