1.5 KiB
Building on Linux Mint / Ubuntu
Prerequisites
-
Install Python 3:
sudo apt-get install python3 python3-pip python3-setuptools
``
-
Run the installer script to configure additional dependencies, as noted below. If you wish to examine what packages will be installed, see package lists
PackageListAPT.txt
andPackageListPython.txt
.- If Python is already installed:
./Scripts/install.py [--upgrade]
- If Python is not installed:
./Scripts/Install/InstallLinux.sh [--upgrade]
Use the
--upgrade
switch to refresh packages at a later date. - If Python is already installed:
Building
Build the project with the following Python script. Packages will be copied into the Binaries
directory.
./Scripts/build.py
To build a specific version of the product, supply the appropriate tag name (or commit hash) as an argument:
./Scripts/build.py --checkout 1.13.1.3-snapshot
Similarly, one can clean the project, which resets Git repositories to a clean state:
./Scripts/clean.py
Launching Automatically
In Linux Mint we can launch the Synergy client automatically via System Settings → Startup Applications, then add an entry with the command:
/usr/bin/synergyc --name ClientName --daemon #.#.#.#
Substitute the ClientName
with the local machine name, and the Synergy server IP #.#.#.#
with whatever appropriate for your set-up.