This script parse WPBP and remove the stuff that you don't need.
This generator is completely based on PHP. Let's have a look on what you need and how to install it:
sudo apt-get install php php-zip php-mbstring
sudo dnf install php php-zip php-mbstring
From here you can download the phar version or you can chose to install with composer:
composer global require wpbp/generator:dev-master
Add this directory to your PATH in your ~/.bash_profile (or ~/.bashrc) like this:
export PATH=~/.composer/vendor/bin:$PATH
wpbp-generator --help
to get a list of commands