How To Install rats on Fedora 36
Introduction
In this tutorial we learn how to install rats
on Fedora 36.
What is rats
RATS(Rough Auditing Tool for Security) scans through code, finding potentially dangerous function calls. The goal of this tool is not to definitively find bugs (yet). The current goal is to provide a reasonable starting point for performing manual security audits. The initial vulnerability database is taken directly from things that could be easily found when starting with the forthcoming book, “Building Secure Software” by Viega and McGraw.
We can use yum
or dnf
to install rats
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rats.
Install rats 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 rats
using dnf
by running the following command:
sudo dnf -y install rats
Install rats 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 rats
using yum
by running the following command:
sudo yum -y install rats
How To Uninstall rats on Fedora 36
To uninstall only the rats
package we can use the following command:
sudo dnf remove rats
rats Package Contents on Fedora 36
/usr/bin/rats
/usr/lib/.build-id
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/24a16f281c909b0b7edbf1714b5e15b66e3cc9
/usr/share/doc/rats
/usr/share/doc/rats/COPYING
/usr/share/doc/rats/README
/usr/share/man/man1/rats.1.gz
/usr/share/rats
/usr/share/rats/rats-c.xml
/usr/share/rats/rats-openssl.xml
/usr/share/rats/rats-perl.xml
/usr/share/rats/rats-php.xml
/usr/share/rats/rats-python.xml
/usr/share/rats/rats-ruby.xml
References
Summary
In this tutorial we learn how to install rats
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).