How to Install InvenioRDM on Manjaro
InvenioRDM is an open-source research data management platform developed by CERN. This tutorial will guide you through the installation process on Manjaro Linux.
Prerequisites
Before you start the installation, make sure that Manjaro Linux is fully updated:
sudo pacman -Syyu
Installation Steps
- Install Python 3 and pip:
sudo pacman -S python python-pip
- Install PostgreSQL and required libraries:
sudo pacman -S postgresql postgresql-libs
- Create a new PostgreSQL database user and database:
sudo -u postgres psql
CREATE USER invenio WITH PASSWORD 'your_password';
CREATE DATABASE invenio OWNER invenio;
\q
Replace 'your_password' with a strong password of your choice.
- Install InvenioRDM using pip:
pip install invenio-cli
invenio-cli init
This command will initialize InvenioRDM and create a new configuration file.
- Configure InvenioRDM:
invenio-cli services server create
invenio-cli secrets create
invenio-cli files location create
You will be prompted to enter some information during the configuration process. Follow the instructions carefully.
- Start InvenioRDM:
invenio-cli run
This command will start InvenioRDM on the default port (5000).
- Access InvenioRDM:
Open your web browser and go to http://localhost:5000. You should now be able to access InvenioRDM.
Congratulations! You have successfully installed InvenioRDM on Manjaro Linux. You can now start using it to manage your research data.