How To Install emacs-python-environment on Fedora 36
Introduction
In this tutorial we learn how to install emacs-python-environment
on Fedora 36.
What is emacs-python-environment
Emacs integrates well with external tools written in languages other than Emacs Lisp and thus use of these tools should be encouraged. However, many people try to avoid using non-Emacs Lisp software tools since it makes installation of their Emacs plugin hard. python-environment.el solves this problem (only for the case the tool is written in Python) by providing virtualenv API in Emacs Lisp so that you can automate installation of tools written in Python.
We can use yum
or dnf
to install emacs-python-environment
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install emacs-python-environment.
Install emacs-python-environment 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 emacs-python-environment
using dnf
by running the following command:
sudo dnf -y install emacs-python-environment
Install emacs-python-environment 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 emacs-python-environment
using yum
by running the following command:
sudo yum -y install emacs-python-environment
How To Uninstall emacs-python-environment on Fedora 36
To uninstall only the emacs-python-environment
package we can use the following command:
sudo dnf remove emacs-python-environment
emacs-python-environment Package Contents on Fedora 36
/usr/share/doc/emacs-python-environment
/usr/share/doc/emacs-python-environment/README.rst
/usr/share/emacs/site-lisp/python-environment
/usr/share/emacs/site-lisp/python-environment/python-environment.el
/usr/share/emacs/site-lisp/python-environment/python-environment.elc
References
Summary
In this tutorial we learn how to install emacs-python-environment
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).