How To Install NSnake 2.0.0 On Ubuntu, Linux Mint, Elementary OS, Debian And Other Debian/Ubuntu Derivative Systems

Hello Linux Geeksters. As you may know, Snake is a popular game which is available by default on the old Nokia phones.

Watch Free Movies

Alex Dantas, a third party developer has created a terminal-based clone of Snake, called NSnake, which has a few features missing from the original game, including: three maze sizes, the snake can eat more than one fruit at the same time and random walls are spawned, in order to make the game a little more difficult.

The latest version available is NSnake 2.0.0, which has been recently created.

How To Install NSnake 2.0.0 On Ubuntu, Linux Mint, Elementary OS, Debian And Other Debian/Ubuntu Derivative Systems

In this article I will show you how to install NSnake 2.0.0 on Ubuntu, Linux Mint, Elementary OS, Debian and Debian/Ubuntu derivative systems.

Because it is not available via PPA, we have to install NSnake 2.0.0 from sources. Follow the below steps exactly, in order to get a successful installation.

Install the needed dependencies:

$ sudo apt-get install libncurses5-dev

Download NSnake:

$ cd ~
$ wget http://sourceforge.net/projects/nsnake/files/GNU-Linux/nsnake-2.0.0.tar.gz

Extract the archive and cd into the extracted folder:

$ tar -xzvf nsnake-2.0.0.tar.gz
$ cd nsnake-2.0.0

Compile and install NSnake:

$ make
$ sudo make install

Alias NSnake, for an easier usage:

$ echo "alias snake=~/nsnake-2.0.0/nsnake &> /dev/null &" >> ~/.bashrc

Now, just type snake in the terminal, to open the app.

Scroll to Top