Links

Install Datashare on Linux

Install Datashare will help you set up the software on your computer.
There are two ways of installing Datashare on Linux :
  1. 1.
    Standalone
  2. 2.
    With Docker

Standalone

There is only a package for debian/ubuntu systems (.deb file).
If you want to run it standalone with another Linux distribution, you can download the latest version of the Datashare jar here : https://github.com/ICIJ/datashare/releases/latest
And adapt the following launch script : https://github.com/ICIJ/datashare/blob/master/datashare-dist/src/main/deb/bin/datashare to your environment.
  1. 1.
    Go to the Datashare's website: https://datashare.icij.org/.
  2. 2.
    Click the blue button 'DOWNLOAD FOR FREE'.
  1. 1.
    Save the debian package as a file
save as file
2. Install it with the following command line:
$ sudo apt install /dir/to/debian/package/datashare-dist_7.2.0_all.deb
3. Run Datashare with:
$ datashare

With Docker

2. Don't forget (if not done during the install process) to add your user to the docker group:
sudo usermod -aG docker your-user
If you do so, you'll have to close your session and open a new one (logout and login again).
After having logged in again, you can check that it is working with :
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
  1. 1.
    Install Docker Compose: https://docs.docker.com/compose/install/****
  2. 2.
  3. 3.
    On the next window, select 'Save File' and click 'OK'.
In your Terminal, you can start installing Datashare:
Once installation is done, open your browser and use Datashare at http://localhost:8080/#/:
It will :
  • download redis, elasticsearch and Datashare docker containers
  • initialize an Elasticsearch index with Datashare mapping
  • provide CLI to run Datashare extract, index, name finding tasks
  • provide a WEB GUI to run Datashare extract, index, name finding tasks, and search in the documents.