Play Addictive Puzzle Game 2048 in Linux [GUI and Terminal]

Popular mobile puzzle game 2048 can also be played on Ubuntu and Linux distributions. Heck! You can even play 2048 in Linux terminal. Donโ€™t blame me if your productivity goes down because of this addictive game.
Warp Terminal

Back in 2014, 2048 was one of the most popular games on iOS and Android. This highly addictive game got so popular that it got a browser version, desktop version as well as a terminal version on Linux.

This tiny game is played by moving the tiles up and down, left and right. The aim of this puzzle game is to reach 2048 by combining tiles with matching number. So 2+2 becomes 4, 4+4 becomes 16 and so on. It may sound simple and boring but trust me its hell of an addictive game.

Play 2048 in Linux [GUI]

There are several implementations of 2048 game available in Ubuntu and other Linux. You can simply search for it in the Software Center and youโ€™ll find a few of them there.

There is a Qt-based 2048 game that you can install on Ubuntu and other Debian and Ubuntu-based Linux distributions. You can install it using the command below:

sudo apt install 2048-qt

Once installed, you can find the game in the menu and start it. You can move the numbers using the arrow keys. Your highest score is saved as well.

2048 Game in Ubuntu Linux

Play 2048 in Linux terminal

The popularity of 2048 brought it to the terminal. If this surprises you, you should know that there are plenty of awesome terminal games in Linux and 2048 is certainly one of them.

Now, there are a few ways you can play 2048 in Linux terminal. Iโ€™ll mention two of them here.

1. term2058 Snap application

There is a snap application called term2048 that you can install in any Snap supported Linux distribution.

If you have Snap enabled, just use this command to install term2048:

sudo snap install term2048

Ubuntu users can also find this game in the Software Center and install it from there.

2048 Terminal Game in Linux
Tem2048 is available in Ubuntu Software Center

Once installed, you can use the command term2048 to run the game. It looks something like this:

2048 Terminal game

You can move using the arrow keys.

2. Bash script for 2048 terminal game

This game is actually a shell script which you can run in any Linux terminal. Download the game/script from Github:

Extract the downloaded file. Go in the extracted directory and youโ€™ll see a shell script named 2048.sh. Just run the shell script. The game will start immediately. You can move the tiles using the arrow keys.

Linux Terminal game 2048

What games do you play on Linux?

If you like playing games in the Linux terminal, you should also try the classic Snake game in Linux terminal.

Top 10 Command Line Games For Linux
You can play games on the Linux terminal. Here are the best command line games for you.

Which games do you regularly play in Linux? Do you also play games in the terminal? ย If yes, which is your favorite terminal game?

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries ๐Ÿ•ต๏ธโ€โ™‚๏ธ

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

It's FOSS

Great! Youโ€™ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.