I use my Raspberry pi as an owncloud client to synchronize my NAS and my server. Unfortunately,​ the official package is not up-to-date so I have to build it by myself. ​

I use my Raspberry pi as an owncloud client to synchronize my NAS and my server. Unfortunately,​ the official package is not up-to-date so I have to build it by myself. ​

-

**Update!**:​ this page has been updated for client 2.2.4.

+

**Update!**:​ this page has been updated for client 2.3.2.

-

**DISCLAIMER :!:** Tested on raspbian jessie on raspi 1 only. Feedback welcome on twitter. See [[https://​www.raspberrypi.org/​forums/​viewtopic.php?​f=36&​t=34881&​p=1063790#​p1063790|this thread]] for some known issues on other versions.

**Note:** if you need a newer version of the client, just tweet me [[https://​twitter.com/​sgripon|@sgripon]].

**Note:** if you need a newer version of the client, just tweet me [[https://​twitter.com/​sgripon|@sgripon]].

===== Download binaries =====

===== Download binaries =====

-

If you don't want to compile by yourself, you can get the debian package installer from [[http://​pub.sgripon.net/​owncloud-client/​rpi/​]]. To install:

+

If you don't want to compile by yourself, you can get the debian package installer from [[http://​pub.sgripon.net/​owncloud-client/​rpi/​]] ​(tested on raspberry pi 1) or [[http://​pub.sgripon.net/​owncloud-client/​rpi3/​]] (tested on raspberry pi 3).

-

​sudo dpkg -i owncloud-client-2.2.4_armhf.deb

+

To install:

+

+

​sudo dpkg -i owncloud-client-2.3.2_armhf.deb

If there are missing dependencies,​ this command should automatically install all:

If there are missing dependencies,​ this command should automatically install all:

Line 42:

Line 44:

Most of the build instructions are from owncloud official website (http://​doc.owncloud.org/​desktop/​2.2/​building.html) with some adjustments for RPI.

Most of the build instructions are from owncloud official website (http://​doc.owncloud.org/​desktop/​2.2/​building.html) with some adjustments for RPI.

-

Get owncloud client sources from official web site here: https://​download.owncloud.com/​desktop/​stable/​owncloudclient-2.2.4.tar.xz.

+

Get owncloud client sources from official web site here: https://​download.owncloud.com/​desktop/​stable/​owncloudclient-2.3.2.tar.xz.

This tutorial assumes that the work is done on raspbian in folder /​home/​pi/​dev/​owncloud-client. If not, change all paths.

This tutorial assumes that the work is done on raspbian in folder /​home/​pi/​dev/​owncloud-client. If not, change all paths.

Line 69:

Line 71:

The following script downloads and builds the source code (remove download command (//wget//) if already done). The script must be invoked with the desired client version:

The following script downloads and builds the source code (remove download command (//wget//) if already done). The script must be invoked with the desired client version:

-

./​oc-build.sh 2.2.4

+

./​oc-build.sh 2.3.2

​

​

The script should work for future versions unless ownlcoud changes files naming.

The script should work for future versions unless ownlcoud changes files naming.