How To Install osc-plugins-dput on Ubuntu 18.04

In this tutorial we learn how to install osc-plugins-dput on Ubuntu 18.04. osc-plugins-dput is dput plugin for OpenSUSE (buildsystem) commander

Introduction

In this tutorial we learn how to install osc-plugins-dput on Ubuntu 18.04.

What is osc-plugins-dput

osc-plugins-dput is:

This package contains the dput plugin for OpenSUSE (buildsystem) commander.

This dput plugin is designed to be able to quickly upload a random debian source package without the need of doing a checkout, adding the source, removing the old files and committing it again.

See ‘osc help dput’ for details.

There are three methods to install osc-plugins-dput on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install osc-plugins-dput Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install osc-plugins-dput using apt-get by running the following command:

sudo apt-get -y install osc-plugins-dput

Install osc-plugins-dput Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install osc-plugins-dput using apt by running the following command:

sudo apt -y install osc-plugins-dput

Install osc-plugins-dput Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install osc-plugins-dput using aptitude by running the following command:

sudo aptitude -y install osc-plugins-dput

How To Uninstall osc-plugins-dput on Ubuntu 18.04

To uninstall only the osc-plugins-dput package we can use the following command:

sudo apt-get remove osc-plugins-dput

Uninstall osc-plugins-dput And Its Dependencies

To uninstall osc-plugins-dput and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove osc-plugins-dput

Remove osc-plugins-dput Configurations and Data

To remove osc-plugins-dput configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge osc-plugins-dput

Remove osc-plugins-dput configuration, data, and all of its dependencies

We can use the following command to remove osc-plugins-dput configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge osc-plugins-dput

References

Summary

In this tutorial we learn how to install osc-plugins-dput package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.