How To Install lincity-ng on Ubuntu 18.04

In this tutorial we learn how to install lincity-ng on Ubuntu 18.04. lincity-ng is City simulator game with polished graphics

Introduction

In this tutorial we learn how to install lincity-ng on Ubuntu 18.04.

What is lincity-ng

lincity-ng is:

LinCity-NG is a City Simulation Game. It is a polished and improved version of the old LinCity game: You are required to build and maintain a city. You must feed, house, provide jobs and goods for your residents. You can build a sustainable economy with the help of renewable energy and recycling, or you can go for broke and build rockets to escape from a pollution ridden and resource starved planet, it’s up to you. Due to the finite resources available in any one place, this is not a game that you can leave for long periods of time. This game is similar to the commercial simulation game with a similar name.

There are three methods to install lincity-ng 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 lincity-ng Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install lincity-ng

Install lincity-ng Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lincity-ng

Install lincity-ng 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 lincity-ng using aptitude by running the following command:

sudo aptitude -y install lincity-ng

How To Uninstall lincity-ng on Ubuntu 18.04

To uninstall only the lincity-ng package we can use the following command:

sudo apt-get remove lincity-ng

Uninstall lincity-ng And Its Dependencies

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

sudo apt-get -y autoremove lincity-ng

Remove lincity-ng Configurations and Data

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

sudo apt-get -y purge lincity-ng

Remove lincity-ng configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge lincity-ng

References

Summary

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