Apt
or Advanced Package Tool
is a tool or application which is used to manage packages on Linux distributions. In Linux terminology, a package is an application, library, tool which is similar to the program on Windows. Linux distributions generally use centralized repositories to install and update applications where the package is provided by these repositories.
Apt
或Advanced Package Tool
是用于在Linux发行版上管理软件包的工具或应用程序。 用Linux术语来说,包是类似于Windows上的程序的应用程序,库,工具。 Linux发行版通常使用集中存储库来安装和更新由这些存储库提供软件包的应用程序。
APT is mainly used by deb based distributions like Ubuntu, Debian, Mint, Kali, etc. APT is tightly integrated with these distributions even another package management software is available.
APT主要用于基于deb的发行版,如Ubuntu,Debian,Mint,Kali等。APT与这些发行版紧密集成,甚至可以使用其他软件包管理软件。
The apt package manager is created in March 1998 and used more than 20 years. The latest version is 1.8 because package management to not pose new functions.
apt软件包管理器创建于1998年3月,使用了20多年。 最新版本是1.8,因为软件包管理不会带来新功能。
Apt和Dpkg关系 (Apt and Dpkg Relation)
Apt is used with the deb based packages where deb is a packaging format created and used for dpkg package management tool. Dpkg and Apt are tools used to accomplish each other where dpkg is used locally by providing the package name and location to install or name for removal where apt is a network or internet-based tool which will update, search, download, solve package dependencies from other package repositories using the internet. The installation is done by dpkg in the background.
Apt与基于deb的软件包一起使用,其中deb是为dpkg软件包管理工具创建并用于dpkg软件包管理工具的打包格式。 dpkg和Apt是用于互相配合的工具,其中dpkg在本地使用,方法是提供软件包名称和安装位置或要删除的名称,而apt是基于网络或互联网的工具,它将更新,搜索,下载并解决软件包的依赖性其他使用Internet的软件包存储库。 安装由dpkg在后台完成。
APT的用法和功能 (APT Usage and Functions)
Apt is a command-line tool where there ae GUI version also exists. System administrators generally use apt via command line with the apt subcommands. Most used apt subcommands can be listed just typing apt to the command line like below. Both software and package terms can be used in Linux interchangeably without a problem in most cases.
Apt是一个命令行工具,其中也存在GUI版本。 系统管理员通常通过命令行将apt与apt子命令一起使用。 只需在命令行中输入apt即可列出最常用的apt子命令,如下所示。 在大多数情况下,软件和软件包术语都可以在Linux中互换使用而不会出现问题。
$ apt
Command apt list
is used to list software or package that can be provided by repositories or currently listed in the system.
Command apt list
用于列出存储库可以提供或系统中当前列出的软件或软件包。
Command apt search
is used to search with a specific name, term, category or version on the repositories.
命令apt search
用于在存储库中搜索特定名称,术语,类别或版本。
Command apt show
is used to print and list installed or available software or package information like size, full name, version, category, maintainer, etc.
命令apt show
用于打印和列出已安装的或可用的软件或软件包信息,例如大小,全名,版本,类别,维护者等。
Command apt install
is used to install specified software or package.
命令apt install
用于安装指定的软件或软件包。
Command apt remove
is used to remove already installed software or package.
apt remove
命令用于删除已经安装的软件或软件包。
Command apt update
is used to get latest information about software and packages which are useful for upgrade and search.
Command apt update
用于获取有关软件和软件包的最新信息,这些信息对于升级和搜索很有用。
Command apt upgrade
is used to get and install the latest updates provided for the already installed software or packages.
Command apt upgrade
用于获取和安装为已安装的软件或软件包提供的最新更新。
Apt GUI (Apt GUI)
Even mainly used with via command line there are a lot of GUI interface implementations for the apt. GUI for apt provides easy usage with a single button clicks to update, install or remove software or packages.
即使主要与via命令行一起使用,apt也有很多GUI界面实现。 apt的GUI只需单击一下鼠标即可轻松使用,以更新,安装或删除软件或软件包。
Syntaptic
is one of the most popular GUI tool designed for the apt. It is using the GTK-based graphical user interface to provide a lot of package management features.
Syntaptic
是为apt设计的最受欢迎的GUI工具之一。 它使用基于GTK的图形用户界面来提供许多程序包管理功能。
The most popular tool for apt GUI is Ubuntu Software Center
. It is created by Ubuntu and integrated into the Ubuntu distribution. It provides easy package and software management in an integrated way with a clean and simple GUI.
apt GUI上最受欢迎的工具是Ubuntu Software Center
。 它由Ubuntu创建并集成到Ubuntu发行版中。 它通过干净简单的GUI以集成的方式提供了简单的软件包和软件管理。
APT替代品(APT Alternatives)
Apt is mainly used by deb package based distributions like Ubuntu, Debian, Mint, Kali but there are other alternatives that can be used instead of the apt package manager.
Apt主要用于基于deb软件包的发行版,如Ubuntu,Debian,Mint,Kali,但还有其他替代方法可以用来代替apt软件包管理器。
yum
, rpm
and dnf
are all of the same package management tools which are the main alternative for the apt. They can provide most of the apt functionality without problem but because of the general usage of the apt-based distributions changing the default package manager is not a straight forward way.
yum
, rpm
和dnf
都是相同的软件包管理工具,它们是apt的主要替代选择。 它们可以提供大多数apt功能而不会出现问题,但是由于基于apt的发行版的一般用法,因此更改默认程序包管理器并不是一种直接的方法。
翻译自: https://www.poftut.com/what-is-apt-advanced-package-tool-for-linux/