# 使用 Homebrew, dnf, MacPorts, Nix, apt 安装 gdrive-downloader

查看 gdrive-downloader 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:gdrive-downloader
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gdrive-downloader
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gdl
```

  证据: MacPorts ports tree: gnome/gdl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install gdl
```

  证据: Fedora Rawhide package metadata: gdl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gdl
```

  证据: nixpkgs package indexes: pkgs/by-name/gd/gdl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Ubuntu apt (92%):

```sh
sudo apt install gir1.2-gdl-3
```

  证据: Ubuntu 24.04 LTS package indexes: gir1.2-gdl-3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## 软件包事实

- **软件包键:** brew:gdrive-downloader
- **软件包管理器:** Homebrew
- **版本:** 2.0
- **来源摘要:** Download a gdrive folder or file easily, shell ftw
- **主页:** <https://github.com/Akianonymus/gdrive-downloader>
- **仓库:** <https://github.com/Akianonymus/gdrive-downloader>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gdl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.0
## 项目历史与用法

gdrive-downloader is a Bash-based Google Drive downloader distributed as the gdl command, focused on downloading public or authenticated files and folders with minimal native dependencies.

### 项目历史

The official repository was created in 2020 and describes the project as a collection of Bash 4.x shell scripts for Google Drive downloads. Its README emphasizes minimalism, folder support, resumable downloads, parallel downloading, pretty logging, authentication support, and self-update behavior.

The project is packaged as shell scripts rather than as a compiled client or Python library, with an installer that defaults to placing the command under $HOME/.gdrive-downloader and wiring it into the user's shell startup file.

### 采用历史

The official release list shows tagged releases beginning with v1.0 in 2022, followed by v1.1 in 2023 and v2.0 in 2026. The input package facts show it later appearing in Homebrew and other package-manager indexes under the gdrive-downloader or gdl names.

### 使用方式

Users run gdl to download Google Drive files or folders, with options for authentication, multiple inputs, progress bars, interrupted-download resume, and per-user installation without root access.

### 为什么软件包爱好者会关心

Its package-nerd appeal is that it stays close to portable shell tooling: curl, xargs, grep, sed, jq, and related POSIX-style utilities. That makes it easy to inspect and vendor into shell-heavy environments where a full Google Drive client would be more machinery than needed.

### 时间线

- 2020: Official GitHub repository created.
- 2022: v1.0 release published.
- 2023: v1.1 release published.
- 2026: v2.0 release published with refactoring and bug fixes.

### Related projects

- gdrive-downloader sits near gdown in the Google Drive downloader niche, but uses shell scripts rather than Python. It is also adjacent to OAuth-capable Drive clients such as glotlabs/gdrive for users who need broader Drive management.

### 来源

- <https://github.com/Akianonymus/gdrive-downloader>
- <https://github.com/Akianonymus/gdrive-downloader#readme>
- <https://github.com/Akianonymus/gdrive-downloader/releases>


## 安全说明

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal

## 其他软件包管理器记录

- MacPorts - gdl: installed executable or alias match | MacPorts ports tree: gnome/gdl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - gdl: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/gd/gdl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gir1.2-gdl-3 - 3.40.0-2build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: gir1.2-gdl-3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GObject introspection data for the GDL library
- Ubuntu apt - libgdl-3-5 - 3.40.0-2build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libgdl-3-5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNOME DevTool libraries
- Ubuntu apt - libgdl-3-common - 3.40.0-2build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libgdl-3-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNOME DevTool libraries - common files
- Ubuntu apt - libgdl-3-dev - 3.40.0-2build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libgdl-3-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNOME DevTool libraries - development files
- Ubuntu apt - libgdl-3-doc - 3.40.0-2build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libgdl-3-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNOME DevTool libraries - documentation
- dnf - gdl - 1.1.3-5.fc45: installed executable or alias match | Fedora Rawhide package metadata: gdl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GNU Data Language | http://gnudatalanguage.sourceforge.net/
- dnf - gdl-common - 1.1.3-5.fc45: installed executable or alias match | Fedora Rawhide package metadata: gdl-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Common files for GDL | http://gnudatalanguage.sourceforge.net/
- dnf - python3-gdl - 1.1.3-5.fc45: installed executable or alias match | Fedora Rawhide package metadata: python3-gdl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GDL python module | http://gnudatalanguage.sourceforge.net/


## Combined YAML source

View the package source record on GitHub. [combined/gdrive-downloader.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gdrive-downloader.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
