To download a tarball of the NetHack code as of the 5.0.0 release:
Step 1: download.
Click on the link below to download NetHack. Depending on your browser you may need to right-click so that the file is saved to disk and not displayed.
nethack-500-src.tgz (about 11M) (SHA256 sum: 2959b7886aac76185b90aea0c9f80d14343f604de0ae96b3dd2a760f7ab3bde9)
NetHack 5.0.0 source release.Download this file Step 2: unpack.
NetHack is shipped in a single archive created with tar and then shrunk with gzip. To unpack under Unix, the following commands should be executed in an empty directory:gzcat nethack-500-src.tgz > nethack-500-src.tar tar xf nethack-500-src.tar
Some versions of Linux do not have a gzcat command. Use the following commands instead:gzip -dc nethack-500-src.tgz > nethack-500-src.tar tar xf nethack-500-src.tarThe gzip package (containing gzip, gunzip, and gzcat) may be obtained from the Free Software Foundation. A version of tar is also available from the same site.
Step 3: build.
See the file README in the top level directory unpacked in Step 2 for build instructions for the various operating systems.