How To Install xrdp-pulseaudio-installer on Ubuntu 18.04

In this tutorial we learn how to install xrdp-pulseaudio-installer on Ubuntu 18.04. xrdp-pulseaudio-installer is Remote Desktop Protocol (RDP) server - PulseAudio module installer

Introduction

In this tutorial we learn how to install xrdp-pulseaudio-installer on Ubuntu 18.04.

What is xrdp-pulseaudio-installer

xrdp-pulseaudio-installer is:

xrdp offers a graphical login to a remote client using RDP (the Remote Desktop Protocol). xrdp can connect to a locally created X.org session with the xorgxrdp drivers, to a VNC X11 server, and forward to another RDP server.

This package contains a utility to build the PulseAudio modules needed to use the RDP sound channel from the X session, and the code of the modules the script uses for the build.

There are three methods to install xrdp-pulseaudio-installer 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 xrdp-pulseaudio-installer Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install xrdp-pulseaudio-installer

Install xrdp-pulseaudio-installer Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xrdp-pulseaudio-installer using apt by running the following command:

sudo apt -y install xrdp-pulseaudio-installer

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

sudo aptitude -y install xrdp-pulseaudio-installer

How To Uninstall xrdp-pulseaudio-installer on Ubuntu 18.04

To uninstall only the xrdp-pulseaudio-installer package we can use the following command:

sudo apt-get remove xrdp-pulseaudio-installer

Uninstall xrdp-pulseaudio-installer And Its Dependencies

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

sudo apt-get -y autoremove xrdp-pulseaudio-installer

Remove xrdp-pulseaudio-installer Configurations and Data

To remove xrdp-pulseaudio-installer configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge xrdp-pulseaudio-installer

Remove xrdp-pulseaudio-installer configuration, data, and all of its dependencies

We can use the following command to remove xrdp-pulseaudio-installer configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge xrdp-pulseaudio-installer

References

Summary

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