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

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

## インストール

```sh
sudo av install brew:osc
```

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

### macOS

- Homebrew (100%):

```sh
brew install osc
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install osc
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install osc
```

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

- dnf (92%):

```sh
sudo dnf install osc
```

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

  証拠: nixpkgs package indexes: pkgs/by-name/os/osc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install osc
```

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

## パッケージ情報

- **パッケージキー:** brew:osc
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/osc>
- **バージョン:** 1.27.2
- **ソース概要:** Command-line interface to work with an Open Build Service
- **ホームページ:** <https://openbuildservice.org>
- **リポジトリ:** <https://github.com/openSUSE/osc>
- **上流ドキュメント:** <https://openbuildservice.org>
- **ライセンス:** GPL-2.0-or-later
- **ソースアーカイブ:** <https://files.pythonhosted.org/packages/cd/33/14c536856b1f4b05716818e6210901798f403b76cd2592ab6214fb29c413/osc-1.27.2.tar.gz>
- **最終更新:** 2026-07-02T12:53:46Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- git-obs (cli)
- git-osc-precommit-hook (cli)
- osc (cli)
- git-obs (エイリアス)
- git-osc-precommit-hook (エイリアス)
- osc (エイリアス)

## 依存関係

- cryptography
- python@3.14
- rpm

## macOS 提供ライブラリ

- curl
- libffi

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

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

osc, the openSUSE Commander, is the command-line client for Open Build Service. It gives packagers and release engineers a Subversion-like working-copy interface for OBS projects, packages, metadata, build results, and submit workflows.

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

GitHub records openSUSE/osc as created on 2011-09-23, but the tool's history is tied to the longer-running Open Build Service packaging workflow. The README identifies osc as the command-line interface to OBS and documents installation from openSUSE:Tools, from Git, and as Python-built artifacts.

The openSUSE wiki describes osc as written in Python and usable both as a command-line interface and as a Python module. It also characterizes the client as having network behavior in the style of Subversion, which explains its checkout/update/commit vocabulary and its fit for package source trees.

### 採用の歴史

osc is part of the working culture around OBS: the official OBS user guide tells users to install osc from their distribution or from openSUSE:Tools, and notes availability for distributions including CentOS, Debian, Fedora, SLE, and openSUSE. Homebrew and other package managers also package it, which makes the tool reachable outside openSUSE systems.

Its adoption is less about casual CLI popularity and more about being the standard local tool for an OBS-backed packaging workflow. Packagers use it to manage package sources, trigger builds, inspect logs, and submit changes to projects served by OBS instances.

### 使われ方

Typical osc workflows include listing projects and packages, checking out package sources, updating local working copies, committing changes, viewing diffs, querying build results, reading build logs, editing metadata, and running local builds. The README's examples include osc ls, osc co, osc up, osc ci, osc diff, osc results, osc log, osc meta, and osc build.

First-time configuration stores credentials in ~/.config/osc/oscrc, with optional keyring integration. That config location matters because osc is both a package-management workflow tool and a credentialed API client for OBS.

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

osc is important to package nerds because it is a CLI frontend to a multi-distribution build farm. It bridges source package maintenance, metadata, repository targets, build logs, submit requests, and local build reproduction in one command namespace.

The package also shows how distro tooling differs from application package managers: osc is not resolving app dependencies for one project, it is operating against remote build infrastructure that produces RPMs and other distribution artifacts across targets.

### タイムライン

- 2011-09-23: GitHub repository created.
- The OBS user guide documents osc as the command-line tool for working with Open Build Service.
- The openSUSE wiki documents osc's Python implementation, Subversion-style network behavior, and role as client for OBS source repositories.

### Related projects

- Open Build Service is the server-side build and repository platform. The openSUSE:Tools repository distributes osc packages for users who want stable packaged builds, while OBS:Server:Unstable carries builds from the development branch.

### ソース

- <https://api.github.com/repos/openSUSE/osc>
- <https://en.opensuse.org/openSUSE:OSC>
- <https://formulae.brew.sh/formula/osc>
- <https://github.com/openSUSE/osc>
- <https://openbuildservice.org/help/manuals/obs-user-guide/cha-obs-osc>
- <https://raw.githubusercontent.com/openSUSE/osc/master/README.md>


## セキュリティノート

osc に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。



## 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: ~/.config/osc/oscrc, ~/.oscrc

## Credential files

- Unix: ~/.config/osc/oscrc, ~/.oscrc
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** osc
- **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 - osc - 1.12.1-2: normalized package name match | Debian stable package indexes: osc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Open Build Service commander | https://en.opensuse.org/openSUSE:OSC
- Nix - osc: normalized package name match | nixpkgs package indexes: pkgs/by-name/os/osc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - osc - 0.169.1-2: normalized package name match | Ubuntu 24.04 LTS package indexes: osc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Open Build Service commander | http://en.opensuse.org/openSUSE:OSC
- dnf - osc - 1.27.2-481.2.2.fc45: normalized package name match | Fedora Rawhide package metadata: osc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Open Build Service Commander | https://github.com/openSUSE/osc
- zypper - osc - 1.27.2-1.2: normalized package name match | openSUSE Tumbleweed package metadata: osc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Command-line client for the Open Build Service | https://github.com/openSUSE/osc
- MacPorts - osc: normalized package name match | MacPorts ports tree: devel/osc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Package publisher tools](https://pkg.so/ja/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rpm](https://pkg.so/ja/brew/rpm/) - Runtime dependency declared by Homebrew.
- [osc-cli](https://pkg.so/ja/brew/osc-cli/) - Package name indicates the same formula family.
- [poetry](https://pkg.so/ja/brew/poetry/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [pipenv](https://pkg.so/ja/brew/pipenv/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [goreleaser](https://pkg.so/ja/brew/goreleaser/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [create-dmg](https://pkg.so/ja/brew/create-dmg/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [pdm](https://pkg.so/ja/brew/pdm/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [maturin](https://pkg.so/ja/brew/maturin/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [hatch](https://pkg.so/ja/brew/hatch/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [charmcraft](https://pkg.so/ja/brew/charmcraft/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, cli, cryptography, developer, developer-tools.
- [legit](https://pkg.so/ja/brew/legit/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, command-line, developer, developer-tools, git.
- [snapcraft](https://pkg.so/ja/brew/snapcraft/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, cli, cryptography, developer, developer-tools.

## Combined YAML source

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