BSD Ports

devel/p5-Devel-CheckOS 2.04 OpenBSD

check what OS we are running on

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Alexander Bluhm <[email protected]>
Categories
devel, perl5

Description

Devel::CheckOS provides a more friendly interface to $^O, and also lets you check for various OS "families" such as "Unix", which includes things like Linux, Solaris, AIX etc.

In the other systems

The newest version among them is 2.04, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDdevel/p5-Devel-CheckOS2.04 newestno data-Alexander Bluhm <[email protected]>-
FreeBSDdevel/p5-Devel-CheckOS2.04 newestnone known-[email protected]-
NetBSDdevel/p5-Devel-CheckOS2.04nb3 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-Devel-CheckOS2.04 newestnone known-[email protected]-
MidnightBSDdevel/p5-Devel-CheckOS2.04 newestno data-[email protected]-
HardenedBSDdevel/p5-Devel-CheckOS2.04 newestno data-[email protected]-
GhostBSDdevel/p5-Devel-CheckOS2.04 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg_add p5-Devel-CheckOS

From the ports tree:

cd /usr/ports/devel/p5-Devel-CheckOS && make install

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1