Linux

From NetHackWiki
(Redirected from GNU Project)
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 Linux in the strict sense only designates the kernel, which is useless without a number of system and utility programs. In many Linux distributions, these are provided by the GNU Project.

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 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.