# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman 安装 uptimed

查看 uptimed 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:uptimed
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install uptimed
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install uptimed
```

  证据: MacPorts ports tree: sysutils/uptimed/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add uptimed
```

  证据: Alpine Linux edge package indexes: uptimed from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install uptimed
```

  证据: Debian stable package indexes: uptimed from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install uptimed
```

  证据: Fedora Rawhide package metadata: uptimed from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#uptimed
```

  证据: nixpkgs package indexes: pkgs/by-name/up/uptimed/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S uptimed
```

  证据: Arch Linux sync databases: uptimed from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:uptimed
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/uptimed>
- **版本:** 0.4.7
- **来源摘要:** Utility to track your highest uptimes
- **主页:** <https://github.com/rpodgorny/uptimed/>
- **仓库:** <https://github.com/rpodgorny/uptimed>
- **上游文档:** <https://github.com/rpodgorny/uptimed/>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://github.com/rpodgorny/uptimed/archive/refs/tags/v0.4.7.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- uprecords (cli)
- uptimed (cli)
- uprecords (别名)
- uptimed (别名)

## 构建依赖

- autoconf
- automake
- libtool

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.4.7
- 本地数据: OK
- 上游仓库: https://github.com/rpodgorny/uptimed
- 检测到的最新版本: v0.4.7 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

Uptimed is a small Unix-style daemon and command-line companion for recording a machine's best uptimes. Its README describes the daemon as tracking distinct boot sessions by system boot time and shipping the `uprecords` console frontend for viewing records, including use on a web page.

### 项目历史

The project originated with Rob Kaper, and the current upstream README says Radek Podgorny took over maintainership starting with version 0.3.4. The same README notes that Uptimed was inspired by an earlier utility named `ud`, but chose a different design based on boot time rather than PID-file locking.

### 采用历史

Uptimed's ChangeLog shows a portability-focused maintenance history: Darwin support arrived in 0.3.6, GNU/kFreeBSD and GNU Hurd support appeared in 0.3.17, and later 0.4.x entries added Android, DragonFly, modern Solaris, macOS build updates, AIX, and Solaris SMF support. The batch input lists packages in Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, MacPorts, Nix, and other repositories, which matches its role as a small system-administration utility distributed through operating-system package managers.

### 使用方式

In package-manager culture, Uptimed is installed as a daemon plus the `uprecords` command: the daemon records uptime sessions, while users query and sort the records from the terminal or publish them via the bundled CGI/web-facing support.

### 为什么软件包爱好者会关心

Uptimed matters mostly as a classic Unix niche package: tiny surface area, long portability tail, daemon packaging, init/systemd integration, and a visible command-line output that system administrators can compare across machines.

### 时间线

- 2002: ChangeLog records 0.2.0 and 0.3.0-era releases.
- 0.3.4: Radek Podgorny became maintainer.
- 0.3.6: Darwin support was added.
- 0.3.17: GNU/kFreeBSD and GNU Hurd support were added.
- 0.4.x: Android, DragonFly, Solaris, macOS, AIX, and Solaris SMF work accumulated.

### Related projects

- The README names `ud` as an inspiration but distinguishes Uptimed's boot-time-based session tracking from that earlier utility.

### 来源

- <https://github.com/rpodgorny/uptimed/blob/master/ChangeLog>
- <https://github.com/rpodgorny/uptimed/blob/master/README.md>
- input source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** uptimed
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - uptimed - 1:0.4.6-3.1: normalized package name match | Debian stable package indexes: uptimed from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | daemon to track uptimes, especially the high ones | https://github.com/rpodgorny/uptimed
- Nix - uptimed: normalized package name match | nixpkgs package indexes: pkgs/by-name/up/uptimed/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - uptimed - 1:0.4.6-3: normalized package name match | Ubuntu 24.04 LTS package indexes: uptimed from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | daemon to track uptimes, especially the high ones | https://github.com/rpodgorny/uptimed
- apk - uptimed - 0.4.7-r0: normalized package name match | Alpine Linux edge package indexes: uptimed from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | System uptime record daemon | https://github.com/rpodgorny/uptimed
- apk - uptimed-doc - 0.4.7-r0: normalized package name match | Alpine Linux edge package indexes: uptimed-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | System uptime record daemon (documentation) | https://github.com/rpodgorny/uptimed
- apk - uptimed-openrc - 0.4.7-r0: normalized package name match | Alpine Linux edge package indexes: uptimed-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | System uptime record daemon (OpenRC init scripts) | https://github.com/rpodgorny/uptimed
- dnf - uptimed - 0.4.7-5.fc45: normalized package name match | Fedora Rawhide package metadata: uptimed from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A daemon to record and keep track of system up times | https://github.com/rpodgorny/uptimed/
- dnf - uptimed-devel - 0.4.7-5.fc45: normalized package name match | Fedora Rawhide package metadata: uptimed-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development header and library for uptimed | https://github.com/rpodgorny/uptimed/
- pacman - uptimed - 0.4.7-2: normalized package name match | Arch Linux sync databases: uptimed from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A system uptime record daemon | https://github.com/rpodgorny/uptimed
- MacPorts - uptimed: normalized package name match | MacPorts ports tree: sysutils/uptimed/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [libtool](https://pkg.so/zh-hans/brew/libtool/) - Build dependency declared by Homebrew.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/zh-hans/brew/automake/) - Build dependency declared by Homebrew.
- [nut](https://pkg.so/zh-hans/brew/nut/) - Shares pkgdb curated category or tags: cli, daemon, monitoring, system.
- [collectd](https://pkg.so/zh-hans/brew/collectd/) - Shares pkgdb curated category or tags: cli, daemon, monitoring, system.
- [apcupsd](https://pkg.so/zh-hans/brew/apcupsd/) - Shares pkgdb curated category or tags: cli, daemon, monitoring, system.
- [monit](https://pkg.so/zh-hans/brew/monit/) - Shares pkgdb curated category or tags: cli, monitoring, system, system-administration.
- [direvent](https://pkg.so/zh-hans/brew/direvent/) - Shares pkgdb curated category or tags: cli, daemon, monitoring, system.
- [dwatch](https://pkg.so/zh-hans/brew/dwatch/) - Shares pkgdb curated category or tags: cli, daemon, monitoring, system.
- [dbus](https://pkg.so/zh-hans/brew/dbus/) - Shares pkgdb curated category or tags: cli, daemon, system.
- [htop](https://pkg.so/zh-hans/brew/htop/) - Shares pkgdb curated category or tags: cli, monitoring, system.
- [conman](https://pkg.so/zh-hans/brew/conman/) - Local package facts share a topical domain. Shared terms: administration, cli, system, system-administration.
- [gops](https://pkg.so/zh-hans/brew/gops/) - Local package facts share a topical domain. Shared terms: cli, monitoring, system, your.
- [pdsh](https://pkg.so/zh-hans/brew/pdsh/) - Local package facts share a topical domain. Shared terms: administration, cli, system, system-administration.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
