在本教程中,我们学习如何安装 libcommoncpp2-dbg Ubuntu 18.04。 libcommoncpp2-dbg 是 Common C++ 2 的调试符号
介绍
在本教程中我们学习如何安装 libcommoncpp2-dbg
在 Ubuntu 18.04。
什么是 libcommoncpp2-dbg
libcommoncpp2-dbg 是:
Common C++ 是一个 GNU 软件包,它提供了系统服务(例如线程、网络和套接字)的可移植“抽象”。 Common C++ 还提供了通常对开发可移植 C++ 应用程序有用的单独框架,包括对象持久性引擎、数学库、线程、套接字等。Common C++ 很小,并且高度可移植。 除了 GNU/ 之外,Common C++ 将支持大多数 Unix 操作系统以及 Win32Linux。
该包包含调试符号。
有三种安装方法 libcommoncpp2-dbg
在 Ubuntu 18.04。 我们可以用 apt-get
, apt
和 aptitude
。 在以下部分中,我们将描述每种方法。 您可以选择其中之一。
使用 apt-get 安装 libcommoncpp2-dbg
更新 apt 数据库 apt-get
使用以下命令。
更新apt数据库后,我们可以安装 libcommoncpp2-dbg
使用 apt-get
通过运行以下命令:
sudo apt-get -y install libcommoncpp2-dbg
使用 apt 安装 libcommoncpp2-dbg
更新 apt 数据库 apt
使用以下命令。
更新apt数据库后,我们可以安装 libcommoncpp2-dbg
使用 apt
通过运行以下命令:
sudo apt -y install libcommoncpp2-dbg
使用 aptitude 安装 libcommoncpp2-dbg
如果您想遵循此方法,您可能需要先安装 aptitude,因为 aptitude 通常不会默认安装 Ubuntu。 更新 apt 数据库 aptitude
使用以下命令。
更新apt数据库后,我们可以安装 libcommoncpp2-dbg
使用 aptitude
通过运行以下命令:
sudo aptitude -y install libcommoncpp2-dbg
如何卸载 libcommoncpp2-dbg Ubuntu 18.04
仅卸载 libcommoncpp2-dbg
打包我们可以使用以下命令:
sudo apt-get remove libcommoncpp2-dbg
卸载 libcommoncpp2-dbg 及其依赖项
卸载 libcommoncpp2-dbg
及其不再需要的依赖项 Ubuntu 18.04,我们可以使用以下命令:
sudo apt-get -y autoremove libcommoncpp2-dbg
删除 libcommoncpp2-dbg 配置和数据
去除 libcommoncpp2-dbg
配置和数据来自 Ubuntu 18.04我们可以使用以下命令:
sudo apt-get -y purge libcommoncpp2-dbg
删除 libcommoncpp2-dbg 配置、数据及其所有依赖项
我们可以使用下面的命令来删除 libcommoncpp2-dbg
配置、数据及其所有依赖项,我们可以使用以下命令:
sudo apt-get -y autoremove --purge libcommoncpp2-dbg
参考
概括
在本教程中我们学习如何安装 libcommoncpp2-dbg
封装在 Ubuntu 18.04 使用不同的包管理工具: apt
, apt-get
和 aptitude
。