The netZ R-package tests a range of popular models for the degree distribution of (undirected) complex networks.
To install netZ, copy the tgz file into a suitable directory and call it netZ.tgz. Then run
‘R CMD INSTALL netZ.tgz’
and the package will be installed. You can call it from within R via the ‘library(“netZ”)’ command. For details on the R statistical environment please consult the R-project webpages. You will also need the ‘gsl’ package which can be downloaded from CRAN.