How To Install fgrun on Ubuntu 18.04

In this tutorial we learn how to install fgrun on Ubuntu 18.04. fgrun is graphical frontend for running FlightGear

Introduction

In this tutorial we learn how to install fgrun on Ubuntu 18.04.

What is fgrun

fgrun is:

FlightGear Launch Control (FGRun) is a graphical frontend for running the FlightGear Flight Simulator (fgfs).

It includes the ability to configure your scenery paths FlightGear setup. When selecting an aircraft you are able to view a complete 3d model and see its development status and author. When selecting an airport or carrier to launch from you can chose either by the ICAO ID (International Civilian Aviation Organisation Identifier) or the airport id, with the flexibility of selecting a runway and parking position also.

When launching the simulation FGRun includes a comprehensive configuration system, allowing you to directly configure settings such as screen resolution and multiplayer settings.

FGRun also includes support for TerraSync, a tool included with FlightGear that allows you to download and use scenery while in the simulation, it can also preload the scenery for your selected location as the airport selection screen.

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

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

sudo apt-get update

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

sudo apt-get -y install fgrun

Install fgrun Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install fgrun using apt by running the following command:

sudo apt -y install fgrun

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

sudo aptitude -y install fgrun

How To Uninstall fgrun on Ubuntu 18.04

To uninstall only the fgrun package we can use the following command:

sudo apt-get remove fgrun

Uninstall fgrun And Its Dependencies

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

sudo apt-get -y autoremove fgrun

Remove fgrun Configurations and Data

To remove fgrun configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge fgrun

Remove fgrun configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fgrun

References

Summary

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