LinuxCommandLibrary

gdebi

TLDR

Install local .deb packages resolving dependencies

$ gdebi [path/to/package.deb]
copy
Do not show progress information
$ gdebi [path/to/package.deb] -q
copy
Set an APT configuration option
$ gdebi [path/to/package.deb] -o [APT_OPTS]
copy
Use alternative root dir
$ gdebi [path/to/package.deb] --root [path/to/root_directory]
copy
Display version
$ gdebi --version
copy

SYNOPSIS

gdebi [options] package.deb

DESCRIPTION

gdebi is a tool for installing local .deb packages on Debian-based systems. Unlike dpkg -i, gdebi automatically resolves and installs package dependencies from configured APT repositories before installing the local package.
This makes it ideal for installing downloaded .deb files that have dependencies not already satisfied on the system. gdebi will fetch required packages from the repository and install them in the correct order.
A graphical version (gdebi-gtk) is also available for desktop use.

PARAMETERS

-q, --quiet

Suppress progress information
-o, --option APTOPTS_
Set an APT configuration option
--root DIR
Use alternative root directory
-n, --non-interactive
Run non-interactively (assume yes to all prompts)
--apt-line
Print APT sources.list line for the package
--version
Display version information

CAVEATS

Requires configured APT repositories to resolve dependencies. Cannot resolve dependencies that aren't available in configured repositories. For packages with complex dependencies, prefer adding a proper repository rather than installing standalone .deb files.

HISTORY

gdebi was developed for Ubuntu and Debian to solve the common problem of installing downloaded .deb packages that dpkg alone cannot handle due to unmet dependencies. It became a standard tool in Ubuntu's desktop installations.

SEE ALSO

dpkg(1), apt(8), apt-get(8)

Copied to clipboard