# 使用 Homebrew, apt, dnf, MacPorts 安装 tgif

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

## 安装

```sh
sudo av install brew:tgif
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tgif
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tgif
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install tgif
```

  证据: Debian stable package indexes: tgif from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install tgif
```

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

## 软件包事实

- **软件包键:** brew:tgif
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tgif>
- **版本:** 4.2.5
- **来源摘要:** Xlib-based interactive 2D drawing tool
- **主页:** <https://sourceforge.net/projects/tgif/>
- **上游文档:** <https://sourceforge.net/projects/tgif/>
- **许可证:** QPL-1.0
- **源码归档:** <https://downloads.sourceforge.net/project/tgif/tgif/4.2.5/tgif-QPL-4.2.5.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- tgif (cli)
- tgif (别名)

## 依赖

- libice
- libidn
- libsm
- libx11
- libxext
- libxmu
- libxt

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 4.2.5
- 本地数据: OK
- 上游仓库: https://sourceforge.net/projects/tgif/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Tgif is a long-running X11 vector drawing program for Unix-like systems. Its official home page describes it as an Xlib-based interactive 2-D drawing tool using vector graphics, while SourceForge presents it as a vector-based drawing tool and hyper-structured-graphics browser.

### 项目历史

The project predates modern source-hosting workflows and is distributed primarily through release tarballs and archive mirrors. The official download page identifies version 4.2 patchlevel 5 as the current release and publishes both QPL and free-of-charge source archives.

Tgif also developed an unusual web-era role: its official page says version 2.16, released on Dec 3, 1994, made it a hyper-structured-graphics editor/browser for the World-Wide-Web.

### 采用历史

Its adoption history is mostly package-archive based rather than GitHub based. The official download page explicitly points Linux users to apt-get and yum packages, and the Homebrew input records packaging in Homebrew, Debian, Fedora/DNF, MacPorts, and Ubuntu.

### 使用方式

Package users install it as the `tgif` executable for interactive drawing under X11. The official page emphasizes Linux and most Unix platforms, including Mac OS X and Cygwin on Windows.

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

Tgif is a good example of older Unix desktop software kept alive by package systems: the useful artifact is not a modern repo workflow, but a stable tarball, a manpage-like interface, and downstream maintainers making an X11-era tool installable on current systems.

### 时间线

- 1994: Version 2.16 adds hyper-structured-graphics web browsing/editing, according to the official home page.
- 2001: Version 4.1.41 begins parallel QPL and free-of-charge releases, according to the official download page.
- 2011: Version 4.2 patchlevel 5 appears in the official release notes.
- 2013: SourceForge records the project as a vector drawing and presentation-graphics tool.

### Related projects

- The official Tgif site links to other free vector drawing tools on the X Window System and to tools that work with Tgif.

### 来源

- Official Tgif download page: https://bourbon.usc.edu/tgif/download.html
- Official Tgif home page: https://bourbon.usc.edu/tgif/
- Official Tgif release notes index: https://bourbon.usc.edu/tgif/relnotes/
- SourceForge project page from source_facts.homepage: https://sourceforge.net/projects/tgif


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ${HOME}/.Xdefaults
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tgif
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - tgif - 1:4.2.5-2: normalized package name match | Debian stable package indexes: tgif from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | 2D vector graphic drawing tool using Xlib | http://bourbon.usc.edu/tgif/
- Ubuntu apt - tgif - 1:4.2.5-1.3build4: normalized package name match | Ubuntu 24.04 LTS package indexes: tgif from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | 2D vector graphic drawing tool using Xlib | http://bourbon.usc.edu/tgif/
- dnf - tgif - 4.2.5-37.fc45: normalized package name match | Fedora Rawhide package metadata: tgif from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | 2-D drawing tool | http://bourbon.usc.edu/tgif/
- MacPorts - tgif: normalized package name match | MacPorts ports tree: graphics/tgif/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [libidn](https://pkg.so/zh-hans/brew/libidn/) - Runtime dependency declared by Homebrew.
- [xfig](https://pkg.so/zh-hans/brew/xfig/) - Shares pkgdb curated category or tags: cli, drawing, media, vector-graphics, x11.
- [ivtools](https://pkg.so/zh-hans/brew/ivtools/) - Shares pkgdb curated category or tags: cli, drawing, media, vector-graphics, x11.
- [cairo](https://pkg.so/zh-hans/brew/cairo/) - Shares pkgdb curated category or tags: c, cli, media, vector-graphics.
- [libart](https://pkg.so/zh-hans/brew/libart/) - Shares pkgdb curated category or tags: c, cli, media, vector-graphics.
- [fontconfig](https://pkg.so/zh-hans/brew/fontconfig/) - Shares pkgdb curated category or tags: cli, media, x11.
- [jasper](https://pkg.so/zh-hans/brew/jasper/) - Shares pkgdb curated category or tags: c, cli, media.
- [gd](https://pkg.so/zh-hans/brew/gd/) - Shares pkgdb curated category or tags: c, cli, media.
- [alsa-lib](https://pkg.so/zh-hans/brew/alsa-lib/) - Shares pkgdb curated category or tags: c, cli, media.
- [imlib2](https://pkg.so/zh-hans/brew/imlib2/) - Local package facts share a topical domain. Shared terms: c, cli, graphics, libx11, libxext.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
