How To Install synergy on Debian 9

In this tutorial we learn how to install synergy on Debian 9. synergy is Share mouse, keyboard and clipboard over the network

Introduction

In this tutorial we learn how to install synergy on Debian 9.

What is synergy

synergy is:

Synergy 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. Synergy 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.

Packages for Windows/MacOS/RPM are available for paid members at https://symless.com/synergy/

Sources can be found at https://github.com/symless/synergy/releases

There are three methods to install synergy on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install synergy Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install synergy

Install synergy Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install synergy

Install synergy 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install synergy

How To Uninstall synergy on Debian 9

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

sudo apt-get remove synergy

Uninstall synergy And Its Dependencies

To uninstall synergy and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove synergy

Remove synergy Configurations and Data

To remove synergy configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge synergy

Remove synergy configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge synergy

Dependencies

synergy have the following dependencies:

References

Summary

In this tutorial we learn how to install synergy package on Debian 9 using different package management tools: apt, apt-get and aptitude.