Are you using ubuntu or are you running a different linux distribution? (I assumed ubuntu because as far as i know only ubuntu has a 4.0.7 package) Or are you on Mac or windows. We need this details to help you. Every operating system is different!
The library install script only downloads pretty repos. (only footprints not symbols or 3d models.)
I’m not even sure it adds the downloaded footprints to the fp-lib-table. I think that would need to be done by the user. (I would suggest you follow the how to install local foootprint libs tutorial by @bobc instead of using an sh script.)
In a lot of linux distributions the symbol and 3d model library is a separate package. Use the package manager (apt under ubuntu) to install this package. I am not sure of the name of this package in any distribution. (I run fedora and simply run
dnf install kicad*)
Footprints by default are added using the github plugin. (Downloaded everytime kicad needs any footprint.)
If you distro really does not have a package for the symbol and 3d model library, you can download the kicad-library repo and manually move its contents to the correct location. But i doubt this is necessary under any operating system.