# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, zypper 安装 makeself

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

## 安装

```sh
sudo av install brew:makeself
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install makeself
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install makeself
```

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

### Linux

- apk (92%):

```sh
sudo apk add makeself
```

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

- Debian apt (92%):

```sh
sudo apt install makeself
```

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

- dnf (92%):

```sh
sudo dnf install makeself
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#makeself
```

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

- zypper (92%):

```sh
sudo zypper install makeself
```

  证据: openSUSE Tumbleweed package metadata: makeself from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:makeself
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/makeself>
- **版本:** 2.7.1
- **来源摘要:** Generates a self-extracting compressed tar archive
- **主页:** <https://makeself.io/>
- **仓库:** <https://github.com/megastep/makeself>
- **上游文档:** <https://github.com/megastep/makeself#readme>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/megastep/makeself/archive/refs/tags/release-2.7.1.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- makeself (cli)
- makeself (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.7.1
- 本地数据: OK
- 上游仓库: https://github.com/megastep/makeself
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

makeself is a portable shell-script tool that creates self-extracting compressed tar archives for Unix-like systems. The generated file looks like a shell script, often using a `.run` or `.sh` suffix, and embeds both an archive and the startup command that should run after extraction.

### 项目历史

The official README says makeself was written by Stéphane Peter and is maintained in portable Bourne-shell style so that both the generator and generated archives can run across Unix variants. Its design is deliberately simple: prepend a shell stub to a tar archive, extract into a temporary directory or chosen target, run a script, and clean up.

The project is historically tied to Loki Software's Linux game installers. The official site points readers to Loki Setup, notes that Stéphane Peter co-authored it, and recommends the `.run` suffix introduced by some Loki-era makeself archives. That gave makeself a visible role in the Linux commercial game and driver distribution era before distribution-native packages covered every case.

### 采用历史

makeself stayed useful because it requires little from the target system beyond a shell, tar, and a supported compressor. The README lists examples such as Id Software game installers and patches, Loki game patches, NVIDIA Linux drivers, Google Earth for Linux, VirtualBox Linux installers, and the makeself distribution itself.

The GitHub repository shows continued maintenance, releases, and a broad contributor history. Newer releases added compression options, archive inspection flags, checksums, CI-friendly usage, and portability fixes while preserving the old package-maintainer promise: ship one executable-ish installer file without a native package repository.

### 使用方式

A common invocation is `makeself.sh archive_dir file_name label startup_script [script_args]`. Generated archives support options such as `--list`, `--check`, `--target`, `--noexec`, `--keep`, and `--tar`, which makes them inspectable and scriptable in package and release automation.

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

Package nerds care about makeself because it occupies the gray zone between tarballs and native packages. It is not a dependency solver or package manager, but it is a common vendor distribution format that package maintainers often need to unpack, audit, repack, or replace with distro-native recipes.

### 时间线

- 1990s-2000s: Loki-style `.run` archives popularize self-extracting shell installers for Linux games and applications.
- 2010: The official GitHub repository is created.
- 2025: GitHub lists makeself v2.7.1 as a release.
- 2026: The official repository remains maintained with thousands of stars and hundreds of forks.

### Related projects

- Related tools and formats include Loki Setup, shell archives, tarballs, AppImage, InstallAnywhere-style binary installers, and native package formats such as deb, rpm, and pacman packages.

### 来源

- <https://api.github.com/repos/megastep/makeself>
- <https://github.com/megastep/makeself>
- <https://makeself.io/>
- <https://raw.githubusercontent.com/megastep/makeself/master/README.md>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

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

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

- Debian apt - makeself - 2.5.0-1: normalized package name match | Debian stable package indexes: makeself from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | utility to generate self-extractable archives | http://www.megastep.org/makeself/
- Nix - makeself: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/makeself/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - makeself - 2.5.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: makeself from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | utility to generate self-extractable archives | http://www.megastep.org/makeself/
- apk - makeself - 2.5.0-r0: normalized package name match | Alpine Linux edge package indexes: makeself from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Generate a self-extractable compressed tar archive from a directory | https://makeself.io/
- dnf - makeself - 2.7.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: makeself from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Make self-extractable archives on Unix | http://makeself.io/
- zypper - makeself - 2.7.1-1.2: normalized package name match | openSUSE Tumbleweed package metadata: makeself from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Make self-extractable archives on Unix | https://makeself.io/
- MacPorts - makeself: normalized package name match | MacPorts ports tree: archivers/makeself/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Archive and compression packages](https://www.automicvault.com/zh-hans/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [create-dmg](https://www.automicvault.com/zh-hans/pkg/brew/create-dmg/) - Shares av.db curated category or tags: cli, developer-tools, packaging, shell.
- [porter](https://www.automicvault.com/zh-hans/pkg/brew/porter/) - Shares av.db curated category or tags: cli, developer-tools, installer, packaging.
- [stuffbin](https://www.automicvault.com/zh-hans/pkg/brew/stuffbin/) - Shares av.db curated category or tags: cli, compression, developer-tools, packaging.
- [abi3audit](https://www.automicvault.com/zh-hans/pkg/brew/abi3audit/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [cargo-bundle](https://www.automicvault.com/zh-hans/pkg/brew/cargo-bundle/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [charmcraft](https://www.automicvault.com/zh-hans/pkg/brew/charmcraft/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [dylibbundler](https://www.automicvault.com/zh-hans/pkg/brew/dylibbundler/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [flit](https://www.automicvault.com/zh-hans/pkg/brew/flit/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [libarchive](https://www.automicvault.com/zh-hans/pkg/brew/libarchive/) - Local package facts share a topical domain. Shared terms: archive, cli, compression, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/makeself.yml](https://github.com/automic-vault/db/blob/main/combined/makeself.yml)


## 来源

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