How To Install pscan on Fedora 34
Introduction
In this tutorial we learn how to install pscan
on Fedora 34.
What is pscan
PScan is a program which attempts to scan C source files for common function abuses, which often lead to buffer overflows.
We can use yum
or dnf
to install pscan
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install pscan.
Install pscan on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install pscan
using dnf
by running the following command:
sudo dnf -y install pscan
Install pscan on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install pscan
using yum
by running the following command:
sudo yum -y install pscan
How To Uninstall pscan on Fedora 34
To uninstall only the pscan
package we can use the following command:
sudo dnf remove pscan
pscan Package Contents on Fedora 34
/usr/bin/pscan
/usr/lib/.build-id
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/49d196704ccac1cd8a26d58c0afb7663c2911a
/usr/share/doc/pscan
/usr/share/doc/pscan/README
/usr/share/doc/pscan/changelog
/usr/share/doc/pscan/find_formats.sh
/usr/share/doc/pscan/stackguard.txt
/usr/share/doc/pscan/test.c
/usr/share/doc/pscan/wu-ftpd.pscan
/usr/share/licenses/pscan
/usr/share/licenses/pscan/COPYING
/usr/share/man/man1/pscan.1.gz
References
Summary
In this tutorial we learn how to install pscan
on Fedora 34 using yum and dnf.