Install Fabric 1.x in Debian 11 Bullseye

Created On: 2021-08-11

Fabric 1.x is an automation tool that uses python eDSL and ssh to run commands on remote servers. Fabric 2 is a different product with a different API. Debian 11 Bullseye includes fabric 2.5.0 in apt repo, but not fabric 1.x.

Fabric 1.x requires python2 to run. To install Fabric 1.x in Debian 11,

Follow Get back pip for Python2.7 in Debian 11 Bullseye, then run

python2 -m pip install 'fabric<2.0'
Is this post helpful?