Install 2048 text based math terminal game on Ubuntu Linux

Install & play 2048 game on Ubuntu 22.04 or 20.04 LTS Linux

Posted on

Set up the 2048 mathematical sport on Ubuntu 22.04 Jammy JellyFish or Ubuntu 20.04 Focal Fossa to take a break out of your Terminal instructions. 

2048 is a straightforward however sophisticated puzzle board sport during which a single participant will get 4×4 tiles. The place the participant has to mix or add the random however identical digits to attain the worth of 2048 earlier than the board is full. It was developed by Gabriele Cirulli, an Italian developer.

At first look, the sport appears fairly fundamental and straightforward to play however as you begin sliding the tiles to get the quantity 2048 you’ll notice, it isn’t a chunk of cake for everybody. Solely the mathematical sound particular person may get the correct quantity to win the sport.

Initially the sport was written in Javascript and CSS. And being an open-source software program it’s accessible to put in utilizing the default system repository of Ubuntu Linux.

The most effective half is that we will use our Terminal to play it, no must launch some separate utility launcher to play the sport.

Steps to put in 2048 sport on Ubuntu 22.04 or 20.04 Linux

The instructions given right here can be utilized for different Linux programs primarily based on Debian or Ubuntu reminiscent of Linux Mint, Elementary OS, Zorin OS, POP!_OS, and extra…

Replace your Ubuntu

As we’re going to use the default system repository and APT package deal supervisor of Ubuntu, subsequently, earlier than that run the system replace command as soon as. It installs the most recent accessible updates for the system together with the rebuilding of the APT package deal index cache.

sudo apt replace

Set up 2048 on Ubuntu 22.04 or 20.04

Effectively, one of the best a part of this Textual content-based mathematical sport is we don’t want so as to add any third-party repository to our system. Simply use the APT package deal supervisor and run the given command. That may fetch the mandatory packages to put in the 2048 sport on Ubuntu or Debian Linux.

To put in for Terminal (Textual content-based)

sudo apt set up 2048

For Gnome GUI help

sudo apt set up gnome-2048

Run the Mathematical sport

When you’ve got put in the text-based 2028 sport, then you possibly can play it immediately in your Ubuntu Terminal. For that merely in your command terminal sort:

2048

Right here is the screenshot

Install 2048 text based math terminal game on Ubuntu Linux

Whereas, in case you have put in the Gnome2048 then both type- gnome-2048 or go to the Actions hyperlink given in Ubuntu’s taskbar and there seek for it.

Install and play 2048 math game on Ubuntu 22.04 or 20.4 Linux

The distinction between the 2 editions of the 2048 sport is the primary one is text-based, therefore even in case you have a Linux with a command line interface, you possibly can play it. Nonetheless, for Gnome 2038 you want a GUI desktop due to the higher graphic illustration.

Learn how to play the 2048 Math sport on Linux

After you have run the sport, what it’s important to do is, through the use of the Arrow keys in your keyboard, add related numbers. For instance – 2+2. 4+4, 8+8, and so on. till you’ll not have a price of 2048. Nonetheless, make sure that all of your 4×4 tiles of 2048 should not get crammed till you obtain the goal worth.

 Uninstall 2048 from Ubuntu Linux

When you get uninterested in this mathematical sport and now wish to utterly take away 2048 out of your Ubuntu Linux then right here is the command to observe:

For Textual content-based-

sudo apt autoremove --purge 2048

For Gnome one:

sudo apt autoremove --purge gnome-2048

offshore vps