forked from aaruni96/maps
-
Notifications
You must be signed in to change notification settings - Fork 0
Deploy and Run OSCAR
Aaruni Kaushik edited this page Dec 14, 2023
·
7 revisions
First install the pre requisite software.
$ sudo apt install libcairo2-dev gcc python3-dev libgirepository1.0-dev libostree-dev fuse-overlayfs python3-venv libcap-dev autoconf
$ sudo dnf install cairo-devel gcc python3-devel gobject-introspection-devel ostree-devel fuse-overlayfs libcap-devel autoconf cairo-gobject-devel
sudo pacman -Sy ostree fuse-overlayfs
Clone maps to somewhere convenient.
$ git clone https://github.com/aaruni96/maps.git && cd maps
Setup a python venv, and install the python dependencies.
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install PyGObject tomli
Check that MaPS works
$ python src/maps.py --list
Once MaPS is running deploy and run OSCAR.
$ python src/maps -d org.oscar_system.oscar/x86_64/latest
$ python src/maps -r org.oscar_system.oscar/x86_64/latest
This will launch a shell inside the OSCAR runtime. Then simply launch julia inside the runtime.
root@runtime:~# julia