Install Inmanta
****************
Inmanta requires python3 on your system. If you install it from source, python3 and pip need to be
installed. If you install from package, your package manager should install python3 if not yet
available on your system.
With pip
---------
Inmanta can be installed with pip.
.. code-block:: sh
pip install inmanta
From source
------------
.. code-block:: sh
git clone https://github.com/inmanta/inmanta.git
cd inmanta
pip install --process-dependency-links .
Fedora
------
.. code-block:: sh
sudo dnf copr enable bartvanbrabant/inmanta
sudo dnf install python3-inmanta
sudo dnf install python3-inmanta-server
sudo dnf install python3-inmanta-agent
sudo dnf install mongodb-server
The first package contains all the code and the commands. The server and the agent packages install
config files and systemd unit files.
To start mongodb and the server:
.. code-block:: sh
sudo systemctl start mongod
sudo systemctl start inmanta-server
More information on is availabe at: https://copr.fedorainfracloud.org/coprs/bartvanbrabant/inmanta/
To install the dashboard:
.. code-block:: sh
sudo -i
cat > /etc/yum.repos.d/inmanta.repo <`_
.. code-block:: sh
sudo yum install centos-release-scl
sudo yum install rh-python34
Enable the inmanta-scl copr repo:
.. code-block:: sh
cd /etc/yum.repos.d
sudo wget https://copr.fedorainfracloud.org/coprs/bartvanbrabant/inmanta-scl/repo/epel-7/bartvanbrabant-inmanta-scl-epel-7.repo
Install inmanta tool, server or agent or all:
.. code-block:: sh
sudo yum install rh-python34-python-inmanta
sudo yum install rh-python34-python-inmanta-server
sudo yum install rh-python34-python-inmanta-agent
sudo yum install mongodb-server
The first package contains all the code and the commands. The server and the agent packages install
config files and systemd unit files.
To install the dashboard:
.. code-block:: sh
sudo -i
cat > /etc/yum.repos.d/inmanta.repo <