fatmawati achmad zaenuri/Shutterstock.com

If you want to learn how to use the Linux terminal, a great way to get started is to install and play a few games. These games are not only fun, they also don’t require a compatibility layer neither expensive graphics cards .


Playing Bastet in the Linux terminal

Tetris is a puzzle game that Russian software engineer Alexey Pajitnov created in 1984. The game’s popularity skyrocketed in the 1990s, and it had more than 20 million players worldwide by the end of 1996.

The name Bastet is a combination of “bastard” and “Tetris”. The reason behind this is that this clone of Tetris tries to frustrate you by giving you the exact block you don’t want, instead of giving you a random block. Hence the name Bastet.

To install Bastet on distributions based on Debian and Ubuntu (distro), use this command.

sudo apt instalar bastet

Use the following command if you are running fedora RHEL or CentOS.

sudo dnf instalar bastet

To start playing, type bastetand press enter.


Pacman4console in Linux Terminal

pac-man needs no introduction. The retro game revolutionized the gaming industry and is still played by millions of people around the world. The objective of the game is to navigate the Pac-man character through a maze and consume all the white circles without being eaten by the Ghosts. Pacman4Console is the same game translated to the Linux terminal.

To install Pacman4Console, copy and paste the following command, then hit enter.

sudo apt install pacman4console

To start playing, type pacman4consoleand press enter.


nsnake game of snakes in Linux Terminal

If you grew up in the 90s, you might remember the legendary game Nokia Snake. It’s also here in the Linux terminal and can kill time quite well.

To install nSnake on distributions based on Debian or Ubuntu type the following command and press enter.

sudo apt install nsnake

Copy and paste the following and hit enter if you are running Fedora, CentOS, or RHEL.

sudo dnf install nsnake

To run it, type nsnakeand press enter.


2048 game in Linux Terminal

Cirulli, i.e. of 19 years, The objective is to combine the numbered tiles until you reach the number 2048. If you like number puzzles, you will love this game.

To install 2048 on Debian/Ubuntu based distributions, type the following command and hit enter.

sudo apt instalar 2048

If you are running Fedora, CentOS, or RHEL, use the following command to install 2048. Since the 2048 game is not available in the DNF repositories, we will install the 2048 clone, 2048-CLI.

sudo dnf instalar 2048-cli

To run the game, type 2048and press enter.


Play Nudoku in Linux Terminal

Does the title ring a bell? Nudoku is a clone of Sudoku for the Linux terminal. For those who don’t know, Sudoku is a puzzle game where you are given a 9×9 box with partially filed values. Your goal is to fill the boxes in such a way that a number appears only once in any particular row and column.

To install Nudoku on a Debian or Ubuntu based Linux system, type the following command and press enter.

sudo apt install nudoku

Use the following command for Fedora, CentOS, RHEL, or RHEL based systems.

sudo dnf instalar nudoku

To start the game, type nudokuand press enter.

moon buggy

Play Moon Buggy in Linux Terminal

Moon Buggy is quite similar to Google Dinosaur game in Chrome . The object of the game is to dodge the craters. At first glance, it may seem quite simple and boring, but it can become quite addictive once you start playing.

To install Moon Buggy on Debian/Ubuntu based Linux distributions, type the following command in the terminal and hit enter.

sudo apt install moon-buggy

Copy and paste the following command to install Moon Buggy on Fedora, CentOS or RHEL and press enter.

sudo dnf instalar moon-buggy

To run the game, type moon-buggyand press enter.


Play Ninvaders space invaders in Linux Terminal

Do you remember the popular game Space Invaders? Ninvaders is a clone of Space Invaders for the Linux terminal. The main objective of the game is to prevent a large block of aliens from invading Earth by shooting missiles from a cannon on the ground.

To install Ninvaders on Debian/Ubuntu based Linux distributions, type the following command and hit enter.

sudo apt install ninvaders

To start the game, type ninvadersin the terminal and press enter.

ascii patrol

ascii patrol game in linux terminal

the creator of ascii Patrol was inspired by an old Japanese game Moon Patrol. You drive a lunar buggy and dodge obstacles like mines, craters, etc. while trying to shoot down two UFOs attacking you from above. It is, without a doubt, one of the most beautiful and fun Linux terminal games.

The game is only available as Snap . So you will need to install Snapd first, which you can do with the following command. If you’re using Ubuntu, chances are Snapd is already installed. In which case, continue to the next step.

sudo apt install snapd

Use the following command to install Snap on Fedora, CentOS, or RHEL.

sudo dnf instalar snapd

Once done, install Ascii Patrol using the command:

instalación rápida ascii-patrulla

To start playing, type ascii-patroland press enter.


Greed numbers game in Linux Terminal

Greed is a pretty simple but fun game. You are surrounded by numbers and your location is indicated by the @ character. You can consume the number to your left, right, bottom, or top to move that many places. The goal is to consume as many numbers as possible; however, the problem is that you can’t travel in the same direction you came from, and the game ends when you can no longer make any moves.

Confused? The game is quite easy to understand once you start playing.

Type the following command and hit enter to install and play Greed on Debian/Ubuntu based distributions.

sudo apt install codicia

Writes greedand press enter.

bsd games

battlestar game in linux terminal

Installing BSD Games allows you to play a collection of simple games. Some of the most popular games that you can play from the collection are Hunt, Battlestar, and Air Traffic Control.

bsd it’s another Unix-inspired operating system like Linux, but it’s a complete operating system, while Linux is technically just a kernel. BSD Games is a collection of games that ship with BSD operating systems like FreeBSD and NetBSD, and there are around 40 games in the collection.

You can install BSD Games on Debian Ubuntu based systems using the following command.

sudo apt install bsdgames

If you are using another Linux distribution, you can also compile from source via the GitHub repository.

Here there is one ready of all the games included with BSD Games. To start a game, just type the name in the terminal and hit enter.

Installing these games is one of the best ways to learn how to use the Linux terminal if you are new to Linux. If you are interested in learning more about the Linux terminal and its commands, here is a guide on how to start using linux terminal .

RELATED:   How to insert the degree symbol in Microsoft Word

Leave a Reply

Your email address will not be published. Required fields are marked *