Automic VaultAutomic Vault

brew

Install dopewars with Homebrew, apt, MacPorts, Nix, pacman

Free rewrite of a game originally based on "Drug Wars". Version 1.6.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install dopewars

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install dopewars

MacPorts ports tree · games/dopewars/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install dopewars

Debian stable package indexes · dopewars · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#dopewars

nixpkgs package indexes · pkgs/by-name/do/dopewars/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S dopewars

Arch Linux sync databases · dopewars · source: geo.mirror.pkgbuild.com

overview

Package summary

Free rewrite of a game originally based on "Drug Wars"

Commands and aliases

  • dopewars

history

Project history and usage

dopewars is a free software strategy game derived from the older Drug Wars/Dopewars family. The modern package includes a Unix-style text client, server support for multiplayer games, Windows builds, and optional graphical or SDL variants.

Project history

The project FAQ says dopewars was originally developed on a RedHat Linux system and is loosely based on John E. Dell's 1980s Drug Wars, with closer influence from the MS-DOS Dopewars rewrite. The README describes version 1.6.2 as a game about making money in New York while managing debt and police risk.

The current GitHub repository was created in 2015, but the SourceForge site and FAQ preserve the older project identity and documentation. SourceForge file metadata shows 1.6.2 release artifacts published in June 2022, while GitHub metadata shows maintenance activity continuing into 2026.

Adoption history

dopewars is long-lived in Unix packaging culture because it is small, text-capable, network-aware, and portable. It appears in Homebrew and several Unix-like distribution package sets, and the official site has historically distributed tarballs, RPMs, and Windows binaries.

How it is used

Users run `dopewars` for the standard multiplayer-capable game, `dopewars -a` for antique mode closer to the original, `dopewars -s` for a server, or `dopewars -c` for a computer player. Configuration is read from `/etc/dopewars` and `~/.dopewars` on Unix, with a Windows-friendly configuration filename documented in the README.

Why package nerds care

dopewars is package-nerd significant as a classic small game that survived across SourceForge, GitHub, Unix packages, RPMs, and Windows binaries. It is also a good specimen of old-school free software game packaging: curses, GLib, optional GUI pieces, config files, high-score files, client/server mode, and long compatibility windows.

Timeline

  • 1980s: John E. Dell's Drug Wars provides the original game lineage, according to the dopewars FAQ.
  • 1990s/2000s: dopewars develops as a portable Unix and Windows free software rewrite hosted around SourceForge.
  • 2015: The current GitHub repository is created.
  • 2022: SourceForge publishes dopewars 1.6.2 artifacts.
  • 2026: GitHub repository metadata shows recent maintenance activity.

Related projects

  • Related projects include the original Drug Wars, MS-DOS Dopewars, Dopewars 2000, curses/ncurses, GLib, curl, GTK, SDL, SourceForge distribution, and multiplayer metaserver tooling.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 12 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
/etc/dopewars~/.dopewars
Windows
%LOCALAPPDATA%\dopewars\dopewars-config.txt

executables

Installed executables

CommandKindExposureNote
dopewarscliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.6.2
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://dopewars.sourceforge.io

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://dopewars.sourceforge.ionone confidence

install metadata

Package metadata

Package keybrew:dopewars
Version1.6.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/dopewars
Homepagehttps://dopewars.sourceforge.io
Repositoryhttps://github.com/benmwebb/dopewars
Upstream docshttps://dopewars.sourceforge.io/docs
LicenseGPL-2.0-or-later
Source archivehttps://downloads.sourceforge.net/project/dopewars/dopewars/1.6.2/dopewars-1.6.2.tar.gz
Dependenciesgettext, glib
Build dependenciespkgconf
Uses from macOScurl, ncurses
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedopewars
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

dopewars 1.6.2-1+b1

drug-dealing game set in streets of New York City

http://dopewars.sourceforge.net

sudo apt install dopewars
  • Section: games
  • Architecture: amd64
  • Source Package: dopewars
  • 11 dependencies
  • normalized package name match
  • Matched by: Dopewars
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dopewars from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

dopewars-data 1.6.2-1

drug-dealing game set in streets of New York City - data files

http://dopewars.sourceforge.net

sudo apt install dopewars-data
  • Section: games
  • Architecture: all
  • Source Package: dopewars
  • normalized package name match
  • Matched by: Dopewars
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dopewars-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

dopewars

nix profile install nixpkgs#dopewars
  • normalized package name match
  • Matched by: Dopewars
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/do/dopewars/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

dopewars 1.6.2-1build4

drug-dealing game set in streets of New York City

http://dopewars.sourceforge.net

sudo apt install dopewars
  • Section: universe/games
  • Architecture: amd64
  • 11 dependencies
  • normalized package name match
  • Matched by: Dopewars
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dopewars from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

dopewars-data 1.6.2-1build4

drug-dealing game set in streets of New York City - data files

http://dopewars.sourceforge.net

sudo apt install dopewars-data
  • Section: universe/games
  • Architecture: all
  • Source Package: dopewars
  • normalized package name match
  • Matched by: Dopewars
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dopewars-data from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

dopewars 1.6.2-3

Turn based strategy game based on "Drug Wars" from 1984

https://dopewars.sourceforge.io/

sudo pacman -S dopewars
  • License: GPL
  • Architecture: x86_64
  • 5 optional deps
  • normalized package name match
  • Matched by: Dopewars
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: dopewars from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

dopewars

sudo port install dopewars
  • normalized package name match
  • Matched by: Dopewars
MacPorts ports tree · api.github.com · MacPorts ports tree: games/dopewars/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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