How To Install libfreerdp2-2 on Ubuntu 20.04

In this tutorial we learn how to install libfreerdp2-2 on Ubuntu 20.04. libfreerdp2-2 is Free Remote Desktop Protocol library (core library) Free Remote Desktop Protocol library (core library)

Introduction

In this tutorial we learn how to install libfreerdp2-2 on Ubuntu 20.04.

What is libfreerdp2-2

libfreerdp2-2 is:

FreeRDP is a libre client/server implementation of the Remote Desktop Protocol (RDP).

This package contains the shared library with all core functionality. Task: ubuntu-desktop, kubuntu-desktop, kubuntu-full, ubuntukylin-desktop

Package: libfreerdp2-2 Architecture: amd64 Version: 2.0.0~git20190204.1.2693389a+dfsg1-2build2 Multi-Arch: same Priority: optional Section: libs Source: freerdp2 Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Remote Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 7044 Depends: libc6 (>= 2.28), libjpeg8 (>= 8c), libssl1.1 (>= 1.1.0), libwinpr2-2 (>= 2.0.0~git20181120.1.e21b72c95+dfsg1), libx11-6, libxkbfile1 Suggests: freerdp2-x11 Breaks: libfreerdp2 (« 2.0.0~git20170725.1.1648deb+dfsg1-1~) Replaces: libfreerdp2 (« 2.0.0~git20170725.1.1648deb+dfsg1-1~) Filename: pool/main/f/freerdp2/libfreerdp2-2_2.0.0~git20190204.1.2693389a+dfsg1-2build2_amd64.deb Size: 1782512 MD5sum: 6114c0f6725812f720ff7b98639824e3 SHA1: 8f467bd50e93c2f5a64f418c3eaac1b58243d7d1 SHA256: 90d3917551ea0802fef98522389d9eeca47d8223feb8fe2fcd07681b8719e2c6 Homepage: http://www.freerdp.com/ Description-en: Free Remote Desktop Protocol library (core library) FreeRDP is a libre client/server implementation of the Remote Desktop Protocol (RDP).

This package contains the shared library with all core functionality. Task: ubuntu-desktop, kubuntu-desktop, kubuntu-full, ubuntukylin-desktop

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

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

sudo apt-get update

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

sudo apt-get -y install libfreerdp2-2

Install libfreerdp2-2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfreerdp2-2

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

sudo aptitude -y install libfreerdp2-2

How To Uninstall libfreerdp2-2 on Ubuntu 20.04

To uninstall only the libfreerdp2-2 package we can use the following command:

sudo apt-get remove libfreerdp2-2

Uninstall libfreerdp2-2 And Its Dependencies

To uninstall libfreerdp2-2 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libfreerdp2-2

Remove libfreerdp2-2 Configurations and Data

To remove libfreerdp2-2 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libfreerdp2-2

Remove libfreerdp2-2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libfreerdp2-2

References

Summary

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