• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install and play Games from Terminal - Part 1

{{postValue.id}}

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 the games via terminal.


To play yetris Game

Download the game by executing the following command.

root@linuxhelp1:~# wget https://github.com/alexdantas/yetris/tarball/master/alexdantas-yetris-a4a11e3.tar.gz
--2016-07-14 02:37:20--  https://github.com/alexdantas/yetris/tarball/master/alexdantas-yetris-a4a11e3.tar.gz
Resolving github.com (github.com)... 192.30.253.113
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/alexdantas/yetris/legacy.tar.gz/master [following]
--2016-07-14 02:37:31--  https://codeload.github.com/alexdantas/yetris/legacy.tar.gz/master
Resolving codeload.github.com (codeload.github.com)... 192.30.253.120
Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘ alexdantas-yetris-a4a11e3.tar.gz’ 

alexdantas-yetris-a     [          < =>        ]  95.98K  33.5KB/s    in 2.9s    

2016-07-14 02:37:35 (33.5 KB/s) - ‘ alexdantas-yetris-a4a11e3.tar.gz’  saved [98279]
root@linuxhelp1:~# ls
alexdantas-yetris-a4a11e3.tar.gz  Downloads         Pictures   Videos
Desktop                           examples.desktop  Public
Documents                         Music             Templates

Extract the tar file.

root@linuxhelp1:~# tar -xzf alexdantas-yetris-a4a11e3.tar.gz
root@linuxhelp1:~# ls
alexdantas-yetris-a4a11e3.tar.gz  Documents         Music     Templates
alexdantas-yetris-cf3fee6         Downloads         Pictures  Videos
Desktop                           examples.desktop  Public
root@linuxhelp1:~# cd alexdantas-yetris-cf3fee6/

Install the following dependency before installing yetris.

root@linuxhelp1:~/alexdantas-yetris-cf3fee6# apt-get install libncurses5-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libtinfo-dev
Suggested packages:
  ncurses-doc
The following NEW packages will be installed:
  libncurses5-dev libtinfo-dev
0 upgraded, 2 newly installed, 0 to remove and 142 not upgraded.
Need to get 252 kB of archives.
.
.
.
Selecting previously unselected package libncurses5-dev:amd64.
Preparing to unpack .../libncurses5-dev_6.0+20160213-1ubuntu1_amd64.deb ...
Unpacking libncurses5-dev:amd64 (6.0+20160213-1ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libtinfo-dev:amd64 (6.0+20160213-1ubuntu1) ...
Setting up libncurses5-dev:amd64 (6.0+20160213-1ubuntu1) ...

Now install the game.

root@linuxhelp1:~/alexdantas-yetris-cf3fee6# make
# Compiling src/Game/Entities/ScoreFile.cpp...
# Compiling src/Game/Entities/Profile.cpp...
# Compiling src/Game/Entities/Board.cpp...
# Compiling src/Game/Entities/RotationSystemSRS.cpp...
# Compiling src/Game/Entities/Block.cpp...
# Compiling src/Game/Entities/PieceGhost.cpp...
.
.
.
# Compiling deps/Engine/Graphics/Animation/AnimationWater.cpp...
# Compiling deps/Engine/Graphics/Animation/AnimationFire.cpp...
# Compiling deps/Engine/Graphics/Layout.cpp...
# Compiling deps/Engine/Graphics/Window.cpp...
# Compiling deps/commander/commander.c...
# Linking...
# Build successful!
root@linuxhelp1:~/alexdantas-yetris-cf3fee6# make install
# Linking...
# Build successful!
# Installing...
# yetris successfuly installed!

Run the following command to play the game on terminal.

root@linuxhelp1:~/alexdantas-yetris-cf3fee6# yetris

Install-and-play-Games-from-linux-Terminal-yetris-play-single-player
control Settings
Install-and-play-Games-from-linux-Terminal-yetris-control-Settings
To start the game.
Install-and-play-Games-from-linux-Terminal-yetris-start-game

Install-and-play-Games-from-linux-Terminal-play-game-yetris
To pause the game press “ Enter”
Install-and-play-Games-from-linux-Terminal-pause-yetris


To play myman game

Myman is similar to pacman clone game. It is the most popular arcade game.
Install the following packages, before installing the Myman game.

root@linuxhelp1:~# apt-get install libncurses5-dev groff
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libncurses5-dev is already the newest version (6.0+20160213-1ubuntu1).
The following NEW packages will be installed:
  groff psutils
0 upgraded, 2 newly installed, 0 to remove and 142 not upgraded.
Need to get 3,345 kB of archives.
After this operation, 10.8 MB of additional disk space will be used.
.
.
.
Selecting previously unselected package psutils.
Preparing to unpack .../psutils_1.17.dfsg-2_amd64.deb ...
Unpacking psutils (1.17.dfsg-2) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up groff (1.22.3-7) ...
Setting up psutils (1.17.dfsg-2) ...

Download the package for the game as shown below.

root@linuxhelp1:~# wget http://downloads.sourceforge.net/project/myman/myman-cvs/myman-cvs-2009-10-30/myman-wip-2009-10-30.tar.gz
--2016-07-14 02:51:12--  http://downloads.sourceforge.net/project/myman/myman-cvs/myman-cvs-2009-10-30/myman-wip-2009-10-30.tar.gz
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://jaist.dl.sourceforge.net/project/myman/myman-cvs/myman-cvs-2009-10-30/myman-wip-2009-10-30.tar.gz [following]
--2016-07-14 02:51:13--  http://jaist.dl.sourceforge.net/project/myman/myman-cvs/myman-cvs-2009-10-30/myman-wip-2009-10-30.tar.gz
Resolving jaist.dl.sourceforge.net (jaist.dl.sourceforge.net)... 150.65.7.130, 2001:df0:2ed:feed::feed
Connecting to jaist.dl.sourceforge.net (jaist.dl.sourceforge.net)|150.65.7.130|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1192321 (1.1M) [application/x-gzip]
Saving to: ‘ myman-wip-2009-10-30.tar.gz’ 

myman-wip-2009-10-3 100%[===================> ]   1.14M   243KB/s    in 5.5s    

2016-07-14 02:51:19 (211 KB/s) - ‘ myman-wip-2009-10-30.tar.gz’  saved [1192321/1192321]

Extract the downloaded package.

root@linuxhelp1:~# ls
alexdantas-yetris-a4a11e3.tar.gz  Downloads                    Pictures
alexdantas-yetris-cf3fee6         examples.desktop             Public
Desktop                           Music                        Templates
Documents                         myman-wip-2009-10-30.tar.gz  Videos
root@linuxhelp1:~# tar -xzf myman-wip-2009-10-30.tar.gz

After extracting move to the newly created directory.

root@linuxhelp1:~# ls
alexdantas-yetris-a4a11e3.tar.gz  examples.desktop             Public
alexdantas-yetris-cf3fee6         Music                        Templates
Desktop                           myman-wip-2009-10-30         Videos
Documents                         myman-wip-2009-10-30.tar.gz
Downloads                         Pictures
root@linuxhelp1:~# cd myman-wip-2009-10-30/

Run the following commands to install the game.

root@linuxhelp1:~/myman-wip-2009-10-30# ./configure
creating config.status... done.
creating makefile.cp... done.
creating GNUmakefile... done.
root@linuxhelp1:~/myman-wip-2009-10-30# make
creating directory obj/
gcc -g -Wall -DHAVE_CONFIG_H=1 -Iinc -I. -Imygetopt -o obj/_sanity0.o -c obj/_sanity0.c
gcc -g -Wall -DHAVE_CONFIG_H=1 -Iinc -I. -Imygetopt -o obj/_sanity1.o -c obj/_sanity1.c
your compiler appears to work, so creating obj/compiler.ok
.
.
.
creating myman.command from utl/mymancmd.in
chmod 755 myman.command
creating myman.6 from src/myman.man
creating myman.txt from myman.6
creating myman.ps from myman.6
creating myman.dvi from myman.6
creating myman.html from myman.6
root@linuxhelp1:~/myman-wip-2009-10-30# make install
creating directory /usr/local/share/doc
creating directory /usr/local/share/man/man6
creating directory /usr/local/share/myman-0.7.1
creating directory /usr/local/share/doc/myman-0.7.1
creating directory /usr/local/share/myman-0.7.1/lvl
creating directory /usr/local/share/myman-0.7.1/chr
.
.
.
installing sprite file /usr/local/share/myman-0.7.1/spr/spr4b.txt
installing sprite file /usr/local/share/myman-0.7.1/spr/spr4b.txt
installing sprite file /usr/local/share/myman-0.7.1/spr/spr4hb.txt
installing sprite file /usr/local/share/myman-0.7.1/spr/spr4hb.txt
installing sprite file /usr/local/share/myman-0.7.1/spr/ott10.txt
installing sprite file /usr/local/share/myman-0.7.1/spr/rogues.txt
updated whatis database for /usr/local/share/man

Run the following command to open the game.

root@linuxhelp1:~/myman-wip-2009-10-30# myman

Install-and-play-Games-from-linux-Terminal-myman-play

To play moon-buggy

moon-buggy is an arcaded
Run the following command to download the package.

root@linuxhelp1:~# wget http://m.seehuhn.de/programs/moon-buggy-1.0.51.tar.gz
--2016-07-14 03:04:07--  http://m.seehuhn.de/programs/moon-buggy-1.0.51.tar.gz
Resolving m.seehuhn.de (m.seehuhn.de)... 213.138.100.165, 2001:41c8:51:a5::165
Connecting to m.seehuhn.de (m.seehuhn.de)|213.138.100.165|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 263572 (257K) [application/octet-stream]
Saving to: ‘ moon-buggy-1.0.51.tar.gz’ 

moon-buggy-1.0.51.t 100%[===================> ] 257.39K   190KB/s    in 1.4s    

2016-07-14 03:04:09 (190 KB/s) - ‘ moon-buggy-1.0.51.tar.gz’  saved [263572/263572]
root@linuxhelp1:~# ls
alexdantas-yetris-a4a11e3.tar.gz  examples.desktop             Pictures
alexdantas-yetris-cf3fee6         moon-buggy-1.0.51.tar.gz     Public
Desktop                           Music                        Templates
Documents                         myman-wip-2009-10-30         Videos
Downloads                         myman-wip-2009-10-30.tar.gz

Extract the downloaded package.

root@linuxhelp1:~# tar -xzf moon-buggy-1.0.51.tar.gz
root@linuxhelp1:~# ls
alexdantas-yetris-a4a11e3.tar.gz  Music
alexdantas-yetris-cf3fee6         myman-wip-2009-10-30
Desktop                           myman-wip-2009-10-30.tar.gz
Documents                         Pictures
Downloads                         Public
examples.desktop                  Templates
moon-buggy-1.0.51                 Videos
moon-buggy-1.0.51.tar.gz

Run the following commands to install the game.

root@linuxhelp1:~# cd moon-buggy-1.0.51/
root@linuxhelp1:~/moon-buggy-1.0.51# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
.
.
.
checking for ftruncate... yes
checking for getopt_long... yes
checking for setreuid... yes
checking for setlocale... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
root@linuxhelp1:~/moon-buggy-1.0.51# make
make  all-am
make[1]: Entering directory ' /home/user1/moon-buggy-1.0.51' 
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT main.o -MD -MP -MF " .deps/main.Tpo"  -c -o main.o main.c  
then mv -f " .deps/main.Tpo"  " .deps/main.Po"   else rm -f " .deps/main.Tpo"   exit 1  fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT mode.o -MD -MP -MF " .deps/mode
.
.
.
sed " s:@MBBINDIR@:/usr/local/bin:g 
    s:@MBSCORE@:/usr/local/com/moon-buggy:g 
    s:@C@::g 
    s:@MBVERS@:1.0.51:g"  ./manpage.in > > moon-buggy.6
make[1]: Leaving directory ' /home/user1/moon-buggy-1.0.51
root@linuxhelp1:~/moon-buggy-1.0.51# make install
make  install-am
make[1]: Entering directory ' /home/user1/moon-buggy-1.0.51' 
make[2]: Entering directory ' /home/user1/moon-buggy-1.0.51' 
test -z " /usr/local/bin"  || mkdir -p -- " /usr/local/bin" 
  /usr/bin/install -c ' moon-buggy'  ' /usr/local/bin/moon-buggy' 
.
.
.
/usr/local/bin/moon-buggy -c
make[3]: Leaving directory ' /home/user1/moon-buggy-1.0.51' 
make[2]: Leaving directory ' /home/user1/moon-buggy-1.0.51' 
make[1]: Leaving directory ' /home/user1/moon-buggy-1.0.51' 

To play moon-buggy run the below command.

root@linuxhelp1:~/moon-buggy-1.0.51# moon-buggy

Install-and-play-Games-from-linux-Terminal-moon-buggy

Install-and-play-Games-from-linux-Terminal-moon-buggy-play

Tags:
john
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

while installing yetris during make command execution it throws certain error

A

Make sure all the depedency packages are installed before proceeding with the step

Q

Please provide similar games like moon-buggy

A

SuperTuxKart Crazy Chicken and goes on

Q

How do I open the console?

A

Press [shift]+[escape]. To close it press [escape]. While playing ` or ^ will also open the console.

Q

How to install moon-buggy in command line?

A

# apt install moon-buggy

Q

How to install version with sound? what is the command?

A

# apt install moon-buggy-esd

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Isaiah ?
What is the use of SUID & SGID commands

How to set the special permissions to the files and folders using SUID and SGID commands...

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.