sudo apt-get install cmake zlib1g-dev libboost-system-dev libboost-program-options-dev libpthread-stubs0-dev libfuse-dev git libudev-dev
sudo apt-get update && sudo apt-get install build-essential
mkdir console-client
git clone https://github.com/pcloudcom/console-client.git ./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
ldconfig
Example usage scenario:
Start the service manually
pcloudcc -u serbisyo.com@gmail.com -p -s
Enter password and use -s switch to save the password.
Verify that file system starts and mounts normally. If you don't have existing user use -n switch to register new user:
pcloudcc -u serbisyo.com@gmail.com -p -s -n
Notice that a new user may take a while to mount. Please, be patient.
Start the daemon service:
pcloudcc -u serbisyo.com@gmail.com -d
Verify file system is mounted.
At that point you can test passing some commands.
pcloudcc -u serbisyo.com@gmail.com -k
Or starting the daemon with -o. Test unlocking and locking crypto if you have subscription for it.
Quit the client. Congratulations, your pcloud console client works properly. You can now add “pcloudcc -u serbisyo.com@gmail.com -d” command in you startup scripts and thous mount the file system on startup.
Error
root@EnablrStaging:~/console-client/pCloudCC# ./pcloudcc -u serbisyo.com@gmail.com -p -s -n
pCloud console client v.2.0.1
Please, enter password
init failed
Solution
NONE AS OF April 5, 2019