在本教程中,我们学习如何安装 apt-dater Ubuntu 18.04。 apt-dater 是基于终端的远程包更新管理器
介绍
在本教程中我们学习如何安装 apt-dater
在 Ubuntu 18.04。
什么是 apt-dater
apt-dater 是:
apt-dater 提供了一个易于使用的 ncurses 前端,用于使用 SSH 和 apt-dater-host 管理大量远程主机上的软件包更新。 它支持 Debian基于托管主机以及 openSUSE 和 CentOS 为基础的系统。
有三种安装方法 apt-dater
在 Ubuntu 18.04。 我们可以用 apt-get
, apt
和 aptitude
。 在以下部分中,我们将描述每种方法。 您可以选择其中之一。
使用 apt-get 安装 apt-dater
更新 apt 数据库 apt-get
使用以下命令。
更新apt数据库后,我们可以安装 apt-dater
使用 apt-get
通过运行以下命令:
sudo apt-get -y install apt-dater
使用 apt 安装 apt-dater
更新 apt 数据库 apt
使用以下命令。
更新apt数据库后,我们可以安装 apt-dater
使用 apt
通过运行以下命令:
sudo apt -y install apt-dater
使用 aptitude 安装 apt-dater
如果您想遵循此方法,您可能需要先安装 aptitude,因为 aptitude 通常不会默认安装 Ubuntu。 更新 apt 数据库 aptitude
使用以下命令。
更新apt数据库后,我们可以安装 apt-dater
使用 aptitude
通过运行以下命令:
sudo aptitude -y install apt-dater
如何卸载 apt-dater Ubuntu 18.04
仅卸载 apt-dater
打包我们可以使用以下命令:
sudo apt-get remove apt-dater
卸载 apt-dater 及其依赖项
卸载 apt-dater
及其不再需要的依赖项 Ubuntu 18.04,我们可以使用以下命令:
sudo apt-get -y autoremove apt-dater
删除 apt-dater 配置和数据
去除 apt-dater
配置和数据来自 Ubuntu 18.04我们可以使用以下命令:
sudo apt-get -y purge apt-dater
删除 apt-dater 配置、数据及其所有依赖项
我们可以使用下面的命令来删除 apt-dater
配置、数据及其所有依赖项,我们可以使用以下命令:
sudo apt-get -y autoremove --purge apt-dater
参考
概括
在本教程中我们学习如何安装 apt-dater
封装在 Ubuntu 18.04 使用不同的包管理工具: apt
, apt-get
和 aptitude
。