osc command not found

In this troubleshooting guide we learn how to fix osc command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

osc: command not found

or when using sudo you get the following error message

sudo: osc: command not found

Solutions to osc: command not found

How To Fix osc: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu osc is provided by osc package.

osc is:

Commandline client for the Open Build Service, which allows one to access repositories in the Open Build Service in similar way as Subversion repositories.

The Open Build Service is service that allows developers to package software for all major Linux distributions.

To fix this problem, we can install more using the command below.

sudo apt-get -y install osc

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install osc.

sudo apt -y install osc

Or if you have aptitude installed you can use the following command.

sudo aptitude install osc

Summary

In this tutorial we learn how to fix osc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.