https://github.com/computate-org/computate_simgear
https://github.com/computate-org/computate_simgear
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/computate-org/computate_simgear
- Owner: computate-org
- Created: 2022-09-24T21:26:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-22T04:33:21.000Z (over 2 years ago)
- Last Synced: 2025-04-09T10:22:18.090Z (about 1 year ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install simgear
## Install the latest Python and setup a new Python virtualenv
```bash
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
```bash
source ~/python/bin/activate
echo "source ~/python/bin/activate" | tee -a ~/.bashrc
```
### Configure the terminal to load the ~/.local libraries
```bash
echo "export LD_LIBRARY_PATH=${HOME}/.local/lib64:${HOME}/.local/lib" | tee -a ~/.bashrc
source ~/.bashrc
```
## Install the latest Ansible
```bash
pip install setuptools_rust wheel
pip install --upgrade pip
pip install ansible
```
## Install the simgear ansible role
### Create a directory for the ansible role.
```bash
install -d ~/.ansible/roles/computate.computate_simgear
```
### Clone the simgear ansible role.
```bash
git clone git@github.com:computate-org/computate_simgear.git ~/.ansible/roles/computate.computate_simgear
```
## Run the simgear ansible playbook to install the application locally.
```bash
cd ~/.ansible/roles/computate.computate_simgear
ansible-playbook install.yml
```