Fabric is a Python library and command-line tool for streamlining the use of SSH for application deployment or systems administration tasks. In this tutorial, we will guide you through the steps to install Fabric on OpenSUSE Latest.
Before we proceed with the installation of Fabric on OpenSUSE, let us ensure our system meets the following requirements:
We first need to ensure that our system's package manager is up to date. To do this, open a terminal window and execute the following command:
sudo zypper update
The system will prompt for your password. Supply the correct password and hit “Enter” to continue. The update process may take some time to complete, depending on your system's internet connection and package updates.
Fabric runs on Python, so you’ll need to install Python, as well as its package installer, pip:
sudo zypper install python3-pip python3
The above command will install Python3 and pip3. It will also automatically install any dependencies required.
After successful installation, verify that you have the correct version of Python installed by checking its version:
python3 -V
This will output the installed version of Python on your system.
Output
Python 3.6.5
With pip installed, we can now install Fabric. Execute the following command:
sudo pip3 install fabric
This will download and install Fabric and its dependencies.
You can verify the installation of Fabric by checking its version with the following command:
fab --version
This will display the version of Fabric on your system.
Output
Fabric 2.6.0
Paramiko 2.7.2
Invoke 1.2.0
That’s it! You have successfully installed Fabric on OpenSUSE Latest. With Fabric installed, you can streamline your SSH tasks for deployment and systems administration. Happy coding!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!