Ubuntu installation package Find and install

Source: Internet
Author: User

Official package Source: http://packages.ubuntu.com/

Current installed packages under Ubuntu are guaranteed to exist in:/var/cache/apt/archives

Current installation under Ubuntu:/usr/share/applications

The package looks for the installed command form, there are two types of: Apt and dpkg,, generally used is apt command;

Apt: Command function Apt-cache search Package Apt-cache Show packages get information about package, such as description, size, version, etc. sudo apt-get install package sudo apt-ge T install package--Reinstall Reinstall Pack sudo apt-get-f install force install sudo apt-get Remove package remove sudo apt-get remove packag E--Purge delete package, including delete profile etc sudo apt-get autoremove automatically delete unwanted packages sudo apt-get update update source sudo apt-get upgrade update installed packages sudo apt-get Dist-upgrade upgrade system sudo apt-get dselect-upgrade use Dselect upgrade Apt-cache depends package learn to use a dependency Apt-cache Rdepends package to learn about a Specific dependencies sudo apt-get BUILD-DEP package installation related compilation environment Apt-get source packages Download the source code of the bundle sudo apt-get clean && sudo apt-get aut Oclean Clean up the archive for the downloaded file sudo apt-get check to see if there is a corrupted dependency

Dpkg

Dpkg-l View information about the packages that are already installed on the current system

Dpkg-l (package name) View a detailed list of installed software files in the system
Dpkg-s View details of the specified packages that have been installed
Dpkg-s viewing a file in the system belongs to that package;
Dpkg-i installation of *.deb files
Dpkg-r the uninstallation of the *.deb file;
Dpkg-p thorough uninstallation including software configuration files, etc.
To view the Deb package commands that are not installed
Dpkg-c query the files contained in the Deb package file Rpm-qlp
Dpkg-i Query the Deb package for more information

Ubuntu installation package Find and install

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.