debian install sbatch

C++
sudo dd if=/dev/urandom bs=1 count=1024 > /etc/munge/munge.key
sudo apt-get install -y libmunge-dev libmunge2 munge

Source

Also in C++: