# Install tgif with Homebrew, apt, dnf, MacPorts

Xlib-based interactive 2D drawing tool. Version 4.2.5 via Homebrew; verified from local package data. Also installable with debian: sudo apt install tgif.

## 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## Package facts

- **Package key:** brew:tgif
- **Package manager:** Homebrew
- **Version:** 4.2.5
- **Source summary:** Xlib-based interactive 2D drawing tool
- **Homepage:** <https://sourceforge.net/projects/tgif/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- tgif (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 4.2.5
## 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
## 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-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## Combined YAML source

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


## Sources

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