Install the prerequisite applications
Install the latest Python and setup a new Python virtualenv
pkcon install -y git
pkcon install -y python3
pkcon install -y python3-pip
pkcon install -y python3-virtualenv
virtualenv-3 ~ /python
Load the python virtual environment and activate it for new terminals
source ~ /python/bin/activate
echo " source ~/python/bin/activate" | tee -a ~ /.bashrc
Configure the terminal to load the ~/.local libraries
echo " export LD_LIBRARY_PATH=${HOME} /.local/lib64:${HOME} /.local/lib" | tee -a ~ /.bashrc
Install the latest Ansible
pip install setuptools_rust wheel
pip install --upgrade pip
pip install ansible
Install the flightgear ansible role
Create a directory for the ansible role.
install -d ~ /.ansible/roles/computate.computate_flightgear
Clone the flightgear ansible role.
git clone [email protected] :computate-org/computate_flightgear.git ~ /.ansible/roles/computate.computate_flightgear
Run the flightgear ansible playbook to install the application locally.
cd ~ /.ansible/roles/computate.computate_flightgear
ansible-playbook install.yml