Skip to content

Deploy and Run OSCAR

Aaruni Kaushik edited this page Dec 14, 2023 · 7 revisions

MaPS Installation

Required Software

First install the pre requisite software.

APT based systems (Debian/Ubuntu/Mint/etc)

$ sudo apt install libcairo2-dev gcc python3-dev libgirepository1.0-dev libostree-dev fuse-overlayfs python3-venv libcap-dev autoconf

DNF based systems (Fedora/RHEL/CentOS/etc)

$ sudo dnf install cairo-devel gcc python3-devel gobject-introspection-devel ostree-devel fuse-overlayfs libcap-devel autoconf cairo-gobject-devel

pacman based systems (Arch Linux/Endeavour OS/Manjaro/etc)

sudo pacman -Sy ostree fuse-overlayfs

MaPS

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

Deploy OSCAR

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

oscar