Amazon Cyber Monday deals See deals →ad

Mets Minor League Blog

Music theory, instruments and musicians

Mets Minor League Blog

Music theory, instruments and musicians

Ubuntu Terminal Games: What to Play and How to Install

Yes—Ubuntu has a range of games you can play entirely in a terminal, from classic text adventures and puzzle games to roguelikes and networked chess. You can install many through Ubuntu’s package manager, while others run in a terminal window after downloading or compiling them; the right choice depends on whether you want a quick diversion or a deeper game.

What Counts as a Terminal Game?

A terminal game uses a text-based interface rather than conventional graphics. The screen may show a board, a map made from characters, menus, or descriptions of a fictional world. You usually control it with keyboard input. Some games are turn-based, while others update continuously and require faster reactions.

“Terminal game” does not necessarily mean the game runs on a bare Linux console. Most work in a terminal emulator inside Ubuntu’s desktop, such as GNOME Terminal, Konsole, or another compatible application. Many use a library called ncurses, which helps programs draw text interfaces, position the cursor, and respond to key presses. A small number can also run on a text-only console, but that can depend on terminal settings and system configuration.

Popular Games to Try

Ubuntu’s repositories and the wider Linux community offer several kinds of terminal games. Availability and package names can vary by Ubuntu release, so check the package manager if a command below is not found.

  • Nudoku: a terminal Sudoku game for solving number puzzles.
  • Moon-buggy: a simple side-scrolling game in which you jump over craters. It is a handy example of a quick, keyboard-controlled arcade game.
  • Angband: a long-running, turn-based fantasy roguelike. Its text display represents a dungeon and its inhabitants; exploring and managing risk are central to play.
  • NetHack: a complex roguelike known for exploration, items, and many interacting systems. It is playable in text mode, though it has a substantial learning curve.
  • GNU Chess: a text-based chess program that can be played from a terminal. Depending on how it is packaged, you may use it directly or connect to it through a separate text interface.
  • Adventure and other interactive fiction: text adventures focus on reading descriptions and entering commands. Some are installed as packaged games; others need a compatible interpreter and a story file.

These examples are not all alike: a Sudoku puzzle is easy to pick up, while NetHack or Angband can take time to understand. If you want a quick first test, try a small arcade or puzzle game before committing to a large roguelike.

Installing Games with APT

For games in Ubuntu’s configured software repositories, APT is generally the simplest and safest installation route. Open a terminal and refresh the package lists:

sudo apt update

Then install a game by its package name. For example:

sudo apt install moon-buggy

Start it by entering its command name, which is often similar to the package name:

moon-buggy

To look for other candidates, use Ubuntu’s graphical software tools or search package metadata with a command such as apt search game. The broad search can return many unrelated results, so include a specific name when you have one. You can also inspect a package before installing it with apt show PACKAGE, replacing PACKAGE with the actual package name.

APT handles dependencies and updates for repository packages. To remove a game later, run sudo apt remove PACKAGE. Removing the program does not always remove its user configuration files; sudo apt purge PACKAGE removes system-wide package configuration as well, but it is not usually necessary just to uninstall a game.

Other Ways to Get Terminal Games

Not every terminal game is included in Ubuntu’s standard repositories. A project may distribute a prebuilt Linux release, publish source code, or provide a version through a separate repository. Read its official installation instructions and check that the download is intended for Linux and for your system architecture.

Some interactive-fiction games need an interpreter—for example, a program that runs a story file in a particular format. In that case, installing the interpreter alone does not provide a story; you need a compatible game file too. Likewise, compiling a game from source is a separate process from installing a ready-made package and may require development tools and libraries.

Prefer Ubuntu’s repositories or the developer’s official project page over random download sites. Avoid running an unfamiliar script with sudo: administrator privileges can let it change or damage the system. If the project offers signed releases or published checksums, use them to verify downloads.

Choosing a Game and Getting Comfortable

Pick a game based on the kind of experience you want, not just on whether it has a terminal interface. A useful starting point is to ask:

  • How much time do you have? A small puzzle or arcade game suits a short break; a roguelike can reward longer sessions.
  • Do you want action or planning? Some games use rapid key presses, while turn-based games let you consider each move.
  • How much reading is involved? Interactive fiction and complex roguelikes rely heavily on text and learning commands.
  • Do you need a network connection? Most classic terminal games are local, but some tools and multiplayer options may depend on network services.

Terminal controls are not perfectly uniform. Read the game’s opening instructions, help screen, or manual page with man GAME when one exists. Common controls include arrow keys, letter keys, Enter, and Escape, but a terminal emulator or keyboard layout can affect how some keys are interpreted. You can usually leave with a quit command shown by the game; if it becomes unresponsive, Ctrl+C often interrupts it, though unsaved progress may be lost.

Terminal Games Compared with Graphical Games

Terminal games are not automatically smaller, simpler, or more secure than graphical games. Many have modest visual requirements and work well on older hardware, but a complex game can still have a steep learning curve. Text interfaces can be clear and efficient once familiar, yet they may be less accessible to people who rely on visual cues or find dense text difficult.

Compared with graphical games, terminal games often have fewer visual effects and may install quickly from Ubuntu’s repositories. In exchange, they can offer unusual mechanics, portability, and a direct connection to Linux’s command-line tools. You do not need to be a programmer to play one, and installing a game does not require replacing Ubuntu or switching to a different operating system.

Frequently Asked Questions

Are there games in the Ubuntu terminal?
Yes. Ubuntu users can install text-interface games from repositories or obtain them from their developers. Examples include Moon-buggy, Angband, NetHack, and terminal puzzle games, though availability varies by release.

How do I find terminal games in Ubuntu?
Search Ubuntu’s software catalog or run apt search with a relevant term. Search results can include libraries and unrelated packages, so confirm a package’s description with apt show PACKAGE before installing it.

Can I play terminal games without internet?
Most locally installed games work offline after installation. You need an internet connection to download packages or updates, and online multiplayer or remote services may require connectivity.

Do terminal games work in GNOME Terminal?
Most text-mode games designed for standard Linux terminals work in GNOME Terminal and similar terminal emulators. A particular program may have special display or key requirements, so consult its documentation if the screen or controls behave incorrectly.

How do I quit a terminal game?
Use the quit key or command shown in the game’s instructions. If it is stuck, press Ctrl+C to interrupt the foreground process; doing so can end the game without saving.

Ubuntu Terminal Games: What to Play and How to Install
Scroll to top