How To Install barrier on Kali Linux
Introduction
In this tutorial we learn how to install barrier on Kali Linux.
What is barrier
barrier is:
Barrier lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It’s intended for users with multiple computers on their desk since each system uses its own display.
Redirecting the mouse and keyboard is as simple as moving the mouse off the edge of your screen. Barrier also merges the clipboards of all the systems into one, allowing cut-and-paste between systems. Furthermore, it synchronizes screen savers so they all start and stop together and, if screen locking is enabled, only one screen requires a password to unlock them all.
There are three methods to install barrier 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 barrier Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install barrier using apt-get by running the following command:
sudo apt-get -y install barrierInstall barrier Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install barrier using apt by running the following command:
sudo apt -y install barrierInstall barrier 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 barrier using aptitude by running the following command:
sudo aptitude -y install barrierHow To Uninstall barrier on Kali Linux
To uninstall only the barrier package we can use the following command:
sudo apt-get remove barrierUninstall barrier And Its Dependencies
To uninstall barrier and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove barrierRemove barrier Configurations and Data
To remove barrier configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge barrierRemove barrier configuration, data, and all of its dependencies
We can use the following command to remove barrier configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge barrierDependencies
barrier have the following dependencies:
- libavahi-compat-libdnssd1
- libc6
- libgcc-s1
- libqt5core5a
- libqt5gui5
- libqt5network5
- libqt5widgets5
- libssl1.1
- libstdc++6
- libx11-6
References
Summary
In this tutorial we learn how to install barrier package on Kali Linux using different package management tools: apt, apt-get and aptitude.