How to use XFLR5 in Linux

The XLFR5 is a easier to use interface built on top of the X-foil engine. The X-foil also features wing and whole airplane analysis functions.

The downside of the program has been that is only available for Windows. However, it can be run nowadays in Linux without porting the program to e.g. Qt (which is a big task), so in the mean time before any cross-platform version appears, you can live with the wine in Linux environment:

- Make sure your wine version is a pretty recent one, version greater than 1.0.

I am using the Ubuntu Intrepid version. apt-cache policy wine reports the following:
wine:
Installed: 1.0.1-0ubuntu2
Candidate: 1.0.1-0ubuntu2
Version table:
*** 1.0.1-0ubuntu2 0
500 http://archive.ubuntu.com intrepid/universe Packages
100 /var/lib/dpkg/status
W: Duplicate sources.list entry http://archive.ubuntu.com intrepid/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com intrepid/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid_multiverse_binary-i386_Packages)

If you are running the latest stable Ubuntu (Intrepid - 8.10), you can use the Ubuntu supplied one and it will work fine with XFLR5. However, if you are running Ubuntu Hardy or some other distro that does not have the post-1.0 version available, you can install it from winehq repository. For debian based distros like Ubuntu, the instructions can be found from here:

http://www.winehq.org/download/deb

Our living room computer is not yet updated and it is still running the older Hardy. I updated the wine by adding the following line to /etc/apt/sources.list:

deb http://wine.budgetdedicated.com/apt hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"

Then I did apt-get update and apt-get install wine

The new version of wine got installed and the XFLR5 started working fine.

Download the XFLR5 from here:
http://xflr5.sourceforge.net/xflr5.htm

Go to download page and click download. At the time of writing this, the 4.15 was the latest version.

Download the zip file XFLR5_v415.zip to a new subfolder into your home directory, because the zip file does not contain directories and when you unzip it, if you was in your home directory, you get the package contents directly there which messes up your home with lots of unnecessary files.

Run the XFLR5_Setup.exe by typing on a terminal:

wine ./XFLR5_Setup.exe

The setup runs and finishes.

After this you can notice that a new entry appeared to your Applications menu (in Gnome):
Applications - Wine
Select submenu Programs, and there XFLR5 and on that submenu XFLR5.
XFLR5 should now start successfully.

It works on my computer without problems now.

0 comments:

Post a Comment

Blog Archive