在本教程中,我们学习如何安装 cutils Ubuntu 18.04。 cutils 是 C 源代码实用程序
介绍
在本教程中我们学习如何安装 cutils
在 Ubuntu 18.04。
什么是 cutils
角质层是:
该软件包包含几个对 C 源代码实用程序开发人员可能有用的实用程序,即: cdecl 和 cundecl – 解码和编码 C 类型声明 cobfusc – 使 C 源文件不可读但可编译 chilight – 突出显示 C 源文件 cunloop – 取消循环 C 循环yyextract – 从 yacc 语法中提取语法规则 yyref – yacc 语法参考程序
有三种安装方法 cutils
在 Ubuntu 18.04。 我们可以用 apt-get
, apt
和 aptitude
。 在以下部分中,我们将描述每种方法。 您可以选择其中之一。
使用 apt-get 安装 cutils
更新 apt 数据库 apt-get
使用以下命令。
更新apt数据库后,我们可以安装 cutils
使用 apt-get
通过运行以下命令:
sudo apt-get -y install cutils
使用 apt 安装 cutils
更新 apt 数据库 apt
使用以下命令。
更新apt数据库后,我们可以安装 cutils
使用 apt
通过运行以下命令:
sudo apt -y install cutils
使用 aptitude 安装 cutils
如果您想遵循此方法,您可能需要先安装 aptitude,因为 aptitude 通常不会默认安装 Ubuntu。 更新 apt 数据库 aptitude
使用以下命令。
更新apt数据库后,我们可以安装 cutils
使用 aptitude
通过运行以下命令:
sudo aptitude -y install cutils
如何卸载 cutils Ubuntu 18.04
仅卸载 cutils
打包我们可以使用以下命令:
sudo apt-get remove cutils
卸载cutils及其依赖项
卸载 cutils
及其不再需要的依赖项 Ubuntu 18.04,我们可以使用以下命令:
sudo apt-get -y autoremove cutils
删除 cutils 配置和数据
去除 cutils
配置和数据来自 Ubuntu 18.04我们可以使用以下命令:
sudo apt-get -y purge cutils
删除 cutils 配置、数据及其所有依赖项
我们可以使用下面的命令来删除 cutils
配置、数据及其所有依赖项,我们可以使用以下命令:
sudo apt-get -y autoremove --purge cutils
参考
概括
在本教程中我们学习如何安装 cutils
封装在 Ubuntu 18.04 使用不同的包管理工具: apt
, apt-get
和 aptitude
。