How To Install synergy on Ubuntu 18.04

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

Introduction

In this tutorial we learn how to install synergy on Ubuntu 18.04.

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.

Synergy binaries are available as paid downloads at https://symless.com/synergy/ or may be built from source found at https://github.com/symless/synergy

There are three methods to install synergy 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 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 Ubuntu. 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 Ubuntu 18.04

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 Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove synergy

Remove synergy Configurations and Data

To remove synergy configuration and data from Ubuntu 18.04 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

References

Summary

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