Compdigitec Labs

« | Home | »

Using dpkg in Ubuntu and Debian

By admin | July 29, 2008

For those of you who are stuck in an command line (bash) environment with no access to Synaptic, here are 9 useful and clear tips to help you to get the hang of package management with dpkg in the Ubuntu Linux and Debian Linux distributions.

  1. dpkg –install (or dpkg -i) – Installs the specified package. Example:
    sudo dpkg --install package.deb
  2. dpkg –remove (or dpkg -r) – Removes the specified package. Example:
    sudo dpkg --remove package
  3. dpkg –remove –purge (or dpkg -r -P) – Removes the specified package and purges all configuration data. Example:
    sudo dpkg --remove --purge package
  4. dpkg –unpack directory/ – Unpacks the package’s contents into directory/. Example:
    dpkg --unpack package.deb directory/
  5. dpkg –listfiles (or dpkg -L) – Lists the files that the specified package contains. Example:
    dpkg --listfiles package
  6. dpkg –list (or dpkg -l) – List the package details in great detail. Example:
    dpkg --list package
  7. dpkg –status (or dpkg -s) – Lists the package status in detail, along with version, description and architecture information. Example:
    dpkg --status package
  8. dpkg –root=/directory –install (or dpkg –root=/directory -i) – Install the package into /directory other than root. Example:
    sudo dpkg --root=/directory --install package
  9. dpkg –simulate command (or dpkg –dry-run) – Simulates what would happen if you did run the command command for real. Example:
    sudo dpkg --simulate command

So there you have it, 9 simple yet very effective tips to package management with dpkg on Ubuntu and Debian. If this article helped you, please help us spread the word!

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: Linux | 10 Comments »

10 Responses to “Using dpkg in Ubuntu and Debian”

  1. User links about "dpkg" on iLinkShare Says:
    March 7th, 2009 at 18:24

    […] saved by marythor 29 days ago6 votesHacking LiveCD Ubuntu>> saved by MuggleSam 33 days ago2 votesUsing dpkg in Ubuntu and Debian>> saved by Sonicsiem 36 days ago3 votesdpkg: subprocess post-removal script returned error exit […]

  2. relx Says:
    February 7th, 2022 at 19:44

    … [Trackback]

    […] Read More on to that Topic: compdigitec.com/labs/2008/07/29/using-dpkg-in-ubuntu-and-debian/ […]

  3. Counterfeit Money For Sale Online Buy Real Passport Online Buy Fake Passport Online Buy Undetectable Counterfeit Money Online Buy Real and Fake Documents Online Buy Real and Fake Passport Online Work Permit Online Quality Counterfeit Money For Sale Buy High Quality Counterfeit Money Online Buy counterfeit USA dollar bills online Fake Documents Buy counterfeit Euro €200 Bills online Buy counterfeit Canadian dollars online Buy counterfeit 50 Euro banknotes Buy counterfeit $10 bills online Buy counterfeit Euro 100 Bills Online Buy counterfeit 20 dollar bills Buy counterfeit USD $100 Bills online buy counterfeit banknotes online Buy counterfeit money online Buy undetectable counterfeit money USA Says:
    February 19th, 2022 at 04:51

    … [Trackback]

    […] Find More on that Topic: compdigitec.com/labs/2008/07/29/using-dpkg-in-ubuntu-and-debian/ […]

  4. Buy Cow /Ox Gallstone Available On Stock Now @ (WhatsApp: +237673528224) Says:
    March 27th, 2022 at 10:30

    Buy Cow /Ox Gallstone Available On Stock Now @ (WhatsApp: +237673528224)

    DESCRIPTION
    -Full substance,
    -100% machine flayed
    -No ticks, no scratches, no humps
    -Size: 32 to 40 sq. ft.
    -Average size: 36 sq. ft.
    -Weight: 22kgs to 32kg
    -Average weight: 25kgs
    -Selection: 80% A/B, 20% C/D
    -Male 75% / Female 25%
    -1 x 40 container = 1700-2000 hides
    -Availability: 10 x 40 ft container
    – Impurity: No sand, No dust, No mud, No foreign object, no fats and no meat
    – Not available: No hair slip problem, No rotten Hides, No fats and meat on the Hides, No

    mule
    – No Holes, No Cuts, No Reheated,
    -Sand: non and clean from any other dust or mud.

    All Inquiries Below

    Email: infodocuments4@gmail.com
    WhatsApp: +237673528224

    Cow /Ox Gallstones

    Specifications

    Cow /Ox Gallstones for sale for (wholestone / brokenstone ratio is 80% / 20% )
    We are full time exporters of high quality natural ox gallstone.
    Our product obtained from disease free cattle.
    We can supply up to 10 Kg. monthly. Shipment prompt by air courier (DHL).

    Price depends on the ratio of wholestone / brokenstone.

    wholestone / brokenstone ratio is 80% / 20%
    wholestone / brokenstone ratio is 70%/30%
    wholestone / brokenstone ratio is 60%/40%

    Functions:

    To clear heat and release toxins.
    To eliminate endogenous wind and stop convulsions.
    to resolve phlegm and promote resuscitation.If you wish to try out what we
    have,then we will be so much so pleased to get your inquiry.

  5. Harry Lewis Says:
    April 1st, 2022 at 20:41

    This is an extremely smartly written article. I will make sure to bookmark it and return to read more of your helpful information. Thanks for the post. I’ll definitely return.

  6. kardinal stick Says:
    April 9th, 2022 at 19:32

    … [Trackback]

    […] Read More here on that Topic: compdigitec.com/labs/2008/07/29/using-dpkg-in-ubuntu-and-debian/ […]

  7. james robins Says:
    May 20th, 2022 at 17:27


    how to recover lost or stolen crypto funds,
    how to recover lost or stolen crypto currency,
    best crypto recovery service,
    how to make non spendable funds become spendable,
    best private key finder software or tools,
    how to unlock blocked crypto wallets,
    how to generate private key of any crypto address,
    how to recover crypto currency from fraudulent investment platforms,
    how to reclaim lost or stolen crypto currency,
    how to retrieve lost or stolen crypto currency from fake investment platforms,
    how to recover fake tokens and NFTs,
    private key,
    blockchain recover service,
    crypto recovery expert
    solution hack,

  8. buy counterfeit money online Says:
    May 24th, 2022 at 12:45

    Buy Counterfeit Money Online

    Counterfeit company is the best place to buy fake counterfeit money online. We offer only original high-quality counterfeit
    currency banknotes. Buy Counterfeit Money Online, whenever you need to get counterfeit money online, we are the leading
    team to undergo it personally without any threats. We started this business with the aim of reaching the top height.

    We will provide this service personally and includes a lot more things securely. Our 100% undetectable counterfeit money online
    is available anytime because are delivering is based on customer’s satisfaction. We are driven by quality providing
    100% satisfaction to our customers. We sell only high quality counterfeit currency notes forever

    https://www.counterfeitcompany.com/
    WhatsApp …+1(234) 386-3720

  9. Bitcoin private key recovery Says:
    May 24th, 2022 at 12:47

    Bitcoin private key recovery

    Bitcoin recovery online

    Even though recovery cases aren’t the same, our software can salvage most private keys in 10 minutes, tops. Bitcoin recovery expert
    You will get access to your crypto by the time you finish your coffee.Trust all Bitcoin private key tool for best accurate
    results.Bitcoin private key recovery tool.If you’re interested in our software, contact us to request a link to download the
    world’s best Bitcoin private key generator online. Restoring that key is easier than you think! Blockchain private key generator
    But each private key generated must be linked to the address it was generated for. This link uses a unique and embedded pattern
    in both the address and its private key as their medium of recognition and connection.Bitcoin private key recovery

    Now our software was designed to find this pattern code within the address and generate all possible private keys that follow
    this pattern by interchanging the patterns in all possible ways such as (1,2,3 is the pattern of an address this address and
    its private key will be linked to it via one of these patterns.Bitcoin private key finder

    ​So to find its linked key you will have to intermix the pattern as such 1,2,3 next 2,1,3 next 3,2,1 till you generate all
    possible mixed for the pattern and then scan all private keys linked to any of these patterns) So this unique pattern, when
    intermixed, will leave you with a list of 204 different private keys.​Bitcoin private key retrieval

    Note: Only ONE is the right private key which is guaranteed to work.Reverse Bitcoin transactions

    Use non-spendable funds

    Get a closer look of how the recovery works

    Contacts

    whatsapp number….+1(585) 902-8245
    Bitcoin private key retrieval
    https://www.bitcoinprivatekeytool.com

  10. บอลโลกโซนยุโรป Says:
    May 26th, 2022 at 19:34

    … [Trackback]

    […] Read More Information here on that Topic: compdigitec.com/labs/2008/07/29/using-dpkg-in-ubuntu-and-debian/ […]

Comments