This repository contains deb packages of ClipShare server and desktop client for Ubuntu-based and
rpm packages for Fedora-based Linux distributions.
The source of ClipShare is available at,
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 commands,
and deleting the following files if they exist.
- Server:
systemctl --user disable --now clipshare.service- Client:
systemctl --user disable --now clipshare-desktop.service
~/.local/bin/clip_share~/.local/bin/clip-share-client~/.config/systemd/user/clipshare.service~/.config/systemd/user/clipshare-desktop.service
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 |
grep -h UBUNTU_CODENAME /etc/*release 2>/dev/null
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
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
Install/Update ClipShare
Run the following commands to install or update ClipShare.
sudo apt-get update
sudo apt-get install -y clipshare-server
sudo apt-get install -y clipshare-client
Setup auto-start on login and Create configuration file (Optional)
Run the following commands without sudo or root privileges.
setup-clipshare
setup-clipshare-client
You need to run only the 4th step above to update ClipShare.
Add the repository as a package source.
Run the following commands to add the ClipShare repository to dnf.
sudo dnf config-manager addrepo --from-repofile=https://thevindu-w.github.io/clipshare-packages/fedora/clipshare.repo
Install/Update ClipShare
Run the following command to install or update ClipShare.
sudo dnf install -y clipshare-server
sudo dnf install -y clipshare-client
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.
Setup auto-start on login and Create configuration file (Optional)
Run the following commands without sudo or root privileges.
setup-clipshare
setup-clipshare-client
Run the following command to update ClipShare.
sudo dnf update -y clipshare-server
sudo dnf update -y clipshare-client