How To Install xosd-bin on Ubuntu 18.04

In this tutorial we learn how to install xosd-bin on Ubuntu 18.04. xosd-bin is X On-Screen Display library - binary files

Introduction

In this tutorial we learn how to install xosd-bin on Ubuntu 18.04.

What is xosd-bin

xosd-bin is:

This package contains binary files shipped with the X OSD library: osd_cat - a ‘cat’ like program which will display its output in an OSD-like window

There are three methods to install xosd-bin 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 xosd-bin Using apt-get

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

sudo apt-get update

After updating apt database, We can install xosd-bin using apt-get by running the following command:

sudo apt-get -y install xosd-bin

Install xosd-bin Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xosd-bin using apt by running the following command:

sudo apt -y install xosd-bin

Install xosd-bin 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 xosd-bin using aptitude by running the following command:

sudo aptitude -y install xosd-bin

How To Uninstall xosd-bin on Ubuntu 18.04

To uninstall only the xosd-bin package we can use the following command:

sudo apt-get remove xosd-bin

Uninstall xosd-bin And Its Dependencies

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

sudo apt-get -y autoremove xosd-bin

Remove xosd-bin Configurations and Data

To remove xosd-bin configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge xosd-bin

Remove xosd-bin configuration, data, and all of its dependencies

We can use the following command to remove xosd-bin configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge xosd-bin

References

Summary

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