Skip to content

Instantly share code, notes, and snippets.

@ScottJWalter
Last active April 6, 2024 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ScottJWalter/e514cbf99981b1d769ad29bb5f7d5f7b to your computer and use it in GitHub Desktop.
Save ScottJWalter/e514cbf99981b1d769ad29bb5f7d5f7b to your computer and use it in GitHub Desktop.
Install the pCloud CLI tool
#!/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