Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.54 KB

BuildingOnLinux.md

File metadata and controls

51 lines (35 loc) · 1.54 KB

Building on Linux Mint / Ubuntu

Prerequisites

  1. Install Python 3:

    sudo apt-get install python3 python3-pip python3-setuptools
  2. 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 and PackageListPython.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.

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.