How To Install micro on Fedora 36
Introduction
In this tutorial we learn how to install micro
on Fedora 36.
What is micro
Micro is a terminal-based text editor that aims to be easy to use and intuitive, while also taking advantage of the full capabilities of modern terminals. It comes as one single, batteries-included, static binary with no dependencies, and you can download and use it right now. As the name indicates, micro aims to be somewhat of a successor to the nano editor by being easy to install and use in a pinch, but micro also aims to be enjoyable to use full time, whether you work in the terminal because you prefer it (like me), or because you need to (over ssh).
We can use yum
or dnf
to install micro
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install micro.
Install micro 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 micro
using dnf
by running the following command:
sudo dnf -y install micro
Install micro 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 micro
using yum
by running the following command:
sudo yum -y install micro
How To Uninstall micro on Fedora 36
To uninstall only the micro
package we can use the following command:
sudo dnf remove micro
micro Package Contents on Fedora 36
/usr/bin/micro
/usr/lib/.build-id
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/adc09a2a8c23e32742d9fd84544f8b09c24dfd
/usr/share/doc/micro
/usr/share/doc/micro/README.md
/usr/share/licenses/micro
/usr/share/licenses/micro/LICENSE
/usr/share/licenses/micro/LICENSE-THIRD-PARTY
References
Summary
In this tutorial we learn how to install micro
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).