Packaging utilities for Marathon.
- Install Ruby packages.
apt-get install ruby ruby-dev libffi-dev ## On Debian/Ubuntuyum install ruby ruby-devel libffi-devel ## On RedHat/CentOS/Fedora- Install FPM.
gem install fpm- Install packaging tools particular to your platform.
apt-get install build-essential rpm ## On Debian/Ubuntuyum install rpm-build ## On RedHat/CentOS/Fedora- Install SBT and an appropriate JDK to build Marathon.
- If this is a fresh clone of the repo:
git submodule init
git submodule update-
(Optional) Checkout the branch of Marathon you'd like to build in the
marathondirectory (maintained as a submodule).cd marathon git checkout <TAGNAME>
(To commit this, cd back to the root directory and git add marathon. This will update the submodule pointer to that commit.)
- Call the make target appropriate to your platform. Find additional targets in the Makefile.
make all ## Build all packages
make deb ## For all Debian/Ubuntu DEB packages
make rpm ## For all EL/Fedora RPM packages
make el ## For all Enterprise Linux (EL) packages
make fedora ## For all Fedora (FC) packages
make debian ## For all Debian packages
make ubuntu ## For all Ubuntu packages
make osx ## For Apple Macintosh