OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

libmagic-5.47

library to determine file type

Back to search · Project homepage

Description

libmagic is a library which attempts to classify files. There are three sets of tests, performed in the following order: - filesystem tests - magic number tests - language tests

Package information

Ports path
devel/libmagic
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
sysutils, devel
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Build

Used by (21 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON