← 返回命令列表

Linux command

gdebi 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Install

gdebi [path/to/package.deb]

Example

gdebi --quiet [path/to/package.deb]

Example

gdebi --option [APT_OPTS] [path/to/package.deb]

Example

gdebi --root [path/to/root_directory] [path/to/package.deb]

Example

gdebi --version

说明

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.

参数

-q, --quiet
Suppress progress information
-o, --option _APT_OPTS_
Set an APT configuration option
--root _DIR_
Use alternative root directory
-n, --non-interactive
Run non-interactively (assume yes to all prompts)
--apt-line
Simulate only; print an apt-get install compatible line to stderr
--version
Display version information

FAQ

What is the gdebi command used for?

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.

How do I run a basic gdebi example?

Run `gdebi [path/to/package.deb]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -q, --quiet do in gdebi?

Suppress progress information