Open In App

How to Install Python-numba package on Linux?

Numba package translates Python functions to optimized machine code at runtime using the industry-standard LLVM compiler library. Numba-compiled numerical algorithms in Python can approach the rates of C or FORTRAN. So, in this article, we will be installing the Numba package in Python on Linux operating system.

Installing Numba package on Linux using PIP

Requirements:



  1. Python3
  2. Python3-pip

To install the Numba package in Linux we have to follow the following steps:

Step 1: Install the latest version of Python3 on Linux Machine using the following command in the terminal:



sudo apt-get install python3

Step 2: Now, using the following command we install the pip module which is required to install and manage all the packages of Python3:

sudo apt install python3-pip

Step 3: Using the following command we install the Numba package:

sudo pip3 install numba

Verifying Numba package installation on Linux using PIP

python3 -m pip show numba

You’ll get the following output if the installation is completed successfully in your system.

Article Tags :