science-config command not found

In this troubleshooting guide we learn how to fix science-config command not found error message

Introduction

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

science-config: command not found

or when using sudo you get the following error message

sudo: science-config: command not found

Solutions to science-config: command not found

How To Fix science-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu science-config is provided by science-config package.

science-config is:

This package provides the basic infrastructure of all science-* packages and is needed by them.

These are the science related metapackages in the Debian Science project:

  • science-biology packages related to biology
  • science-chemistry packages related to chemistry
  • science-dataacquisition packages related to data acquisition
  • science-dataacquisition-dev packages related to data acquisition development
  • science-distributedcomputing distributed computing packages
  • science-economics packages related to economics
  • science-electrophysiology packages related to electrophysiology
  • science-electronics packages related to electronics
  • science-engineering packages related to engineering
  • science-engineering-dev packages related to development of engineering applications
  • science-financial packages related to financial engineering
  • science-geography packages related to geography
  • science-geometry packages related to geometry
  • science-highenergy-physics packages related to high energy physics
  • science-highenergy-physics-dev packages related to development of high energy physics applications
  • science-linguistics packages related to linguistics
  • science-machine-learning packages related to machine learning
  • science-mathematics packages related to mathematics
  • science-mathematics-dev packages related to development of mathematical applications
  • science-meteorology packages related to meteorology and climate
  • science-meteorology-dev packages related to the development of meteorology and climate applications
  • science-nanoscale-physics packages related to nanoscale physics
  • science-nanoscale-physics-dev packages useful for developing nanoscale physics applications
  • science-neuroscience-cognitive packages related to cognitive neuroscience
  • science-neuroscience-datasets packages for Neuroscience Datasets
  • science-neuroscience-modeling packages for modeling of neural systems
  • science-physics packages related to physics
  • science-physics-dev packages related to development of physical applications
  • science-psychophysics packages related to packages for psychophysics
  • science-robotics packages related to robotics
  • science-robotics-dev packages related to development of robotics applications
  • science-simulation packages to do simulations
  • science-social packages related to social sciences

This are metapackages for common utilities for all sciences:

  • science-imageanalysis packages related to image analysis
  • science-imageanalysis-dev packages related to image analysis development
  • science-numericalcomputation packages related to numerical computation
  • science-presentation packages related to presentation
  • science-statistics packages related to statistics
  • science-tools packages containing misc tools useful in science
  • science-typesetting packages related to typesetting
  • science-viewing packages related to viewing
  • science-viewing-dev packages related to development of viewing applications

Note: All these packages are so called metapackages. This means they are not executable programs, but only links to other packages. This way you will conveniently get most of scientific free software which is available in Debian.

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

sudo apt-get -y install science-config

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

You can also use apt command to install science-config.

sudo apt -y install science-config

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

sudo aptitude install science-config

Summary

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