Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Open In App
Next Article:
How to Install Fabric in Python on MacOS?
Next article icon

How to Install Fabric in Python on Linux?

Last Updated : 31 Jan, 2022
Comments
Improve
Suggest changes
Like Article
Like
Report

Fabric is a Python library. This library is used to perform Linux shell commands remotely over SSH and yield handy Python objects in return. Or we can say that it is a high-level Python library and a command-line tool that uses SSH for application deployment or for administration tasks. It also performs operations like aborting execution, downloading files, uploading files, etc. In this article, we will look into the steps of installing the Fabric Library on the Linux Operating System.

Features of Fabric:

  • It is easy to install and use.
  • It provides good support for parallel remote execution.
  • It has well-maintained documentation.
  • There is no need to learn another language to use Fabric.

Requirements:

  • Python3
  • Python3-pip

Installing Fabric package on Linux using PIP

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

Step 1: First of all, we will install Python3 on the Linux system with the help of the following command. 

sudo apt-get install python3

Installing-Python3-on-Linux-system

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

sudo apt install python3-pip

Installing-the-pip-module

Step 3: Now, install the Fabric package by using the following command.

sudo pip3 install fabric

Installing-the-Fabric-package

Verifying Fabric package installation on Linux using PIP

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

python3 -m pip show fabric

You’ll get the below message if the installation is completed successfully without any error:

Verifying-Fabric-package-installation

Next Article
How to Install Fabric in Python on MacOS?

G

gauravgandal
Improve
Article Tags :
  • How To
  • Installation Guide
  • how-to-install

Similar Reads

  • How to Install glob in Python on Linux?
    The Python Glob module is like a regex matching function that looks for files matching a specified pattern according to the rules initialized by the Unix shell. It is also supported by Linux systems also. In this article, we will look into how to install the glob module on Linux Operating System. Re
    1 min read
  • How to Install OpenCV for Python in Linux?
    Prerequisite: Python Language Introduction OpenCV is the huge open-source library for computer vision, machine learning, and image processing and now it plays a major role in real-time operation which is very important in today’s systems. By using it, one can process images and videos to identify ob
    2 min read
  • How to Install Fabric in Python on MacOS?
    Fabric is a Python library for running shell commands remotely via SSH (Secure Shell), and in return, provides useful Python objects. It builds on Invoke (subprocess command execution and command line functionality) and Paramiko (SSH protocol implementation). In this article, we will explore simple
    2 min read
  • How to Install Python-Amara on Linux?
    Amara is a Python library for XML processing in a Python environment, designed to balance the native idioms of Python with the native character of XML. Amara is a cross-platformed library that works on Windows, Linux, and macOS. So in this article, we will be installing the Amara package in Python o
    1 min read
  • How to Install Python on Linux
    This guide explains how to install Python on Linux machines. Python has become an essential programming language for developers, data scientists, and system administrators. It's used for various applications, including web development, data science, automation, and machine learning. This comprehensi
    15+ min read
  • How to Install Nose in Python on Linux?
    The nose is a Python package essentially needed for automation framework testing. Basically, Nose generates uni-test modules that will help to execute the testing result much better. Also, Nose provides another advantage in that it will auto-discover the test cases. Based on the test case result it
    3 min read
  • How to Install Nose 2 in Python on Linux?
    Nose 2 is a successor of the Nose package. It is used for testing Python applications. It provides different types of methods, modules, classes, test case levels, etc. It also provides built-in plugins which fulfill the specific need of the developer like tests coverage, profiling, etc. In this arti
    2 min read
  • 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 python-docx on Linux?
    Word documents include formatted text wrapped in three object levels: Run objects at the lowest level, Paragraph objects at the intermediate level, and Document objects at the top level. As a result, we are unable to work with these documents using standard text editors. However, we may use the Pyth
    2 min read
  • How to Install Vaex in Python on Linux?
    Vaex is a Python module that assists us in accomplishing this and makes dealing with massive datasets a breeze. It's notably useful for Out-of-Core DataFrames that are sluggish (similar to Pandas). It can quickly view, analyze, and compute on large tabular datasets with low memory utilization. In th
    2 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences