How To Install poetry on Fedora 36
Introduction
In this tutorial we learn how to install poetry
on Fedora 36.
What is poetry
Poetry helps you declare, manage and install dependencies of Python projects, ensuring you have the right stack everywhere.
We can use yum
or dnf
to install poetry
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install poetry.
Install poetry on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install poetry
using dnf
by running the following command:
sudo dnf -y install poetry
Install poetry on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install poetry
using yum
by running the following command:
sudo yum -y install poetry
How To Uninstall poetry on Fedora 36
To uninstall only the poetry
package we can use the following command:
sudo dnf remove poetry
poetry Package Contents on Fedora 36
/usr/bin/poetry
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/poetry
/usr/share/fish
/usr/share/fish/vendor_completions.d
/usr/share/fish/vendor_completions.d/poetry.fish
/usr/share/zsh
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_poetry
References
Summary
In this tutorial we learn how to install poetry
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).