apt is the abbreviation of Advanced Packaging Tool, is an installation package management tool. So how do you use the apt command to manage the installation package? What are the parameters of the apt command? The following small series will give you a detailed introduction to the usage of the apt command in Ubuntu.
1 apt introduction
Advanced Packaging Tool (Advanced Packaging Tools) release of Debian and its derivatives (such as: ubuntu) package manager. APT can automatically download, configure, and install packages in binary or source code format.
The apt-get command generally requires root privileges to execute, so it is usually followed by the sudo command.
Matches with /etc/apt/sources.list.
2 apt common command set
apt-cache search packagename search package
apt-cache show packagename Get information about the package, such as description, size, version, etc.
apt-get install packagename install package
apt-get install packagename --reinstall reinstall package
apt-get -f install fix install”-f = –fix -missing”
apt-get remove packagename Delete package
apt-get remove packagename --purge Delete package, including deleting configuration files, etc.
apt-get update Update source
apt-get upgrade Updating installed packages
apt-get dist-upgrade Upgrading systems
apt-get clean Cleaning up useless packages
apt -get autoclean Clean up useless packages
apt-get check Check for corrupted dependencies
apt-get dselect-upgrade Use dselect to upgrade
apt-cache depends packagename Use dependencies
apt-cache rdepends packagename is to view the package Which package dependencies
apt-get build-dep packagename Install the relevant build environment
apt-get source packagename Download the source code of the package
The above is the apt command in Ubuntu The usage of the apt command can be used to install, delete, clean up, etc., similar to the software management tools in Windows.
We all know that shell commands can be easily executed under Linux. Can you execute shell commands o
When you want to use the Ubuntu system, you dont have to reinstall the Ubuntu syste
CKEditor is commonly referred to fCKEDITOR, it is an excellent web editor, can supp
OpenSSL is a command-line tool. Linux can use OpenSSL for some command-line related
Linux system how to set the read access of the .net IIS metabase
Ubuntu notebook to increase heat dissipation through Bumblebee
Detailed examples of the use of rz commands under Linux
Linux system how to use the crond command
How to configure Nginx under Linux to restrict website users to use proxy IP access
The difference between Apache and Tomcat in Linux system is
Handling of the Segmentation fault error in Linux programming
Two methods of Deepin system update
Ubuntu closes the discrete graphics card step
How to use uniq command to delete text duplicate lines in Linux system
How to improve the speed of Google Chrome running under Linux?
Win7 recycle bin right-click menu property options are gone, how to do
How to clear the avatar record used by Win10 system?
Win8 tile IE is not open on the desktop
The user finds that the Cortana file is blocked and causes the Win10 system to fail to restore.
DISM command to release Win8.1
Win10 Mobile preview version 14926 appears SIM card recognition and other issues how to solve
Linux enthusiasts: share my vision of the Linux community
Win10 mobile one-hand operation video tutorial
Windows explains why it is necessary to redesign the system interface