Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Ubuntu Installation

jbraiuka edited this page Jan 19, 2016 · 13 revisions

Ubuntu Installation

This Document provides instructions on how to install Exif2Timestream to an ubuntu machine, and also outlines the usage of the Program.

Please note, for all csv input variable explinations, please read CSV Parameters

Git Repository

Install Git

You will need to install git, in order to download the exif2timestream package. Open a terminal and type: sudo apt-get install -y git

Clone the repository

Open a terminal and navigate to the directory where you want the exif2timestream package. git clone https://github.com/borevitzlab/exif2timestream.git

Setup Virtual Python Environment (Optional)

Install Virtualenv

First Step is to make sure you have virtualenv installed. This can be done with:

$ pip install virtualenv

Setup Virtualenv

Next step is to create a directory for you to work inside. In this case, we will call it exif. We also need to move inside this directory at the same time.

$ mkdir exif

$ cd exif

Now we will create the Virtual environment

$ virtualenv venv

At this point we have created our python virtual environment. Any time we wish to use this virtual environment we must run the command:

$ source venv/bin/activate

Any time we want to stop using this virtual environment we must run the command (but we don't need to run this now):

$ deactivate

Install Requirements

Install System packages

Some computers may not have the required system packages required for Exif2timestream.py. These include python, libjpeg ect. A script has been created for just this purpose. You can run it by running the command

$ sudo ./extra_install.sh

Install Dependencies (Optional)

This will install all required python packages for the system.

$ sudo ./install

If this fails, then you may need to run the extra_install script.

Test Installation

To test the installation, simply navigate to the root directory, and run python exif2timestream.py. You should recieve the following output: Processed a total of 0 images in 0.00 seconds