How To Install sbrshd on Ubuntu 22.04

In this tutorial we learn how to install sbrshd on Ubuntu 22.04. sbrshd is Scratchbox Remote Shell daemon

Introduction

In this tutorial we learn how to install sbrshd on Ubuntu 22.04.

What is sbrshd

sbrshd is:

sbrshd mounts nfs partition from the host and executes a binary on it. This used to provide cpu transparency for cross-compiling with scratchbox.

http://scratchbox.org/

There are three methods to install sbrshd on Ubuntu 22.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 sbrshd Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install sbrshd

Install sbrshd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install sbrshd using apt by running the following command:

sudo apt -y install sbrshd

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

sudo aptitude -y install sbrshd

How To Uninstall sbrshd on Ubuntu 22.04

To uninstall only the sbrshd package we can use the following command:

sudo apt-get remove sbrshd

Uninstall sbrshd And Its Dependencies

To uninstall sbrshd and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove sbrshd

Remove sbrshd Configurations and Data

To remove sbrshd configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge sbrshd

Remove sbrshd configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sbrshd

References

Summary

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