Howto:Install Flightgear from a PPA: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Update list of FG versions in the repo, and correct intention of post)
(Update for 2016.1.1)
Line 1: Line 1:
Currently, in the official Ubuntu repositories, Ubuntu 12.04 (Precise) has [[FlightGear]] 2.4.0, Ubuntu 14.04 (Trusty) has FlightGear 3.0.0, and Ubuntu 15.04 (Vivid) and Ubuntu 15.10 (Wily) have FlightGear 3.4.0. Since the older Ubuntu versions don't have a simple installation method, I'm providing a PPA from which you can download FlightGear and some aircraft from. Here is a list of FlightGear-related PPAs:
Currently, in the official Ubuntu repositories, Ubuntu 14.04 (Trusty) has FlightGear 3.0.0, and Ubuntu 15.10 (Wily) has FlightGear 3.4.0. Since the older Ubuntu versions don't have a simple installation method, I'm providing a PPA from which you can download FlightGear and some aircraft from. Here is a list of FlightGear-related PPAs:


* Stable: [https://launchpad.net/~saiarcot895/+archive/flightgear FlightGear]
* Stable: [https://launchpad.net/~saiarcot895/+archive/flightgear FlightGear]
Line 8: Line 8:
{{note|The menu bar may be initially hidden. You can restore this by pressing {{Key press|F10}}.}}
{{note|The menu bar may be initially hidden. You can restore this by pressing {{Key press|F10}}.}}


=== Upgrading ===
{{caution|You '''must''' be on Ubuntu 14.04, 15.10, or 16.04 before you install FlightGear! Ubuntu 12.04 is no longer supported.<ref>
You can just update and upgrade. Note that, after the upgrade, you will have the packages libsimgearcore2.12.0 and libsimgearscene2.12.0. You can safely remove these two libraries after the upgrade.
<syntaxhighlight lang="bash">
sudo apt-get update
sudo apt-get dist-upgrade
</syntaxhighlight>
 
=== Fresh install ===
{{caution|You '''must''' be on a supported version of Ubuntu before you install FlightGear! Currently, this is 12.04, 14.04, 15.04, and 15.10.<ref>
{{cite web
{{cite web
|url    = http://forum.flightgear.org/viewtopic.php?f=20&t=27804#p261635
|url    = http://forum.flightgear.org/viewtopic.php?f=20&t=28893#p277811
|title  = Can't install FlightGear-daily on my Ubuntu 14.10
|title  = Problem installing Flightgear
|author = saiarcot895
|author = saiarcot895
|date  = Oct 25th, 2015
|date  = Feb 27th, 2016
}}</ref>
}}</ref>


If you aren't on a supported version of Ubuntu, you can upgrade by executing the following command in the terminal:
If you aren't on one of those three versions of Ubuntu, you can upgrade by executing the following command in the terminal:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sudo do-release-upgrade
sudo do-release-upgrade
</syntaxhighlight>
</syntaxhighlight>
Note that the upgrade may take several hours.}}
Note that the upgrade may take several hours.}}
=== Upgrading ===
If you already have Flightgear installed from the main repos, you can just add the PPA, update, and upgrade.
<syntaxhighlight lang="bash">
sudo add-apt-repository ppa:saiarcot895/flightgear
sudo apt-get update
sudo apt-get dist-upgrade
</syntaxhighlight>
=== Fresh install ===


If you are doing a fresh FlightGear install (you haven't installed FlightGear from this PPA or the prerelease/daily PPAs) and you haven't added this PPA, you'll need to do the commands below:
If you are doing a fresh FlightGear install (you haven't installed FlightGear from this PPA or the prerelease/daily PPAs) and you haven't added this PPA, you'll need to do the commands below:
Line 37: Line 39:
</syntaxhighlight>
</syntaxhighlight>


== Installing additional aircraft ==
== Installing additional aircraft (daily PPA only) ==
I am providing some additional aircraft that you can download straight from the PPA. To install them, run the following command:
I am providing some additional aircraft that you can download straight from the PPA. To install them, run the following command:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">

Revision as of 19:25, 27 February 2016

Currently, in the official Ubuntu repositories, Ubuntu 14.04 (Trusty) has FlightGear 3.0.0, and Ubuntu 15.10 (Wily) has FlightGear 3.4.0. Since the older Ubuntu versions don't have a simple installation method, I'm providing a PPA from which you can download FlightGear and some aircraft from. Here is a list of FlightGear-related PPAs:

Installing FlightGear

Note  The menu bar may be initially hidden. You can restore this by pressing F10.
Caution  You must be on Ubuntu 14.04, 15.10, or 16.04 before you install FlightGear! Ubuntu 12.04 is no longer supported.[1]

If you aren't on one of those three versions of Ubuntu, you can upgrade by executing the following command in the terminal:

sudo do-release-upgrade

Note that the upgrade may take several hours.

Upgrading

If you already have Flightgear installed from the main repos, you can just add the PPA, update, and upgrade.

sudo add-apt-repository ppa:saiarcot895/flightgear
sudo apt-get update
sudo apt-get dist-upgrade

Fresh install

If you are doing a fresh FlightGear install (you haven't installed FlightGear from this PPA or the prerelease/daily PPAs) and you haven't added this PPA, you'll need to do the commands below:

sudo add-apt-repository ppa:saiarcot895/flightgear
sudo apt-get update
sudo apt-get install flightgear

Installing additional aircraft (daily PPA only)

I am providing some additional aircraft that you can download straight from the PPA. To install them, run the following command:

sudo apt-get install flightgear-data-aircrafts-<aircraftname>

Replace <aircraftname> with one of the following:

<aircraftname> Aircraft
a10 Fairchild Republic A-10 Thunderbolt II
a380 Airbus A380
b747-400 Boeing 747-400
b707 Boeing 707-420
dc3 Douglas DC-3
dr400-dauphin Robin DR400 Dauphin
ec130 Eurocopter EC130 B4
p51d North American P-51 Mustang
seafire Supermarine Seafire
spitfire Supermarine Spitfire
tu154b Tupolev Tu-154B
References
  1. saiarcot895 (Feb 27th, 2016). Problem installing Flightgear.