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,
and deleting the following paths.systemctl --user disable --now clipshare.service
~/.local/bin/clip_share
~/.config/systemd/user/clipshare.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 |
For other Ubuntu flavors (ex: Kubuntu, Xubuntu, Lubuntu, Ubuntu MATE) and other Ubuntu-based distributions (ex: Mint, Pop!_OS, Elementry OS, Zorin OS, etc), use the Ubuntu version name, which your distro is based on. For example, Linux Mint 22.1 Xia is based on Ubuntu noble.
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
Setup auto-start on login and Create configuration file (Optional)
Run the following command without sudo
or root privileges.
setup-clipshare
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
.
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 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.
Setup auto-start on login and Create configuration file (Optional)
Run the following command without sudo
or root privileges.
setup-clipshare
Run the following command to update ClipShare.
sudo dnf update -y clipshare-server