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 | 32 Comments »

32 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: […]

  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: […]

  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)

    -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

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

    All Inquiries Below

    WhatsApp: +237673528224

    Cow /Ox Gallstones


    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%


    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: […]

  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
    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


    whatsapp number….+1(585) 902-8245
    Bitcoin private key retrieval

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

    … [Trackback]

    […] Read More Information here on that Topic: […]

  11. foxfranky Says:
    June 13th, 2022 at 17:31

    best place to buy counterfeit money,How to get counterfeit money,order counterfeit US Dollar online,Buy counterfeit money online,High quality undetectable counterfeit US Dollar Banknotes,High quality counterfeit money for sale,Buy banknotes,Buy 100% undetectable counterfeit money,Buy high quality counterfeit money,Purchase counterfeit banknotes,Buy high quality counterfeit banknotes online,undetectable banknotes,undetectable fake money for sale,Buy fake money online that looks real, who sales the best counterfeit money,Free sample counterfeit money,buy counterfeit money in UK,Buy counterfeit money from USA,High quality undetectable counterfeit banknotes for sale,Order Euro Banknotes counterfeit online,High quality counterfeit bills for sale,How to buy money and avoid scams,whole sale prices for counterfeit banknotes,Buy counterfeit USD Online,undetectable counterfeit money for sale,Where to buy counterfeit money online,counterfeit money for sale,high quality undetectable counterfeit money for sale,buy udetectable counterfeit money,Buy undetectable counterfeit banknotes online,buy undetectable counterfeit money online,Buy counterfeit money US Dollars,Buy counterfeit US Dollars Online,How to get counterfeit money,Order counterfeit US Dollars online,Purchase counterfeit banknotes online,Who sells the best counterfeit money,Buy counterfeit banknotes online USA,Buy counterfeit money from USA,buy counterfeit USD,

  12. Buy High Quality Counterfeit Money Online Says:
    June 17th, 2022 at 10:09

    Buy High Quality Counterfeit Money Online

    When anybody talks about counterfeit currency one thing that comes to mind is that fake money. But counterfeit money is not
    fake instead it looks like 100% real currency. Most people who are new to counterfeit money often come with a query where
    can I buy high quality counterfeit money online. The answer is search on the internet there are many companies who print
    counterfeit banknotes for sale.

    Many of these companies have a long experience in professionally selling this undetectable fake money of all major currencies
    of nations. As per the need, one can Buy Dollars, Pounds, Euros, Yen, Yuan, Royal, Rand and list is extensive.

    An interested person can buy counterfeit money online by placing the order and delivery of packages is done through trustworthy
    courier companies who safely deliver the orders within 3-5 working business days. The packaging is done with
    100% professionalism to keep the money safe and for convenience, big orders are converted into smaller ones.

    WhatsApp …+1(234) 386-3720

  13. สล็อตวอเลท ไม่มีขั้นต่ำ Says:
    July 20th, 2022 at 19:35

    … [Trackback]

    […] Info to that Topic: […]

  14. iptv kaufen Says:
    July 26th, 2022 at 08:49

    … [Trackback]

    […] Find More here on that Topic: […]

  15. Loyalty Says:
    July 26th, 2022 at 17:47


    counterfeit money for sale

  16. Royalty Says:
    July 26th, 2022 at 17:48


    ssd chemical solution

  17. lima Says:
    July 26th, 2022 at 17:49

    buy oxycodone-20-mg

    Oxycodon 20mg Kopen

  18. frank weiyba Says:
    July 29th, 2022 at 06:45 Genuinenotes ist eine diskrete Lösung für gefälschte Banknoten. Je nach Bedarf können Sie auf der Website eine Anfrage für nicht nachweisbare gefälschte Superbanknoten stellen. Wir sind ein hochwertiges Produktionshaus für authentische Drucklösungen für Banknoten. Unsere Arbeit reicht von der Generierung von Substraten und Sicherheitsmerkmalen bis hin zum Bedrucken von Banknoten. Unsere High-Tech-Lösungen gewährleisten Falschgeld in der besten Qualität der Welt. Schauen Sie sich unsere aktuelle Kollektion für verschiedene Währungen zum Verkauf an.

  19. sbobet Says:
    August 6th, 2022 at 07:47

    … [Trackback]

    […] Find More Information here on that Topic: […]

  20. sbobet Says:
    August 10th, 2022 at 23:03

    … [Trackback]

    […] Read More here on that Topic: […]

  21. buying dapple dachshund puppies for sale Says:
    August 28th, 2022 at 15:01

    buying long haired miniature dachshund

  22. buying dapple dachshund puppies for sale Says:
    August 28th, 2022 at 15:11

    buying mini dachshund puppies

  23. youtube video Says:
    August 31st, 2022 at 04:04

    … [Trackback]

    […] Read More to that Topic: […]

  24. Counterfeit Says:
    September 2nd, 2022 at 23:23

    Wondering How possible is this going to be? Check the quality and let me know…
    Quality of our invoices All denominations ?
    Pass the pen test ?
    Micro-printing ?
    High quality plastic papers ?
    High quality print ?
    Correct colors ?
    Correct gaskets ?
    Correct serial number font ?
    Holograms and holographic stripes ?
    Micro lettering ?
    Metallic ink and thread ? Watermark ?
    Infrared detection ?
    Ultraviolet properties ?
    Discover the features ?
    ??Now you know you’ve maybe been using this for long now without even knowing.

  25. บาคาร่าเว็บตรง Says:
    September 4th, 2022 at 21:52

    … [Trackback]

    […] Find More on that Topic: […]

  26. buying long haired miniature dachshund Says:
    September 5th, 2022 at 10:39

    buying mini dachshund puppies for sale

  27. buying dachshund puppies Says:
    September 5th, 2022 at 10:41

    buy dapple dachshund puppies

  28. passive income apps Says:
    October 12th, 2022 at 19:11

    … [Trackback]

    […] Read More to that Topic: […]

  29. sbobet Says:
    December 16th, 2022 at 09:50

    … [Trackback]

    […] Find More to that Topic: […]

  30. อ่านมังงะ Says:
    December 17th, 2022 at 10:39

    … [Trackback]

    […] Read More to that Topic: […]

  31. Bilskrot i Kungälv Says:
    December 19th, 2022 at 14:45

    … [Trackback]

    […] Here you will find 39674 more Info to that Topic: […]

  32. btvslot Says:
    January 14th, 2023 at 18:17

    … [Trackback]

    […] Find More here on that Topic: […]