How To Install yasm on Fedora 36
Introduction
In this tutorial we learn how to install yasm
on Fedora 36.
What is yasm
Yasm is a complete rewrite of the NASM assembler under the “new” BSD License (some portions are under other licenses, see COPYING for details). It is designed from the ground up to allow for multiple assembler syntaxes to be supported (eg, NASM, TASM, GAS, etc.) in addition to multiple output object formats and even multiple instruction sets. Another primary module of the overall design is an optimizer module.
We can use yum
or dnf
to install yasm
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install yasm.
Install yasm 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 yasm
using dnf
by running the following command:
sudo dnf -y install yasm
Install yasm 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 yasm
using yum
by running the following command:
sudo yum -y install yasm
How To Uninstall yasm on Fedora 36
To uninstall only the yasm
package we can use the following command:
sudo dnf remove yasm
yasm Package Contents on Fedora 36
/usr/bin/vsyasm
/usr/bin/yasm
/usr/bin/ytasm
/usr/lib/.build-id
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/9e61075f3597b270fc02c616da8718761bda39
/usr/lib/.build-id/65
/usr/lib/.build-id/65/e302f45e80a0cafb116f4ad8c378d5330a2d6d
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/a4284ad097afe0bc1e45b234e7e8f97e22ce59
/usr/share/doc/yasm
/usr/share/doc/yasm/AUTHORS
/usr/share/licenses/yasm
/usr/share/licenses/yasm/Artistic.txt
/usr/share/licenses/yasm/BSD.txt
/usr/share/licenses/yasm/COPYING
/usr/share/licenses/yasm/GNU_GPL-2.0
/usr/share/licenses/yasm/GNU_LGPL-2.0
/usr/share/man/man1/yasm.1.gz
References
Summary
In this tutorial we learn how to install yasm
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).