如何安装 cloudkitty-common Ubuntu 18.04

在本教程中,我们学习如何安装 cloudkitty-common Ubuntu 18.04。 cloudkitty-common 是 OpenStack 评级即服务 – 通用文件

介绍

在本教程中我们学习如何安装 cloudkitty-common 在 Ubuntu 18.04。

什么是 cloudkitty-common

cloudkitty-常见的是:

CloudKitty 旨在填补云高计等指标收集系统和计费系统之间的空白。

每个指标都是通过不同的评级模块收集、聚合和处理的。 然后,您可以查询 CloudKitty 的存储以检索处理后的数据并轻松生成报告。

CloudKitty 的大部分部分都是模块化的,因此您可以轻松扩展基本代码来解决您的特定用例。

该软件包包含 Cloudkitty 的常用文件。

有三种安装方法 cloudkitty-common 在 Ubuntu 18.04。 我们可以用 apt-get, aptaptitude。 在以下部分中,我们将描述每种方法。 您可以选择其中之一。

使用 apt-get 安装 cloudkitty-common

更新 apt 数据库 apt-get 使用以下命令。

更新apt数据库后,我们可以安装 cloudkitty-common 使用 apt-get 通过运行以下命令:

sudo apt-get -y install cloudkitty-common

使用 apt 安装 cloudkitty-common

更新 apt 数据库 apt 使用以下命令。

更新apt数据库后,我们可以安装 cloudkitty-common 使用 apt 通过运行以下命令:

sudo apt -y install cloudkitty-common

使用 aptitude 安装 cloudkitty-common

如果您想遵循此方法,您可能需要先安装 aptitude,因为 aptitude 通常不会默认安装 Ubuntu。 更新 apt 数据库 aptitude 使用以下命令。

更新apt数据库后,我们可以安装 cloudkitty-common 使用 aptitude 通过运行以下命令:

sudo aptitude -y install cloudkitty-common

如何卸载 cloudkitty-common Ubuntu 18.04

仅卸载 cloudkitty-common 打包我们可以使用以下命令:

sudo apt-get remove cloudkitty-common

卸载cloudkitty-common及其依赖项

卸载 cloudkitty-common 及其不再需要的依赖项 Ubuntu 18.04,我们可以使用以下命令:

sudo apt-get -y autoremove cloudkitty-common

删除 cloudkitty 通用配置和数据

去除 cloudkitty-common 配置和数据来自 Ubuntu 18.04我们可以使用以下命令:

sudo apt-get -y purge cloudkitty-common

删除 cloudkitty-common 配置、数据及其所有依赖项

我们可以使用下面的命令来删除 cloudkitty-common 配置、数据及其所有依赖项,我们可以使用以下命令:

sudo apt-get -y autoremove --purge cloudkitty-common

参考

概括

在本教程中我们学习如何安装 cloudkitty-common 封装在 Ubuntu 18.04 使用不同的包管理工具: apt, apt-getaptitude