Ubuntu Software Installation and removal related commands
Installing the Software
Command: Apt-get install softname1 softname2 softname3 ...
Uninstalling software
Command: Apt-get remove softname1 softname2 softname3 ...
Uninstalling and clearing the configuration
Command: Apt-get Remove--purge softname1
Update the Software information database
Command: Apt-get update
Perform a system upgrade
Command: Apt-get Upgrade
Search Packages
Command: Apt-cache search softname1 softname2 softname3 ...
Deb Package-related installation and uninstallation
Installing the Deb Package
Command: Dpkg-i xxx.deb
Remove Package
Command: Dpkg-r xxx.deb
Deleted along with the configuration file
Command: Dpkg-r--purge xxx.deb
View package Information
Command: Dpkg-info xxx.deb
View File copy Details
Command: Dpkg-l xxx.deb
To view installed package information on the system
Command: Dpkg-l
Reconfigure the package
Command: dpkg-reconfigure XXX
Common apt commands
Apt-cache Search #------( PackageSearch Packages)
Apt-cache Show #------( Packageget information about a package, such as description, size, version, and more)
sudo apt-get Install #------( PackageInstall package)
sudo apt-get Install #-----(Package--ReinstallReinstall Package)
sudo apt-get-f Install #-----(Force Installation? # "-F =--fix-missing"when it's a repair installation....)
sudo apt-get Remove #-----( PackageDelete Package)
sudo apt-get Remove--Purge #------( PackageDelete packages, including deletion of configuration files, etc.)
sudo apt-get autoremove--purge #----( Packageto delete a package and its dependent packages+configuration files, etc. (only for6.10effective, highly recommended))
sudo apt-get update #------Update Source
sudo apt-get upgrade #------Update an installed package
sudo apt-get dist-upgrade #---------Upgrade your system
sudo apt-get dselect-upgrade #------UseDselectUpgrade
Apt-cache depends #-------( PackageUnderstanding the use of dependencies)
Apt-cache rdepends #------( Packageunderstand a specific dependency?#when it's time to see what packages the package depends on....)
sudo apt-get build-dep #------( PackageInstall the relevant compilation environment)
Apt-get Source #------( PackageDownload the source code for the package)
sudo apt-get clean && sudo apt-get autoclean #--------Clean up archive of downloaded files&&clean up outdated packages only
sudo apt-get check #-------Check for damaged dependencies
"Summary" Ubuntu common Install and uninstall software commands