xfoil command not found

In this troubleshooting guide we learn how to fix xfoil command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

xfoil: command not found

or when using sudo you get the following error message

sudo: xfoil: command not found

Solutions to xfoil: command not found

How To Fix xfoil: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu xfoil is provided by xfoil package.

xfoil is:

XFOIL is an interactive program for the design and analysis of subsonic isolated airfoils. It consists of a collection of menu-driven routines which perform various useful functions such as:

  • Viscous (or inviscid) analysis of an existing airfoil
  • Airfoil design and redesign by interactive specification of a surface speed distribution via screen cursor or mouse
  • Airfoil redesign by interactive specification of new geometric parameters
  • Blending of airfoils
  • Drag polar calculation with fixed or varying Reynolds and/or Mach numbers.
  • Plotting of geometry, pressure distributions, and polars

To fix this problem, we can install more using the command below.

sudo apt-get -y install xfoil

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install xfoil.

sudo apt -y install xfoil

Or if you have aptitude installed you can use the following command.

sudo aptitude install xfoil

Summary

In this tutorial we learn how to fix xfoil command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.