ClipShare - Package Repository

This repository contains deb packages of ClipShare for Ubuntu-based and rpm packages for Fedora-based Linux distributions.

The source of ClipShare is available at https://github.com/thevindu-w/clip_share_server.

Note: It's advised to remove any previous installations of ClipShare (installed by other means) to avoid conflicting with this installation. If you have installed ClipShare with the installation scripts in the releases, you can remove them by running the following command,

systemctl --user disable --now clipshare.service
and deleting the following paths.

Install on Ubuntu

  1. Identify the distribution

    The remaining steps require using the correct version codename for the OS distribution. The version names for the recent Ubuntu LTS versions are,

    Version Name
    24.04 noble
    22.04 jammy
    20.04 focal
    18.04 bionic
  2. Add the repository as a package source.

    Run the following commands to add the ClipShare repository to apt.

    CODENAME='noble'  # Replace 'noble' with your Ubuntu version name
    ARCH='amd64'      # Replace 'amd64' with 'arm64' for ARM-based machines
    echo "deb [arch=${ARCH} signed-by=/etc/apt/trusted.gpg.d/clipshare-package.gpg] https://thevindu-w.github.io/clipshare-packages/ubuntu ${CODENAME} main" | \
    sudo tee /etc/apt/sources.list.d/clipshare.list >/dev/null
    
  3. Add the GPG key

    Run the following command to add the ClipShare repository to apt.

    wget -qO - https://thevindu-w.github.io/clipshare-packages/clipshare-package.gpg | sudo tee /etc/apt/trusted.gpg.d/clipshare-package.gpg >/dev/null
    

    Alternative command if the above fails

    sudo curl -L -o /etc/apt/trusted.gpg.d/clipshare-package.gpg https://thevindu-w.github.io/clipshare-packages/clipshare-package.gpg
    
  4. Install/Update ClipShare

    Run the following commands to install or update ClipShare.

    sudo apt-get update
    sudo apt-get install -y clipshare-server
    
  5. Setup auto-start on login and Create configuration file (Optional)

    Run the following command without sudo or root privileges.

    setup-clipshare
    

Updating

You need to run only the 4th step above to update ClipShare.

Install on Fedora

  1. Add the repository as a package source.

    Run the following commands to add the ClipShare repository to dnf.

    dnf config-manager addrepo --from-repofile=https://thevindu-w.github.io/clipshare-packages/fedora/clipshare.repo
    
  2. Install/Update ClipShare

    Run the following command to install ClipShare.

    sudo dnf install -y clipshare-server
    

    During the first run, the above command may ask to allow importing an OpenPGP key with the fingerprint F2A2E5443F016E36D0A3CFAD1C847A7379629521. If the fingerprint is correct, enter y to continue with the installation.

  3. Setup auto-start on login and Create configuration file (Optional)

    Run the following command without sudo or root privileges.

    setup-clipshare
    

Updating

Run the following command to update ClipShare.

sudo dnf update -y clipshare-server