Some problems setting up kicad version 5

Yes

To get both the obsolete and legacy libs you need to download the library directly from github. (I did not know that this is not included in the installers.)