How To Install infon-server on Ubuntu 18.04

In this tutorial we learn how to install infon-server on Ubuntu 18.04. infon-server is Program bugs to compete for food and survival - Server

Introduction

In this tutorial we learn how to install infon-server on Ubuntu 18.04.

What is infon-server

infon-server is:

Infon is a game which simulates the live of simple bugs who eat, propagate, eat each other and evolve. The players can not control the bugs directly but write their “intelligence” in the simple script language lua and upload it to the game using a plain telnet connection. The code can then be modified even while the game is running.

This package contains the infon server which hosts the game. To upload code to it, you only need a telnet client. To be able to view the game, see the infon-viewer package.

There are three methods to install infon-server on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install infon-server Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install infon-server using apt-get by running the following command:

sudo apt-get -y install infon-server

Install infon-server Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install infon-server using apt by running the following command:

sudo apt -y install infon-server

Install infon-server Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install infon-server using aptitude by running the following command:

sudo aptitude -y install infon-server

How To Uninstall infon-server on Ubuntu 18.04

To uninstall only the infon-server package we can use the following command:

sudo apt-get remove infon-server

Uninstall infon-server And Its Dependencies

To uninstall infon-server and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove infon-server

Remove infon-server Configurations and Data

To remove infon-server configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge infon-server

Remove infon-server configuration, data, and all of its dependencies

We can use the following command to remove infon-server configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge infon-server

References

Summary

In this tutorial we learn how to install infon-server package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.