How to install Seafile on Ubuntu 14.04 (Trusty Tahr)
Seafile is a OpenSource cloud storage software. It offers file sharing and syncing for individual users and groups, it provides client side encryption and easy access from mobile devices. This tutorial describes the steps to install Seafile on Ubuntu 14.04.
Installing the Seafile dependencies
List of dependencies as described
- Java Runtime Environment (JRE)
- Poppler-utils
- Libreoffice 4.1+ and Python-uno
- libpython 2.7
- Python libraries (make sure python 2.7 is included in this installation, you may verify using the command on the image 1.2, if its already installed, if not then use this command apt-get install python 2.7 and also if you receive an error of "Wheel installs require setuptools >= ...", then you may use this pip install setuptools --no-use-wheel --upgrade). You also need, to install using easy_install pip and pip install boto as seen on the image 1.3 and 1.4 respectively)
Run the following command as root user to install the required software:
apt-get install openjdk-7-jre poppler-utils libreoffice libreoffice-script-provider-python libpython2.7 python-pip mysql-server python-setuptools python-imaging python-mysqldb python-memcache
Now I will check if the installed python version matches the requirements for Seafile:
python -V
As you see in the screenshot, the python version is 2.7.6, so it is in the range of supported python versions.

Next I will install the pip package with easy_install
easy_install pip

and the boto package
pip install boto

Next install some additional fonts for your language (like example WenQuanYi, if we gonna use chinese)
apt-get install ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy

Installing Seafile with MySQL
First you need to verify the if your system is a 32 bit or 64 bit system.
uname -m

My sever is a 64Bit system.
There are two choices to use on, either 32 or 64 bit, which are both available on the Seafile download page http://seafile.com/en/download/.

Or you may directly download on these given listed sites:
64 bit:
https://bitbucket.org/haiwen/seafile/downloads/seafile-server_4.0.6_x86-64.tar.gz
32 bit:
https://bitbucket.org/haiwen/seafile/downloads/seafile-server_4.0.6_i386.tar.gz
By downloading the package, you need to use wget command:
cd /tmp
wget https://bitbucket.org/haiwen/seafile/downloads/seafile-server_4.0.6_x86-64.tar.gz

The next is, were gonna create the required directories.
First, I need to create a directory name "guide"(this is just a sample in image 1.8), and you may use any name that describes your organization.
mkdir /root/guide

Then move the file seafile-server_4.0.6_x86-64.tar.gz to a directory that we have created guide.
mv seafile-server_4.0.6_x86-64.tar.gz /root/guide/

Enter the guide directory
cd /root/guide
Once your are inside, you need to extract the file, using the command tar.
tar -xzf seafile-server_4.0.6_x86-64.tar.gz

Next create a directory installed .
mkdir installed

We may move the file seafile-server_4.0.6_x86-64.tar.gz to newly created directory installed.
mv seafile-server_4.0.6_x86-64.tar.gz installed/

As described on this directory structure for our version, everything should be in right place. Where Installed and seafile-server-4.0.6 directories, should be within the directory of Guide.