Build ownCloud Client From Source on Debian
I recently put Debian 8 on an old G4, and the currently packaged owncloud-client (version 1.7) does not work with my more up to date version of ownCloud 9.
Unfortunately the package repository used by owncloud to distribute more up to date versions of the owncloud-client does not include a powerpc binary.
So my solution was to build the up to date client from source.
Install ownCloud Client From Source¶
- Install a few build dependencies:
sudo apt-get build-dep owncloud-client sudo apt-get install git libqt5webkit5-dev qttools5-dev qttools5-dev-tools
- Make a git directory:
mkdir ~/git && cd ~/git
- Clone the latest versions of the client:
git clone git://github.com/owncloud/client.git cd client git submodule init git submodule update
- Create the build directory:
mkdir client-build && cd client-build
- Configure the client build:
cmake -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_INSTALL_PREFIX=/usr ..
- Make the binary package:
- Install the client to the /usr/local/bin directory:
sudo make install