How To Install freerdp2-x11 on Kali Linux
Introduction
In this tutorial we learn how to install freerdp2-x11 on Kali Linux.
What is freerdp2-x11
freerdp2-x11 is:
FreeRDP is a libre client/server implementation of the Remote Desktop Protocol (RDP).
Currently, the FreeRDP client supports the following Windows Versions:
- Windows NT Server
- Windows 2000 Terminal Server
- Windows XP
- Windows 2003 Server
- Windows Vista
- Windows 2008/2008r2/2011SBS Server
- Windows 7
- Windows 2012/2012r2 Server
- Windows 8
- Windows 10
This package contains the X11 based client.
There are three methods to install freerdp2-x11 on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install freerdp2-x11 Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install freerdp2-x11 using apt-get by running the following command:
sudo apt-get -y install freerdp2-x11Install freerdp2-x11 Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install freerdp2-x11 using apt by running the following command:
sudo apt -y install freerdp2-x11Install freerdp2-x11 Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install freerdp2-x11 using aptitude by running the following command:
sudo aptitude -y install freerdp2-x11How To Uninstall freerdp2-x11 on Kali Linux
To uninstall only the freerdp2-x11 package we can use the following command:
sudo apt-get remove freerdp2-x11Uninstall freerdp2-x11 And Its Dependencies
To uninstall freerdp2-x11 and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove freerdp2-x11Remove freerdp2-x11 Configurations and Data
To remove freerdp2-x11 configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge freerdp2-x11Remove freerdp2-x11 configuration, data, and all of its dependencies
We can use the following command to remove freerdp2-x11 configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge freerdp2-x11Dependencies
freerdp2-x11 have the following dependencies:
References
Summary
In this tutorial we learn how to install freerdp2-x11 package on Kali Linux using different package management tools: apt, apt-get and aptitude.