How to Install xlrd in Python on Linux? Last Updated : 23 Jul, 2025 Comments Improve Suggest changes Like Article Like Report In this article, we will learn how to install xlrd in Python on Linux. The xlrd is a library for reading data and formatting information from Excel files in the historical .xls format. Installing xlrd in Python on Linux:Method 1: Using pip to install xlrd Package Follow the below steps to install the xlrd package on Linux using pip: Step 1: Install the latest Python3 in Linux Step 2: Check if pip3 and python3 are correctly installed. python3 --version pip3 --version Step 3: Upgrade your pip to avoid errors during installation. pip3 install --upgrade pip Step 4: Enter the following command to install xlrd using pip3. pip3 install xlrdMethod 2: Using setup.py to install xlrd Follow the below steps to install the xlrd package on Linux using the setup.py file: Step 1: Download the latest source package of xlrd for python3 from here. curl https://files.pythonhosted.org/packages/a6/b3/19a2540d21dea5f908304375bd43f5ed7a4c28a370dc9122c565423e6b44/xlrd-2.0.1.tar.gz > xlrd.tar.gz Step 2: Extract the downloaded package using the following command. tar -xvzf xlrd.tar.gz Step 3: Go inside the folder and Enter the following command to install the package. cd xlrd-2.0.1 python3 setup.py installVerifying xlrd installation on Linux: Make the following import in your python terminal to verify if the installation has been done properly: import xlrd If there is any error while importing the module then is not installed properly. Comment More infoAdvertise with us Next Article How to Install xlrd in Python on MacOS? A anilabhadatta Follow Improve Article Tags : How To Installation Guide how-to-install Similar Reads How to Install Yara in Python on Linux? YARA is a malware research tool that aids in the identification and classification of malware samples. You may use YARA to make descriptions of malware families based on textual or binary patterns found on samples from those families. This utility is officially accessible in the Python environment a 2 min read How to Install Turtle in Python on Linux? Turtle is a Python language library that is similar to the virtual canvas through which we can design pictures and attractive shapes. Most of the usage of this library is done for the children to introduce to the world of programming. New programmers can learn programming in a fun and interactive wa 2 min read How to Install xlrd in Python on MacOS? In this article, we will learn how to install xlrd library in Python on macOS. The xlrd is a library for reading data and formatting information from Excel files in the historical .xls format. Installing xlrd Library on macOS:Method 1: Using pip to install xlrd Follow the below steps to install the 2 min read How to Install Dash in Python on Linux? Dash library in Python is a framework developed to create custom web analytic applications. Dash library has a custom user interface which makes it beat for building data analysis applications. Dash library is a cross-platformed library that works on various operating systems like Windows, Linux, an 1 min read How to Install Scipy In Python on Linux? SciPy is an open-source Python library used for scientific and technical computing. It builds on NumPy and provides a wide range of functions for linear algebra, optimization, integration, statistics and signal processing. If using Linux for Python development, installing SciPy is an important step 2 min read How to Install Gekko In Python on Linux? In this article, we will learn how to install Gekko in Python on Linux. GEKKO is a Python package for machine learning and optimization of mixed-integer and differential-algebraic equations. It is coupled with large-scale solvers for linear, quadratic, nonlinear, and mixed-integer programming (LP, Q 2 min read Like