• 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

gdebi Command Examples in Linux

by Deepika

gdebi is a command-line tool for installing .deb files on Debian and Ubuntu Linux distributions. It is designed as a simple and user-friendly alternative to the dpkg tool, which is the default package installer on these systems.

The main advantage of gdebi over dpkg is its ability to automatically resolve and install dependencies. When you install a package using gdebi, it checks the package’s dependencies and downloads any missing packages from the system’s package repositories. This eliminates the need for manually installing dependencies and makes the installation process smoother and more reliable.

gdebi also has a few other features that make it more convenient to use than dpkg:

  • It can automatically download packages from the internet if they are not found in the local system.
  • It can also handle dependencies that are provided by other .deb packages.
  • It can also handle conflicts between packages.

The basic usage of gdebi is very simple, you just need to provide the name of the package you want to install.

# gdebi [package-name].deb

It’s also possible to use gdebi with a graphical user interface, which is called gdebi-gtk. gdebi is a convenient tool for installing .deb files on Debian and Ubuntu systems. Its ability to automatically resolve and install dependencies makes it a more user-friendly alternative to dpkg and makes it a good choice for users who want a simple and reliable way to install software on their system.

gdebi Command Examples

1. Install local `.deb` packages resolving and installing its dependencies:

# gdebi path/to/package.deb

2. Display the program version:

# gdebi --version

3. Do not show progress information:

# gdebi path/to/package.deb --quiet

4. Set an APT configuration option:

# gdebi path/to/package.deb --option=APT_OPTS

5. Use alternative root dir:

# gdebi path/to/package.deb --root=path/to/root_dir

Filed Under: Linux

Some more articles you might also be interested in …

  1. crunch: Wordlist generator (Command Examples)
  2. Linux Interview Questions : Open Files / Open File Descriptors
  3. htpasswd Command Examples
  4. How to effectively use Man Pages under Linux
  5. Linux OS Service ‘acpid’
  6. alex – A tool that catches insensitive, inconsiderate writing (Command Examples)
  7. Using cut on Linux Terminal
  8. “docker run” Command Examples
  9. uname Command Examples in Linux
  10. fossa: CLI for the Fossa service

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