EDIT: Removed sudo from the actual run and install as they are not necessary if you are running as a non-restricted user (which I am not here), and you are giving unnecessary permissions. Michal is absolutely right, udev rules are a better way to go…the reason I have no qualms about using sudo on my machine is because it’s a closed system, and x-plane is the only application running on it. For an example of udev rules (this is for the joystick but you can also use this on other devices if they’re giving you trouble) check here: http://developer.x-plane.com/2012/09/linux-joystick-permissions/ or at the x-plane forums. Thanks, Michal!
I built a machine to run x-plane 10…it’s so graphically intensive I wanted to give it its own box. Comment or message for the spec if you’re interested. Here’s a few things you may need to do to get it running. I’m going to do this from the beginning and assume you haven’t installed anything on this machine before. Obviously if you have a working machine, you’ll only need to check for dependencies and run the installer.
1) Install Ubuntu. Download the operating system onto a flash drive or dvd, and install it. Check your machine’s BIOS settings to see what you can boot off of – should be something like “Boot Order” on the menu. If you see USB options there, you can boot off of a formatted flash drive. Otherwise you’ll have to throw the iso on a dvd and boot from the optical drive.
2) Update Ubuntu. Do this:
~sudo apt-get update
~sudo apt-get dist-upgrade
After you do apt-get update the update center may open up on Ubuntu and ask if you want to update, this is fine.
2) a) You may need to install some drivers if it’s a brand new build like mine…I have an AMD processor on a ASRock motherboard. You’ll need to hunt down the proper drivers and install them this way:
Go to System Settings > Hardware > Additional Drivers OR you can just go to the icon in the upper left and type additional drivers, should bring you to the same place.
Just submit and you’ll see if there are drivers that you can snag. My AMD drivers were there, no thinking required (thanks, Ubuntu?).
3) Get a few dependencies. The wiki in step 5 shows you how to do this on a gui if you need one. You need ia32libs if you’re running 64 bit, like many people have mentioned and you need OpenAL for sound. Do this:
~sudo apt-cache search ia32
Find the current ia32libs …may be called something similar
~sudo apt-get install ia32libs
Then:
~sudo apt-cache search openal
Find the current openal…I think mine looked like libopenal1 or something like that
~sudo apt-get install xxxxxxx
4) Restart if prompted (probably for drivers)
5) Now we’re going to follow X-Plane’s (very well-written) installation wiki here: http://wiki.x-plane.com/Linux_Installation_Walkthrough.
This is copied from them, modified where I’ve bolded the text:
“Getting the installer to the desktop
First, we’ll copy the X-Plane Linux installer to the desktop. This is necessary because we will need to remove Disc 1 in the course of installing the scenery. Linux doesn’t like having the installer present only in memory (as would be the case in a Windows or Mac installation), so we’ll pacify it by moving it to the hard drive.
In the past, there were issues with the mounting of the Linux discs; in the distributions described here, this is no longer the case. The installation discs mount correctly and are usable without any extra input. More information can be found on the DVD Problems page.
Please note that the installation steps presented here are for the 9.00 set of gray-colored discs. When using a different set of discs (such as the older beta discs or the discs purchased in a retail store) it may be necessary to download the Linux installer from the DVD Installers page. Edit: The X-Plane 10 updates are here: http://www.x-plane.com/downloads/x-plane_10_installer-updater/
Gathering the required libraries
After getting the installer on the desktop, we will download any software libraries needed by X-Plane but not present on the system. On a 64-bit system, this usually means downloading the 32-bit versions of Mesa (a free implementation of the OpenGL graphics library) and OpenAL (an audio library). Some 32-bit systems will already have these installed.
To find out what libraries the installer will need, open the terminal (also called the command line) and navigate to where the installer was saved. Assuming that the installer is on the desktop, and that the terminal opens in the [user name] folder, this is done by typing:
-
-
~ cd Desktop
and pressing Enter. The “cd” stands for “change directory,” after which we tell the terminal where to go.
Once in the Desktop folder, we can check the dependencies of the Linux installer by typing:
-
-
~ ldd ./“X-Plane 10 Installer Linux”
and pressing Enter. The libraries listed there can be searched for either in the distribution’s package installer or on Google. For the Linux distributions in this guide, we won’t go through this step because we already know which packages are needed. You can get each of the packages by typing:
~ sudo apt-get install [package]
Running the installer
Once the proper libraries are installed, running the installer is as simple as opening a terminal, navigating to the desktop (via “cd Desktop” in most cases), and executing the file by typing:
-
-
~ ./“X-Plane 10 Installer Linux”
and pressing Enter.
From there, the installer itself can walk the user through the setup. By default, the installation will be placed in the directory /home/[user name]/X-Plane 10.”
6) Restart if prompted (for dependencies).
7) Run X-Plane for the first time (yay!). Do this:
~ cd "X-Plane 10"
~ ./X-Plane-x86_64
sudo helped here because of a filesystem issue that was specific to my instance…you may need to write a rule for the optical drive if you’re not root and don’t want to be lazy like me. You need to make sure DVD 1 is in the optical drive while running the simulator.
8) Performance tune. Believe it or not, I’m running the simulator with NO graphics or video cards. I’m only using the on-board graphics. It runs excellent. However, if your install isn’t running epic, you can try a few things:
Follow the performance tuning steps here: http://wiki.x-plane.com/Setting_Up_X-Plane_for_Best_Performance
Leave me a comment or message if you run into issues or want to share additional tips. The forums are an excellent resource, as you can see by the comments…this is some of the best supported commercial software I’ve encountered.
-A