Packages
Quick guide for installing Magnum through various packaging systems.
ArchLinux
Packages with the latest Git revision are maintained in the AUR. Sorted by dependency order:
- corrade-git
- magnum-git
- magnum-plugins-git
- magnum-extras-git
- magnum-integration-git
- magnum-bindings-git
- magnum-examples-git
Update by re-running makepkg
and installing the new package. You can
also install a tagged release or build from within the source itself,
further info is in the documentation.
Debian, Ubuntu and derivatives
An interactive script building and installing *.deb
packages of the latest
Git revision, contributed by @catdotjs, is available:
deb.sh. Alternatively, if you feel adventurous,
you can pipe it straight to shell:
bash <(curl https://magnum.graphics/packages/deb.sh)
Internally, the script clones each repository and builds the package from package sources contained in the repository itself. If you wish to perform the packaging manually, consult the documentation.
Homebrew
Get the latest Git revision via the mosra/homebrew-magnum tap. Sorted by dependency order:
brew install --HEAD mosra/magnum/corrade brew install --HEAD mosra/magnum/magnum brew install --HEAD mosra/magnum/magnum-plugins brew install --HEAD mosra/magnum/magnum-extras brew install --HEAD mosra/magnum/magnum-integration brew install --HEAD mosra/magnum/magnum-bindings brew install --HEAD mosra/magnum/magnum-examples
To update, replace install --HEAD
with upgrade --fetch-HEAD
.
Some packages contain flags for enabling or disabling optional dependencies,
see the documentation for more infor.
Vcpkg
Build and install the latest Git revision with the following:
vcpkg install --head corrade magnum magnum-plugins magnum-extras magnum-integration magnum-bindings magnum-examples
Updating a vcpkg package needs to be done by first doing a
vcpkg remove
and then doing a vcpkg install --head
again.
For each package it’s possible to install just a subset of the functionality,
details are listed in the documentation.