# 使用 Homebrew, dnf, Nix, zypper 安装 blogc

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

## 安装

```sh
sudo av install brew:blogc
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install blogc
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install blogc
```

  证据: Fedora Rawhide package metadata: blogc 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#blogc
```

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

- zypper (92%):

```sh
sudo zypper install blogc
```

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

## 软件包事实

- **软件包键:** brew:blogc
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/blogc>
- **版本:** 0.20.1
- **来源摘要:** Blog compiler with template engine and markup language
- **主页:** <https://blogc.rgm.io/>
- **仓库:** <https://github.com/blogc/blogc>
- **上游文档:** <https://blogc.rgm.io/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/blogc/blogc/releases/download/v0.20.1/blogc-0.20.1.tar.xz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- blogc (cli)
- blogc-git-receiver (cli)
- blogc-make (cli)
- blogc-runserver (cli)
- blogc (别名)
- blogc-git-receiver (别名)
- blogc-make (别名)
- blogc-runserver (别名)

## 安装行为

- 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
- 管理器版本: 0.20.1
- 本地数据: OK
- 上游仓库: https://github.com/blogc/blogc
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

blogc is a small static blog compiler that treats site generation like a source-to-output compilation step rather than like a full blogging engine. Its official site describes it as stateless, idempotent, make-friendly, and aimed at developers who are comfortable wiring command-line tools together.

### 项目历史

Rafael G. Martins started blogc as an experiment in a simple blog compiler with its own template engine and markup language. The project deliberately avoided CMS-style global state: the core blogc command compiles source files and templates, while helper programs such as blogc-make, blogc-git-receiver, and blogc-runserver cover common publishing workflows.

The public release line began with 0.1 beta tags in 2015 and continued through a series of 0.x releases. Later releases added build-tool conveniences, pagination and listing improvements, table-of-contents generation, signed release artifacts, and a Debian/Ubuntu repository announced with 0.20.1.

### 采用历史

blogc's adoption has been strongest in Unix package-manager and source-based distribution circles rather than in mainstream JavaScript static-site tooling. Its own site lists release tarballs plus package routes for Debian/Ubuntu, Fedora/RHEL/CentOS COPR, Termux, openSUSE, and Gentoo, and the input metadata also records Homebrew, Fedora, Nix, and openSUSE package names.

The project ships an example blog repository and documents using blogc with make or blogc-make, which made it attractive to users who wanted a static site generator with C portability and predictable command-line behavior.

### 使用方式

Typical usage passes source files and templates to blogc to emit HTML or feed resources, or uses blogc-make with a blogcfile to define site-wide variables, content directories, templates, posts, tags, and generated outputs. The compiler can be embedded in ordinary make rules because each invocation has no shared state.

The package installs several executables: blogc for compilation, blogc-make for project builds, blogc-runserver for local serving, and blogc-git-receiver for git-push publishing workflows.

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

blogc is package-nerd catnip because it is a C static-site generator that thinks like a compiler: libc at runtime, POSIX portability as a stated goal, man pages for interfaces, and build integration through make instead of a large language runtime.

It sits in the small but interesting lineage of minimal static-site tools where the packaging story matters: release tarballs, distro repositories, man pages, and reproducible command-line invocations are as central as themes or plugins.

### 时间线

- 2015: First 0.1 beta tags appear in the official Git repository.
- 2015: The blogc site copyright and early release materials identify Rafael G. Martins as the author.
- 2019: Version 0.18.0 added blogc-make pagination_tags support and signed release artifacts.
- 2020: Version 0.20.0 added table-of-contents generation for source files.
- 2021: Version 0.20.1 announced a Debian/Ubuntu repository and minor fixes.

### Related projects

- blogc-example is the official starter repository for new sites.
- blogc-make is the bundled build tool that turns blogc into a more complete blog-building workflow while keeping the compiler separate.
- The project overlaps conceptually with static-site generators and make-based publishing systems, but its own docs emphasize that it is a compiler, not a blogging engine.

### 来源

- <https://blogc.rgm.io/>
- <https://blogc.rgm.io/man/blogc.1.html>
- <https://blogc.rgm.io/man/blogcfile.5.html>
- <https://blogc.rgm.io/news/>
- <https://github.com/blogc/blogc>
- source_facts.package-manager


## 安全说明

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: blogcfile, file passed to blogc-make -f
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** blogc
- **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

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

- Nix - blogc: normalized package name match | nixpkgs package indexes: pkgs/by-name/bl/blogc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - blogc - 0.20.1^20240602.b1ae9c9-5.fc45: normalized package name match | Fedora Rawhide package metadata: blogc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A blog compiler | https://blogc.rgm.io/
- dnf - blogc-git-receiver - 0.20.1^20240602.b1ae9c9-5.fc45: normalized package name match | Fedora Rawhide package metadata: blogc-git-receiver from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A simple login shell/git hook to deploy blogc websites | https://blogc.rgm.io/
- dnf - blogc-make - 0.20.1^20240602.b1ae9c9-5.fc45: normalized package name match | Fedora Rawhide package metadata: blogc-make from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A simple build tool for blogc | https://blogc.rgm.io/
- dnf - blogc-runserver - 0.20.1^20240602.b1ae9c9-5.fc45: normalized package name match | Fedora Rawhide package metadata: blogc-runserver from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A simple HTTP server to test blogc websites | https://blogc.rgm.io/
- zypper - blogc - 0.20.1-1.22: normalized package name match | openSUSE Tumbleweed package metadata: blogc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Blog compiler | https://blogc.rgm.io/


## 相关链接

- [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.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [llvm](https://pkg.so/zh-hans/brew/llvm/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools.
- [llvm@20](https://pkg.so/zh-hans/brew/llvm-20/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools.
- [llvm@21](https://pkg.so/zh-hans/brew/llvm-21/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools.
- [dtc](https://pkg.so/zh-hans/brew/dtc/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools.
- [llvm@18](https://pkg.so/zh-hans/brew/llvm-18/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools.
- [emscripten](https://pkg.so/zh-hans/brew/emscripten/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools.
- [binaryen](https://pkg.so/zh-hans/brew/binaryen/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools.
- [llvm@19](https://pkg.so/zh-hans/brew/llvm-19/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools.
- [gatsby-cli](https://pkg.so/zh-hans/npm/gatsby-cli/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, git, site.
- [gatsby](https://pkg.so/zh-hans/npm/gatsby/) - Local package facts share a topical domain. Shared terms: blog, cli, developer, developer-tools, site.
- [hexo](https://pkg.so/zh-hans/npm/hexo/) - Local package facts share a topical domain. Shared terms: blog, cli, developer, developer-tools, site.

## Combined YAML source

View the package source record on GitHub. [combined/blogc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/blogc.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
