# fpc を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

fpc のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:fpc
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install fpc
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fpc
```

  証拠: MacPorts ports tree: lang/fpc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add fpc
```

  証拠: Alpine Linux edge package indexes: fpc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install fpc
```

  証拠: Debian stable package indexes: fpc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install fpc
```

  証拠: Fedora Rawhide package metadata: fpc 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#fpc
```

  証拠: nixpkgs package indexes: fpc from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S fpc
```

  証拠: Arch Linux sync databases: fpc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install fpc
```

  証拠: openSUSE Tumbleweed package metadata: fpc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:fpc
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/fpc>
- **バージョン:** 3.2.2
- **ソース概要:** Free Pascal: multi-architecture Pascal compiler
- **ホームページ:** <https://www.freepascal.org/>
- **上流ドキュメント:** <https://www.freepascal.org/>
- **ライセンス:** GPL-2.0-or-later
- **ソースアーカイブ:** <https://downloads.sourceforge.net/project/freepascal/Source/3.2.2/fpc-3.2.2.source.tar.gz>
- **最終更新:** 2026-08-02T16:35:33+09:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- bin2obj (cli)
- chmcmd (cli)
- chmls (cli)
- cldrparser (cli)
- compileserver (cli)
- data2inc (cli)
- delp (cli)
- fd2pascal (cli)
- fpc (cli)
- fpcjres (cli)
- fpclasschart (cli)
- fpcmake (cli)
- fpcmkcfg (cli)
- fpcres (cli)
- fpcreslipo (cli)
- fpcsubst (cli)
- fpdoc (cli)
- fppkg (cli)
- fprcp (cli)
- h2pas (cli)
- h2paspp (cli)
- instantfpc (cli)
- json2pas (cli)
- makeskel (cli)
- mka64ins (cli)
- mkarmins (cli)
- mkinsadd (cli)
- mkx86ins (cli)
- pas2fpm (cli)
- pas2jni (cli)
- pas2js (cli)
- pas2ut (cli)
- plex (cli)
- postw32 (cli)
- ppca64 (cli)
- ppdep (cli)
- ppudump (cli)
- ppufiles (cli)
- ppumove (cli)
- ptop (cli)
- pyacc (cli)
- rmcvsdir (cli)
- rstconv (cli)
- unihelper (cli)
- unitdiff (cli)
- webidl2pas (cli)
- bin2obj (エイリアス)
- chmcmd (エイリアス)
- chmls (エイリアス)
- cldrparser (エイリアス)
- compileserver (エイリアス)
- data2inc (エイリアス)
- delp (エイリアス)
- fd2pascal (エイリアス)
- fpc (エイリアス)
- fpcjres (エイリアス)
- fpclasschart (エイリアス)
- fpcmake (エイリアス)
- fpcmkcfg (エイリアス)
- fpcres (エイリアス)
- fpcreslipo (エイリアス)
- fpcsubst (エイリアス)
- fpdoc (エイリアス)
- fppkg (エイリアス)
- fprcp (エイリアス)
- h2pas (エイリアス)
- h2paspp (エイリアス)
- instantfpc (エイリアス)
- json2pas (エイリアス)
- makeskel (エイリアス)
- mka64ins (エイリアス)
- mkarmins (エイリアス)
- mkinsadd (エイリアス)
- mkx86ins (エイリアス)
- pas2fpm (エイリアス)
- pas2jni (エイリアス)
- pas2js (エイリアス)
- pas2ut (エイリアス)
- plex (エイリアス)
- postw32 (エイリアス)
- ppca64 (エイリアス)
- ppdep (エイリアス)
- ppudump (エイリアス)
- ppufiles (エイリアス)
- ppumove (エイリアス)
- ptop (エイリアス)
- pyacc (エイリアス)
- rmcvsdir (エイリアス)
- rstconv (エイリアス)
- unihelper (エイリアス)
- unitdiff (エイリアス)
- webidl2pas (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 3.2.2
- マネージャ更新日: 2026-08-02
- ローカルデータ: OK
- 上流リポジトリ: https://www.freepascal.org/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

Free Pascal Compiler, commonly FPC, is a mature open-source compiler for Pascal and Object Pascal. Its official site describes it as a 16-, 32-, and 64-bit Turbo Pascal and Delphi-compatible compiler with many CPU and operating-system targets.

### プロジェクトの歴史

The compiler was originally named FPK-Pascal. The official FAQ gives a compact project history: it started in June 1993, small programs worked by October 1993, the compiler compiled its own sources by March 1995, it was released on the Internet in March 1996, and version 1.0 arrived in July 2000.

FPC grew from a Turbo Pascal-compatible compiler into a broad language-runtime project with compiler, RTL, packages, utilities, tests, installer, documentation, and release-building repositories. The home page lists targets across x86, AMD64, PowerPC, SPARC, ARM, AArch64, MIPS, Motorola 68k, AVR, JVM, and more, with development support for RISC-V, Xtensa, Z80, WebAssembly, LLVM, and pas2js.

### 採用の歴史

FPC's adoption is closely tied to Pascal compatibility and cross-platform reach. It gave Pascal and Object Pascal users a free compiler path for Linux, Windows, BSD, macOS, DOS, OS/2, embedded platforms, and later mobile and unusual targets.

In August 2021, the project announced that all SVN repositories had been converted to Git and moved to GitLab, with the Mantis bug tracker also converted. That move is a clear package-history milestone because it changed how downstream packagers, contributors, and distribution maintainers track source.

### 使われ方

Users compile Pascal and Object Pascal programs with fpc and related target-specific ppcXYZ compiler binaries. The distribution also includes documentation, tools such as fpcmake, fpdoc, h2pas, ppudump, and package sources including the Free Component Library.

The user guide documents fpc.cfg as the compiler configuration file. On Unix-like systems, the compiler looks in the current directory, the user's home directory as .fpc.cfg, PPC_CONFIG_PATH, an etc directory above the compiler directory, and /etc unless -n disables config lookup.

### パッケージ好きにとっての重要性

FPC is package-nerd significant because it is both a compiler package and a bootstrap ecosystem. Packaging it means managing compiler binaries, RTL units, packages, tools, documentation, target support, and the usual self-hosting concerns.

It also anchors Lazarus and a broader Object Pascal open-source stack, making it a key dependency for desktop GUI development, legacy Pascal migration, cross-compilation, and Pascal-to-JavaScript workflows.

### タイムライン

- 1993: FPK-Pascal project started.
- 1995: Compiler compiled its own sources.
- 1996: Released on the Internet.
- 2000: Version 1.0 released.
- 2015: Version 3.0.0 released.
- 2020: Version 3.2.0 released.
- 2021: Version 3.2.2 released and repositories moved from SVN to GitLab.

### Related projects

- Lazarus is the most visible adjacent project in the Free Pascal ecosystem.
- Related FPC subprojects and tools include the Free Component Library, RTL, fpdoc, fpcmake, h2pas, pas2js, and target-specific compiler backends.

### ソース

- <https://gitlab.com/freepascal.org/fpc/source>
- <https://www.freepascal.org/>
- <https://www.freepascal.org/develop.var>
- <https://www.freepascal.org/docs-html/current/user/usersu10.html>
- <https://www.freepascal.org/docs.html>
- <https://www.freepascal.org/faq.var>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## 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

- Unix: fpc.cfg, ~/.fpc.cfg, $PPC_CONFIG_PATH/fpc.cfg, /usr/local/etc/fpc.cfg, /etc/fpc.cfg
## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- Debian apt - fp-compiler - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-compiler from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - compiler dependency package | https://www.freepascal.org/
- Debian apt - fp-compiler-3.2.2 - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-compiler-3.2.2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - compiler | https://www.freepascal.org/
- Debian apt - fp-docs - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-docs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - documentation dependency package | https://www.freepascal.org/
- Debian apt - fp-docs-3.2.2 - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-docs-3.2.2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - documentation | https://www.freepascal.org/
- Debian apt - fp-ide - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-ide from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - IDE dependency package | https://www.freepascal.org/
- Debian apt - fp-ide-3.2.2 - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-ide-3.2.2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - IDE | https://www.freepascal.org/
- Debian apt - fp-units-base - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-units-base from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - base units dependency package | https://www.freepascal.org/
- Debian apt - fp-units-base-3.2.2 - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-units-base-3.2.2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - base units | https://www.freepascal.org/
- Debian apt - fp-units-db - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-units-db from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - database-library units dependency package | https://www.freepascal.org/
- Debian apt - fp-units-db-3.2.2 - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-units-db-3.2.2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - database-library units | https://www.freepascal.org/
- Debian apt - fp-units-fcl - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-units-fcl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - Free Component Library dependency package | https://www.freepascal.org/
- Debian apt - fp-units-fcl-3.2.2 - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-units-fcl-3.2.2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - Free Component Library | https://www.freepascal.org/
- Debian apt - fp-units-fv - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-units-fv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - Free Vision units dependency package | https://www.freepascal.org/
- Debian apt - fp-units-fv-3.2.2 - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-units-fv-3.2.2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - Free Vision units | https://www.freepascal.org/
- Debian apt - fp-units-gfx - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-units-gfx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - graphics-library units dependency package | https://www.freepascal.org/
- Debian apt - fp-units-gfx-3.2.2 - 3.2.2+dfsg-46: normalized package name match | Debian stable package indexes: fp-units-gfx-3.2.2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Free Pascal - graphics-library units | https://www.freepascal.org/


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [ghc](https://pkg.so/ja/brew/ghc/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [rakudo-star](https://pkg.so/ja/brew/rakudo-star/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [rakudo](https://pkg.so/ja/brew/rakudo/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [abcl](https://pkg.so/ja/brew/abcl/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [gcl](https://pkg.so/ja/brew/gcl/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [go](https://pkg.so/ja/brew/go/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [gcc](https://pkg.so/ja/brew/gcc/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [openjdk](https://pkg.so/ja/brew/openjdk/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [bigloo](https://pkg.so/ja/brew/bigloo/) - Local package facts share a topical domain. Shared terms: cli, compiler, language, language-runtime, object.
- [fantom](https://pkg.so/ja/brew/fantom/) - Local package facts share a topical domain. Shared terms: cli, compiler, language, language-runtime, object.

## Combined YAML source

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


## ソース

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