Last I looked the scripts in those guides were out of date. Keeping a development environment up to date isn’t easy.
The recommended way seems to be the docker development version, but I’ve not had much luck with it either. I’m not clear how people do it.