Repository for distribution of Munipack via Flatpak.
What is Flatpak? Flatpak is a universal package management system that bundles the application with all its necessary dependencies (like specific versions of system libraries) inside a secure sandbox. This ensures Munipack runs on any Linux distribution without library conflicts or "missing dependency" errors.
Ensure you have Flatpak installed on your system. You also need to enable the official Flathub repository, as Munipack relies on its base runtime to function:
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepoYou can download the latest Munipack Flatpak bundle manually from the releases tab or by running the following command in your terminal:
wget https://github.com/martin-spacek/Munipack-flatpak/releases/latest/download/cz.muni.physics.munipack.flatpakTo install the bundle, run the following command from the directory where the file is located:
flatpak install --user cz.muni.physics.munipack-x86_64.flatpakNote
Munipack Flatpak only has permission to access your home folder by default. You can change these sandbox permissions using the flatpak override command or via a GUI tool like Flatseal.
Flatpak should automatically create a desktop entry for the file browser in your system app menu. If you prefer opening via CLI, use:
flatpak run --command=xmunipack cz.muni.physics.munipackTo directly open a specific FITS file in the viewer, use:
flatpak run --command=xmunipack cz.muni.physics.munipack IMG_5807.fitsTo use the command-line tools for processing, run:
flatpak run --command=munipack cz.muni.physics.munipack dark image.fitsIf you'd like to use the commands exactly as they are written in the official Munipack guide, you need to add aliases to your .bashrc:
-
Open your .bashrc with your preferred editor, e.g.:
nano ~/.bashrc -
Add these lines to the end of the file:
# Aliases for Munipack-flatpak alias xmunipack='flatpak run --command=xmunipack cz.muni.physics.munipack' alias munipack='flatpak run --command=munipack cz.muni.physics.munipack' -
Load the updated .bashrc file with:
source ~/.bashrc