cfityk command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cfityk: command not found
or when using sudo you get the following error message
sudo: cfityk: command not found
Solutions to cfityk: command not found
How To Fix cfityk: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cfityk is provided by fityk package.
fityk is:
Fityk is a flexible and portable program for nonlinear fitting of analytical functions (especially peak-shaped) to data (usually experimental data). In other words, for nonlinear peak separation and analysis.
It was developed for analyzing diffraction patterns, but can be also used in other fields, since concepts and operations specific for crystallography are separated from the rest of the program.
Fityk offers various nonlinear fitting methods, subtracting background, calibrating data, easy placement of peaks and changing peak parameters, automation of common tasks with scripts, and much more. The main advantage of the program is flexibility - parameters of peaks can be arbitrarily bound to each other, eg. the width of a peak can be an independent variable, can be the same as the width of another peak or can be given by a complicated - common to all peaks - formula.
libjs-sphinxdoc is necessary for the Javascript stuff in the documentation.
To fix this problem, we can install more using the command below.
sudo apt-get -y install fityk
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install fityk.
sudo apt -y install fityk
Or if you have aptitude installed you can use the following command.
sudo aptitude install fityk
Summary
In this tutorial we learn how to fix cfityk command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.