Clipboard
Clipboard copied to clipboard
Installation problem via sh on linux arm64 (Debian 12 bookworm)
When I try to install via curl -sSL https://github.com/Slackadays/Clipboard/raw/main/install.sh | sh, I got:
$ curl -sSL https://github.com/Slackadays/Clipboard/raw/main/install.sh | sh
Searching for a package manager...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 731 100 731 0 0 872 0 --:--:-- --:--:-- --:--:-- 872
Archive: clipboard-linux.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of clipboard-linux.zip or
clipboard-linux.zip.zip, and cannot find clipboard-linux.zip.ZIP, period.
The link inside the script is not returning a file. I recommend building with:
git clone --depth 1 https://github.com/slackadays/Clipboard
cd Clipboard/build
cmake -DNO_ALSA=true -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
# For the default install prefix
sudo cmake --install .
# For a prefix like ~/.local or ~/.bin
cmake --install . --install-prefix="$HOME/<your directory of choice>"
Make sure you have the requirements, as far as I know you need cmake, openssl, libssl3, libssl-dev, and it wouldn't hurt to add build-essential.
So before the above, run something like:
sudo apt-get update
sudo apt-get install -y cmake openssl libssl3 libssl-dev build-essential