Automic VaultAutomic Vault

brew

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

Additional install commands

macOS

Homebrewverified · 100%
brew install osc

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install osc

MacPorts ports tree · devel/osc/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install osc

Debian stable package indexes · osc · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install osc

Fedora Rawhide package metadata · osc · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#osc

nixpkgs package indexes · pkgs/by-name/os/osc/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install osc

openSUSE Tumbleweed package metadata · osc · source: download.opensuse.org

overview

Package summary

Command-line interface to work with an Open Build Service

Commands and aliases

  • git-obs
  • git-osc-precommit-hook
  • osc

history

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.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 3 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
~/.config/osc/oscrc~/.oscrc

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.config/osc/oscrc~/.oscrc

executables

Installed executables

CommandKindExposureNote
git-obscliglobal executable
git-osc-precommit-hookcliglobal executable
osccliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.27.2
manager updated2026-07-02
local dataok
upstreamnot checked
latest detectednot detected

https://openbuildservice.org

install metadata

Package metadata

Package keybrew:osc
Version1.27.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/osc
Homepagehttps://openbuildservice.org
Repositoryhttps://github.com/openSUSE/osc
Upstream docshttps://en.opensuse.org/openSUSE:OSC
LicenseGPL-2.0-or-later
Source archivehttps://files.pythonhosted.org/packages/cd/33/14c536856b1f4b05716818e6210901798f403b76cd2592ab6214fb29c413/osc-1.27.2.tar.gz
Last updated2026-07-02T12:53:46Z
Pulseupdated
Dependenciescryptography, python@3.14, rpm
Uses from macOScurl, libffi
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameosc
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

osc 1.12.1-2

Open Build Service commander

https://en.opensuse.org/openSUSE:OSC

sudo apt install osc
  • Section: devel
  • Architecture: all
  • 6 dependencies
  • 6 optional deps
  • normalized package name match
  • Matched by: Osc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: osc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

osc

nix profile install nixpkgs#osc
  • normalized package name match
  • Matched by: Osc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/os/osc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

osc 0.169.1-2

Open Build Service commander

http://en.opensuse.org/openSUSE:OSC

sudo apt install osc
  • Section: universe/devel
  • Architecture: all
  • 4 dependencies
  • 7 optional deps
  • normalized package name match
  • Matched by: Osc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: osc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

osc 1.27.1-479.1.2.fc45

Open Build Service Commander

https://github.com/openSUSE/osc

sudo dnf install osc
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: osc
  • 10 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Osc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: osc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

osc 1.27.1-1.1

Command-line client for the Open Build Service

https://github.com/openSUSE/osc

sudo zypper install osc
  • License: GPL-2.0-or-later
  • Category: Development/Tools/Other
  • Architecture: noarch
  • Source Package: osc
  • 7 dependencies
  • 8 provides
  • normalized package name match
  • Matched by: Osc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: osc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

osc

sudo port install osc
  • normalized package name match
  • Matched by: Osc
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/osc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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