• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

dget Command Examples in Linux

by Deepika

The dget command in Linux is a tool used to download Debian source packages from a Debian package archive using the command line. It is typically used by developers and advanced users to download packages for building and testing. The dget command is part of the devscripts package in Debian-based distributions such as Ubuntu, and can be installed using the package manager. Once installed, the dget command can be used by providing the URL of the package to download. For example, “dget http://ftp.debian.org/debian/pool/main/p/package/package_version.dsc” will download the source package for “package” at version “version” from the Debian archive.

dget Command Examples

1. Download a binary package:

# dget package_name

2. Download and extract a package source from its `.dsc` file:

# dget http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc

3. Download a package source tarball from its `.dsc` file but don’t extract it:

# dget -d http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc

Filed Under: Linux

Some more articles you might also be interested in …

  1. top Command Examples in Linux
  2. setfacl Command Examples in Linux
  3. nitrogen: command not found
  4. How to view file size/details from ls command in Unix
  5. vgchange: command not found
  6. comm: Select or reject lines common to two files. Both files must be sorted
  7. nautilus Command Examples in Linux
  8. “hg server” Command Examples
  9. swapon: command not found
  10. “git format-patch” Command Examples

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright