How To Install libnxt on Fedora 36

In this tutorial we learn how to install libnxt in Fedora 36. libnxt is Utility for flashing LEGO Mindstorms NXT firmware

Introduction

In this tutorial we learn how to install libnxt on Fedora 36.

What is libnxt

LibNXT is an utility library for talking to the LEGO Mindstorms NXT. It currently does * Handling USB communication and locating the NXT in the USB tree. * Interaction with the Atmel AT91SAM boot assistant. * Flashing of a firmware image to the NXT. * Execution of code directly in RAM.

We can use yum or dnf to install libnxt on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libnxt.

Install libnxt 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 libnxt using dnf by running the following command:

sudo dnf -y install libnxt

Install libnxt 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 libnxt using yum by running the following command:

sudo yum -y install libnxt

How To Uninstall libnxt on Fedora 36

To uninstall only the libnxt package we can use the following command:

sudo dnf remove libnxt

libnxt Package Contents on Fedora 36

/usr/bin/nxt-fwexec
/usr/bin/nxt-fwflash
/usr/lib/.build-id
/usr/lib/.build-id/45
/usr/lib/.build-id/45/52b45fbc17390d25f925fe8ac5fefef550a6ef
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/c2217c84fdbd08c3cf8101cdbcfb216c13696b
/usr/share/doc/libnxt
/usr/share/doc/libnxt/NXT-REFLASH-HOWTO
/usr/share/doc/libnxt/README
/usr/share/licenses/libnxt
/usr/share/licenses/libnxt/COPYING

References

Summary

In this tutorial we learn how to install libnxt on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).