# Install osc with Homebrew, apt, dnf, MacPorts, Nix, zypper

Command-line interface to work with an Open Build Service. Version 1.27.2 via Homebrew; verified 2026-07-02.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install osc
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install osc
```

  Evidence: 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
```

  Evidence: 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
```

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

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:osc
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/osc>
- **Version:** 1.27.2
- **Source summary:** Command-line interface to work with an Open Build Service
- **Homepage:** <https://openbuildservice.org>
- **Repository:** <https://github.com/openSUSE/osc>
- **Upstream docs:** <https://en.opensuse.org/openSUSE:OSC>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://files.pythonhosted.org/packages/cd/33/14c536856b1f4b05716818e6210901798f403b76cd2592ab6214fb29c413/osc-1.27.2.tar.gz>
- **Last updated:** 2026-07-02T12:53:46Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- git-obs (cli)
- git-osc-precommit-hook (cli)
- osc (cli)
- git-obs (alias)
- git-osc-precommit-hook (alias)
- osc (alias)

## Dependencies

- cryptography
- python@3.14
- rpm

## Uses from macOS

- curl
- libffi

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.27.2
- Package-manager updated: 2026-07-02
- Local data: ok
- Upstream repository: https://openbuildservice.org
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for osc. Nucleus package metadata is still published here so future coverage has a stable package 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 Details

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

## Other Package-Manager Records

- 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.1-479.1.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Open Build Service Commander | https://github.com/openSUSE/osc
- zypper - osc - 1.27.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: osc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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


## Related links

- [Package publisher tools](https://www.automicvault.com/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rpm](https://www.automicvault.com/pkg/brew/rpm/) - Runtime dependency declared by Homebrew.
- [osc-cli](https://www.automicvault.com/pkg/brew/osc-cli/) - Package name indicates the same formula family.
- [abi3audit](https://www.automicvault.com/pkg/brew/abi3audit/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [auditwheel](https://www.automicvault.com/pkg/brew/auditwheel/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [brew-gem](https://www.automicvault.com/pkg/brew/brew-gem/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [bunster](https://www.automicvault.com/pkg/brew/bunster/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [cargo-bundle](https://www.automicvault.com/pkg/brew/cargo-bundle/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [cargo-dist](https://www.automicvault.com/pkg/brew/cargo-dist/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [charmcraft](https://www.automicvault.com/pkg/brew/charmcraft/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [create-dmg](https://www.automicvault.com/pkg/brew/create-dmg/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [hatch](https://www.automicvault.com/pkg/brew/hatch/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, cli, cryptography, developer, developer-tools.
- [legit](https://www.automicvault.com/pkg/brew/legit/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, command-line, developer, developer-tools, git.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
