# Install tgif with Homebrew, apt, dnf, MacPorts

Xlib-based interactive 2D drawing tool. Version 4.2.5 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tgif
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tgif
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:tgif
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tgif>
- **Version:** 4.2.5
- **Source summary:** Xlib-based interactive 2D drawing tool
- **Homepage:** <https://sourceforge.net/projects/tgif/>
- **Upstream docs:** <https://bourbon.usc.edu/tgif>
- **License:** QPL-1.0
- **Source archive:** <https://downloads.sourceforge.net/project/tgif/tgif/4.2.5/tgif-QPL-4.2.5.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- tgif (cli)
- tgif (alias)

## Dependencies

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

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.2.5
- Local data: ok
- Upstream repository: https://sourceforge.net/projects/tgif/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- 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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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 Details

- **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

## Other Package-Manager Records

- 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-35.fc44: normalized package name match | Fedora Rawhide package metadata: tgif from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [libidn](https://www.automicvault.com/pkg/brew/libidn/) - Runtime dependency declared by Homebrew.
- [ivtools](https://www.automicvault.com/pkg/brew/ivtools/) - Shares av.db curated category or tags: cli, drawing, graphics, media, vector-graphics.
- [xfig](https://www.automicvault.com/pkg/brew/xfig/) - Shares av.db curated category or tags: cli, drawing, graphics, media, vector-graphics.
- [fig2dev](https://www.automicvault.com/pkg/brew/fig2dev/) - Shares av.db curated category or tags: cli, graphics, media, vector-graphics.
- [gd](https://www.automicvault.com/pkg/brew/gd/) - Shares av.db curated category or tags: c, cli, graphics, media.
- [glew](https://www.automicvault.com/pkg/brew/glew/) - Shares av.db curated category or tags: c, cli, graphics, media.
- [imlib2](https://www.automicvault.com/pkg/brew/imlib2/) - Shares av.db curated category or tags: c, cli, graphics, media.
- [plotutils](https://www.automicvault.com/pkg/brew/plotutils/) - Shares av.db curated category or tags: cli, graphics, media, vector-graphics.
- [potrace](https://www.automicvault.com/pkg/brew/potrace/) - Shares av.db curated category or tags: cli, graphics, media, vector-graphics.

## Combined YAML source

View the package source record on GitHub. [combined/tgif.yml](https://github.com/automic-vault/db/blob/main/combined/tgif.yml)


## Sources

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