pcloudcc - Linux console client for pCloud cloud storage ChangeLog

HOWTO


# pCloud Console Client
# =====================
# Prerequisites:
# Git
# Zlib
# Boost
# pthread (part of Slackware's glibc package)
# Fuse 2.x
# CMake
# lsb-release

# Start from ~/src
mkdir -p -m 0700 ~/src
cd ~/src

# If it's there already, clean it up and update it
test -d ./pcloudcc &&
( cd pcloudcc
   test -f Makefile && make distclean
   git fetch )

# If it's not there already, get it via 'git clone'
test ! -d ./pcloudcc &&
git clone https://github.com/pcloudcom/console-client.git ./pcloudcc/

cd pcloudcc
test $UID = 0 && chown -R root:root .

# Build this part
cd pCloudCC/lib/pclsync
make clean
make fs

# And now build this part
cd ../mbedtls
cmake .
make clean
make

# Configure the build of pcloudcc
cd ../..
cmake .

# If you're 64-bit, change lib to lib64
cat cmake_install.cmake |
sed 's%CMAKE_INSTALL_PREFIX}/lib%CMAKE_INSTALL_PREFIX}/lib64%g' \
> cmake_install.cmake.new
test -s cmake_install.cmake.new &&
( mv -f cmake_install.cmake cmake_install.cmake.old
   mv -f cmake_install.cmake.new cmake_install.cmake )

# Build it
make

# Become root
su

# Install it
make install
ldconfig

# Become your non-root user again
exit

# Run it in the foreground, -s will save your password in a database
pcloudcc -u username -p -s

# Run it as a daemon in the background, having previously run it with -s
# (-m defaults to /home/username/pCloudDrive)
pcloudcc -u username -d

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2023-08-21 1:42pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]