1) git clone --recursive https://github.com/alex-free/portable-youtube-ripper.
2) ./build to generate a Linux deb file, Linux RPM file, and a portable zip release for Mac OS and Linux.
If you want to clean the built releases, execute ./build clean.