Linux dpkg Command __linux

Source: Internet
Author: User
Tags assert unpack
The dpkg command is a utility used by Debian Linux systems to install, create, and manage software packages.

A file that is used primarily to handle a. deb suffix name.

You typically use dpkg-i filename to install the. deb file.

The detailed syntax is as follows:
-i|--install <.deb file name> ... | -r|--recursive <directory> ...
--unpack <.deb file name> ... | -r|--recursive <directory> ...
-a|--record-avail <.deb file name> ... | -r|--recursive <directory> ...
--configure <package> ... | -a|--pending
--triggers-only <package> ... | -a|--pending
-r|--remove <package> ... | -a|--pending
-p|--purge <package> ... | -a|--pending
-v|--verify <package> ... Verify the integrity of package (s).
--get-selections [<pattern> ...] Get list of selections to stdout.
--set-selections Set package selections from stdin.
--clear-selections deselect every non-essential package.
--update-avail [<packages-file&gt] Replace available Packages info.
--merge-avail [<packages-file&gt] Merge with info from file.
--clear-avail Erase existing available info.
--forget-old-unavail Forget uninstalled unavailable pkgs.
-s|--status <package> ... Display Package Status Details.
-p|--print-avail <package> ... Display available version details.
-l|--listfiles <package> ... List files ' owned ' by package (s).
-l|--list [<pattern> ...] List packages concisely.
-s|--search <pattern> ... Find package (s) owning file (s).
-c|--audit [<package> ...] Check for Broken package (s).
--yet-to-unpack Print packages selected for installation.
--predep-package Print pre-dependencies to unpack.
--add-architecture <arch> Add <arch> to the list of architectures.
--remove-architecture <arch> Remove <arch> from the list of architectures.
--print-architecture Print dpkg architecture.
--print-foreign-architectures print allowed foreign architectures.
--assert-<feature> assert support for the specified feature.
--compare-versions <a> <op> <b> Compare version Numbers-see below.
--force-help show help on forcing.
-dh|--debug=help Show Help on Debugging.

-?,--Help the show this help message.
--version Show the version.

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.