Skip to content
Related Articles

Related Articles

How to Install Python-arrow on Linux?

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

Arrow is a Python library for performing tasks with date and time. It presents a sensible and human-friendly approach to creating, manipulating, formatting, and converting dates, times, and timestamps. Arrow allows easy creation of date and time instances with timezone awareness. So, in this article, we will be installing Arrow library in Python on Linux operating system.

Installing Arrow package on Linux using PIP

Requirements:

To install the Arrow 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 Arrow package:

sudo pip3 install arrow

Verifying Arrow package installation on Linux using PIP

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

python3 -m pip show arrow

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

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!