So I have another computer now and I am trying to install again. I'm using OpenSUSE for this one.
Even after all this time it's hard.
I'm just writing this down in case I need to do this again. Note: I skipped the sdcc part, therefore this is the installation manual for the non-sdcc version.
1) Download the nightly (tgz version), link can be found on the main forum page.
2) unzip in home directory
3) try ./build.sh in z88dk directory
4) obviously it doesn't work the first time. intended.

5) read link earlier in this thread:
https://github.com/z88dk/z88dk/wiki/ins ... inux--unix
6) sudo zypper install perl libxml2-devel perl-App-cpanminus gcc-c++ m4 (zypper is the apt-get of opensuse, so change this according to your dist)
(you could also try the longer command found in document in 5) i was just too lazy. )
7) use the long "cpanm" command found in the document in 5)
8) eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
9) export PATH=${PATH}:${HOME}/z88dk/bin
10) export ZCCCFG=${HOME}/z88dk/lib/config
11) again ./build.sh (this can take a while, there's like a 10 seconds time to build each of the computer model, i wonder why)
12) finished. testing this with a test c file
13) install emulators to test output (still need to do this)