Skip to content
Related Articles

Related Articles

How to Install Python-numba package on Linux?

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 24 Feb, 2022

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

Installing-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

Installing-pip-module

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

sudo pip3 install numba

Installing-numba-package

Verifying Numba package installation on Linux using PIP

  • To verify if the Numba package has been successfully installed in your system run the below command in Terminal:

python3 -m pip show numba

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

Verifying-installation

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!