Installation¶
The easiest way to install Alpaca is by creating a conda environment, followed by install using pip. Below is the explanation of how to proceed with these two steps.
Prerequisites¶
Alpaca requires Python 3.8 or higher.
Create your conda environment (e.g., alpaca):
conda create --name alpaca python=3.11
Activate your environment:
conda activate alpaca
Open a terminal and run:
sudo apt-get install python-pip
Installation¶
The easiest way to install Alpaca is via pip:
pip install alpaca-prov
To upgrade to a newer release use the --upgrade flag:
pip install --upgrade alpaca-prov
If you do not have permission to install software systemwide, you can
install into your user directory using the --user flag:
pip install --user alpaca-prov
If you have Git installed on your system, it is also possible to install the development version of Alpaca.
Before installing the development version, you may need to uninstall the previously installed version of Alpaca:
pip uninstall alpaca-prov
Clone the repository install the local version:
git clone git://github.com/INM-6/alpaca.git cd alpaca pip install -e .
External tools for provenance visualization¶
In order to visualize the provenance data saved using Alpaca, a graph visualization software is needed. Currently, any application that supports the GEXF or GraphML formats can be used.
It is recommended to use Gephi:
Dependencies¶
Alpaca relies on the following packages (automatically installed when you
run pip install alpaca-prov):