How to Install and play Games from Terminal - Part 3
To Install and play Games from Terminal
In this article we will discuss how to install some of the games from linux terminal and how to play it in the terminal.
To play greed game
Run the below command to install the game.
root@linuxhelp1:~# apt-get install greed -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
greed
0 upgraded, 1 newly installed, 0 to remove and 154 not upgraded.
Need to get 14.9 kB of archives.
After this operation, 50.2 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 greed amd64 3.10-1build1 [14.9 kB]
Fetched 14.9 kB in 0s (24.6 kB/s)
Selecting previously unselected package greed.
(Reading database ... 207217 files and directories currently installed.)
Preparing to unpack .../greed_3.10-1build1_amd64.deb ...
Unpacking greed (3.10-1build1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up greed (3.10-1build1) ...
Utilise the following command to play the game.
root@linuxhelp1:~# cd /usr/games/
root@linuxhelp1:/usr/games# ./greed
To play pacman4console game
Install the package for pacman game by using the following command.
root@linuxhelp1:~# apt-get install pacman4console
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
pacman4console
0 upgraded, 1 newly installed, 0 to remove and 154 not upgraded.
Need to get 19.2 kB of archives.
After this operation, 90.1 kB of additional disk space will be used.
.
.
.
Processing triggers for man-db (2.7.5-1) ...
Setting up pacman4console (1.3-1build1) ...
To run the game on your terminal.
root@linuxhelp1:~# cd /usr/games/
root@linuxhelp1:/usr/games# ./pacman4console
To Install zangband game
Install the following package for zangband game
root@linuxhelp1:~# apt-get install zangband -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
zangband-data
The following NEW packages will be installed:
zangband zangband-data
0 upgraded, 2 newly installed, 0 to remove and 154 not upgraded.
Need to get 1,603 kB of archives.
After this operation, 6,397 kB of additional disk space will be used.
.
.
.
Setting up zangband-data (1:2.7.5pre1-11build1) ...
Setting up zangband (1:2.7.5pre1-11build1) ...
To play the game in the terminal.
root@linuxhelp1:~# cd /usr/games/
root@linuxhelp1:/usr/games# ./zangband
Comments ( 2 )