Hi,
If you want step by step instructions, look at http://webwork.maa.org/wiki/Installation_Manual_for_2.13_on_Ubuntu_16.04
If you want to use an install script, the one in master is out of date as you discovered. The one sitting in pull request 6 works but I have no idea if or when it will be put into master. If you want to use it, goto https://github.com/openwebwork/ww_install/pull/6 and look at the comments (near the bottom), specifically
Hi,
I just tested this again on a brand new 16.04 installation and it worked perfectly. Specifically I used ubuntu-16.04.3-desktop-amd64.iso to create a virtualbox virtual machine. Then I ran the following commands (I'm writing them from memory, I did not copy them so there might be a typo below but I think not):
sudo apt-get install git
mkdir work
cd work
git clone git://github.com/openwebwork/ww_install.git
cd ww_install
git fetch origin pull/6/head:ww2.13
git checkout ww2.13
cd bin
sudo perl ww_install.pl
Then open Firefox and goto localhost/webwork2
Arnie