How To Install yasm on Rocky Linux 8
Introduction
In this tutorial we learn how to install yasm
on Rocky Linux 8.
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install yasm.
Install yasm on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8
To uninstall only the yasm
package we can use the following command:
sudo dnf remove yasm
yasm Package Contents on Rocky Linux 8
/usr/bin/vsyasm
/usr/bin/yasm
/usr/bin/ytasm
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/234af28f483a18ac69024ed6fe2aa1046eee55
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/5a1d2e250b51a13769d2287add2886657e59c5
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/5f2bd723595a5043f221ac9b99baec3539bb38
/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 Rocky Linux 8 using yum and dnf.