Seafile server on arm64 (aarch64). - WORKING

Wow! So I finally figured it out and managed to run Seafile on Odroid-C2.

It is much easier than I expected. I am running the raspberry server version of Seafile (v 6.6), available at Releases · haiwen/seafile-rpi · GitHub

On my Odroid-C2, I am running diet-pi, but I am sure it will also work with most other debian-based distributions.

Here goes the step-by-step, after booting up diet-pi, and connecting it to the internet:

  1. Add armhf as a supported architecture:

dpkg --add-architecture armhf

  1. Update your packages:

apt-get update

  1. Install aptitude

apt-get install aptitude

  1. Install libc6:armhf using aptitude*

aptitude install libc6:armhf

  1. Download and untar Seafile from Releases · haiwen/seafile-rpi · GitHub

  2. Install seafile`s dependencies

sudo aptitude -y install python2.7 python-setuptools python-simplejson python-imaging sqlite3

  1. Install seafile!

./setup-seafile.sh

  1. Profit!

*The reason I am using aptitude to install libc6 is that diet-pi main aarch64 repository contains a newer libc6 than the one available at the armhf repository. However, aptitude detects this problem an offers you the possibility of downgrading automatically.

I find it awesome that armhf is compatible with aarch64! This approach can be used to run many other apps that are still not compiled especifically for aarch64.