Linux

From NetHackWiki
Jump to navigation Jump to search

Linux is a family of free and open source Unix-like operating systems based on Linus Torvalds' Linux kernel. It is commonly used in servers and in software development. Linux is sometimes called GNU/Linux, because software provided by the GNU Project is often included in Linux distributions.

NetHack has been supported on Linux since 1999 or earlier[1]; most variants are supported too.

Installing NetHack on Linux

Broadly speaking, there are three ways to install NetHack locally on a Linux machine:

  • Install it using your distribution's package manager
  • Compile it from source
  • Download and run a pre-built executable

When available, installing NetHack via a package manager is usually the simplest option. However, not every distribution has a copy of NetHack in its repository, and even those that do sometimes host outdated versions; furthermore, very few variants are available in this manner. Compiling from source, while more complicated, avoids these potential pitfalls.

While some variants (such as SLASH'EM) have pre-compiled Linux executables available for download (similar to how one installs on Windows), these are best avoided: they were usually built for the Linux distributions available at the time of release, and will work poorly or not at all on modern systems.

References


This page is a stub. Should you wish to do so, you can contribute by expanding this page.