Last active
April 6, 2024 21:06
-
-
Save ScottJWalter/e514cbf99981b1d769ad29bb5f7d5f7b to your computer and use it in GitHub Desktop.
Install the pCloud CLI tool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt-get install \ | |
build-essential \ | |
cmake \ | |
fuse \ | |
git \ | |
libboost-program-options-dev \ | |
libboost-system-dev \ | |
libfuse-dev \ | |
libpthread-stubs0-dev \ | |
libudev-dev \ | |
zlib1g-dev \ | |
git clone https://github.com/pcloudcom/console-client | |
cd console-client/pCloudCC/ | |
cd lib/pclsync/ | |
make clean | |
make fs | |
cd ../mbedtls/ | |
cmake . | |
make clean | |
make | |
cd ../.. | |
cmake . | |
make | |
sudo make install | |
sudo ldconfig | |
echo "Installed." | |
echo "To use:" | |
echo " pcloudcc -u $USERNAME -p" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment