Game Development 8 min read

Explore Fun Linux Terminal Games You Can Install in One Command

This guide introduces a collection of entertaining Linux terminal games—including 2048, Tetris clones, snake variants, Moonbuggy, Space Invaders, Pac‑Man, Sudoku, Nethack, and more—provides brief descriptions, installation commands via package managers or source download, and instructions to launch each game.

ITPUB
ITPUB
ITPUB
Explore Fun Linux Terminal Games You Can Install in One Command

2048

2048 is a popular number‑puzzle originally released on GitHub by Gabriele Cirulli and later ported to many platforms, including the Linux terminal as a C source file 2048.c.

Installation:

wget //raw.githubusercontent.com/mevdschee/2048.c/master/2048.c

Compile and run:

gcc -o 2048 2048.c && ./2048

Bastet

Bastet is a terminal‑based clone of the classic Tetris game.

Installation: sudo apt-get install bastet Run:

bastet

Greed

Greed is a colorful terminal version of the classic Snake game.

Installation: sudo apt-get install greed Run:

greed

Moonbuggy

Moonbuggy puts you in a lunar rover, navigating craters by using the space bar and ‘a’/’l’ keys.

Installation: sudo apt-get install moon-buggy Run:

moon-buggy

nInvaders

nInvaders recreates the classic “Space Invaders” arcade game for the terminal.

Installation: sudo apt-get install ninvaders Run:

ninvaders

Nsnake

Nsnake is a ncurses‑based Snake clone that runs in a text console.

Installation: sudo apt-get install nsnake Run:

nsnake

Pacman4Console

Pacman4Console brings the classic Pac‑Man arcade experience to the Linux console.

Installation: sudo apt-get install pacman4console Run:

pacman4console

Sudoku

Sudoku is a terminal‑based logic puzzle that offers multiple difficulty levels.

Installation: sudo apt-get install sudoku Run:

sudoku

Nethack

Nethack is a single‑player rogue‑like adventure reminiscent of Dungeons & Dragons, where the goal is to retrieve the Amulet of Yendor and return it to the surface.

Installation: sudo apt-get install nethack-console Run:

nethack

Robot Finds Kitten

This quirky game lets you control a robot that searches through random characters to locate a hidden kitten, with humorous object descriptions.

Installation: sudo apt-get install robotfindskitten Run:

robotfindskitten

BSD Games (meta‑package)

If you want a broader collection of classic terminal games, install the BSD Games meta‑package, which bundles many of the titles above.

Installation:

sudo apt-get install bsdgames
open-sourceUbuntuterminalcommand-linegames
ITPUB
Written by

ITPUB

Official ITPUB account sharing technical insights, community news, and exciting events.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.