This script is for Slackware 11.0 only and may be outdated.

SlackBuilds Repository

11.0 > Games > nethack (3.4.3)

Nethack is a rogue-like dungeon exploration game.

Originally Nethack was written using a TTY interface. The "graphics" are made
up of ASCII characters. This SlackBuild will build the TTY interface by default.

To build and use the X11 interface (which retains the tty interface) two things
are required:
1) run the SlackBuild with FLAVOR=_X11
example: FLAVOR=_X11 sh nethack.SlackBuild
2) if X is running either run these two commands as
the user logged into X, or restart X:
xrdb -merge /etc/X11/app-defaults/NetHack
xset +fp /usr/X11R6/lib/X11/fonts/misc
(I recommend restarting X and letting everything initialize properly)

To build and use the Qt interface (which retains the TTY and X11 interfaces)
two things are required:
1) run the SlackBuild with FLAVOR=_Qt
example: FLAVOR=_Qt sh nethack.SlackBuild
2) if X is running either run these two commands as
the user logged into X, or restart X:
xrdb -merge /etc/X11/app-defaults/NetHack
xset +fp /usr/X11R6/lib/X11/fonts/misc
(I recommend restarting X and letting everything initialize properly)

It is recommended that if you are using the Qt client that you copy
/etc/nethack/nethackrc.qt to ~/.nethackrc post-install. This will make the
Qt client more "pretty" and usable. The Nethack Guidbook is included in
/usr/doc with this package, and is available at http://www.nethack.org.
A full list of options and settings can be found in the Guidebook.
In-game help can be accessed with the "?" key.

Nethack will choose its default mode in the order Qt > X11 > TTY. You can
run the interface of your choice with nethack-tty, nethack-x11, or nethack-qt
depending on which interfaces you decided to build with FLAVOR.

Requirements:
TTY interface: >=ncurses-5.0
X11 interface:
>=ncurses-5.0 >=x11-6.9.0 >=x11-devel-6.9.0
>=x11-fonts-6.9.0-* (uses 'times' and 'fixed' fonts by default)
Qt interface: All X11 requirements as well as >=qt-3.3.6

Maintained by: hollywoodb
Keywords: nethack,rogue,game
ChangeLog: nethack

Homepage:
http://www.nethack.org

Source Downloads:
nethack-343-src.tgz (21479c95990eefe7650df582426457f9)

Download SlackBuild:
nethack.tar.gz
nethack.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 11.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds