debian安装kali
Ubuntu, Debian, Kali, and Mint use the same package management software named dpkg and apt. Updating OS is an important part of the system administration. We will look at how to update and upgrade deb
based distributions.
Ubuntu,Debian,Kali和Mint使用相同的软件包管理软件dpkg和apt。 更新操作系统是系统管理的重要部分。 我们将研究如何更新和升级基于deb
的发行版。
更新包索引 (Update Package Index)
The first step to updating packages for Ubuntu, Debian, Kali, and Mint is updating the package index. The package index holds the most recent available packages from the repository and crosscheck with already installed packages. Than upgrade-able packages are created. We need root privileges to run this command. So we will use sudo
command.
为Ubuntu,Debian,Kali和Mint更新软件包的第一步是更新软件包索引。 软件包索引包含存储库中最新可用的软件包,并与已安装的软件包进行交叉检查。 创建了超过可升级的软件包。 我们需要root特权才能运行此命令。 所以我们将使用sudo
命令。
$ sudo apt update
列出可升级的软件包(List Upgradeable Packages)
We can list currently upgrade-able packages. We will use apt list
command with --upgradeable
option.
我们可以列出当前可升级的软件包。 我们将使用带有--upgradeable
选项的apt list
命令。
$ sudo apt list --upgradeable
升级所有套餐 (Upgrade All Packages)
Now we have the required information to upgrade packages. We also know which packages will be upgraded by