How To Install bcc-tools on Rocky Linux 8
Introduction
In this tutorial we learn how to install bcc-tools
on Rocky Linux 8.
What is bcc-tools
Command line tools for BPF Compiler Collection (BCC)
We can use yum
or dnf
to install bcc-tools
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install bcc-tools.
Install bcc-tools 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 bcc-tools
using dnf
by running the following command:
sudo dnf -y install bcc-tools
Install bcc-tools 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 bcc-tools
using yum
by running the following command:
sudo yum -y install bcc-tools
How To Uninstall bcc-tools on Rocky Linux 8
To uninstall only the bcc-tools
package we can use the following command:
sudo dnf remove bcc-tools
bcc-tools Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/41dc3f3031689c47b82e1945dae2c45c8d5da3
/usr/share/bcc
/usr/share/bcc/introspection
/usr/share/bcc/introspection/bps
/usr/share/bcc/tools
/usr/share/bcc/tools/argdist
/usr/share/bcc/tools/bashreadline
/usr/share/bcc/tools/bindsnoop
/usr/share/bcc/tools/biolatency
/usr/share/bcc/tools/biolatpcts
/usr/share/bcc/tools/biosnoop
/usr/share/bcc/tools/biotop
/usr/share/bcc/tools/bitesize
/usr/share/bcc/tools/bpflist
/usr/share/bcc/tools/cachestat
/usr/share/bcc/tools/cachetop
/usr/share/bcc/tools/capable
/usr/share/bcc/tools/cobjnew
/usr/share/bcc/tools/compactsnoop
/usr/share/bcc/tools/cpudist
/usr/share/bcc/tools/cpuunclaimed
/usr/share/bcc/tools/dbslower
/usr/share/bcc/tools/dbstat
/usr/share/bcc/tools/dcsnoop
/usr/share/bcc/tools/dcstat
/usr/share/bcc/tools/deadlock
/usr/share/bcc/tools/deadlock.c
/usr/share/bcc/tools/dirtop
/usr/share/bcc/tools/doc
/usr/share/bcc/tools/doc/argdist_example.txt
/usr/share/bcc/tools/doc/bashreadline_example.txt
/usr/share/bcc/tools/doc/bindsnoop_example.txt
/usr/share/bcc/tools/doc/biolatency_example.txt
/usr/share/bcc/tools/doc/biolatpcts_example.txt
/usr/share/bcc/tools/doc/biosnoop_example.txt
/usr/share/bcc/tools/doc/biotop_example.txt
/usr/share/bcc/tools/doc/bitesize_example.txt
/usr/share/bcc/tools/doc/bpflist_example.txt
/usr/share/bcc/tools/doc/cachestat_example.txt
/usr/share/bcc/tools/doc/cachetop_example.txt
/usr/share/bcc/tools/doc/capable_example.txt
/usr/share/bcc/tools/doc/cobjnew_example.txt
/usr/share/bcc/tools/doc/compactsnoop_example.txt
/usr/share/bcc/tools/doc/cpudist_example.txt
/usr/share/bcc/tools/doc/cpuunclaimed_example.txt
/usr/share/bcc/tools/doc/cthreads_example.txt
/usr/share/bcc/tools/doc/dbslower_example.txt
/usr/share/bcc/tools/doc/dbstat_example.txt
/usr/share/bcc/tools/doc/dcsnoop_example.txt
/usr/share/bcc/tools/doc/dcstat_example.txt
/usr/share/bcc/tools/doc/deadlock_example.txt
/usr/share/bcc/tools/doc/dirtop_example.txt
/usr/share/bcc/tools/doc/drsnoop_example.txt
/usr/share/bcc/tools/doc/execsnoop_example.txt
/usr/share/bcc/tools/doc/exitsnoop_example.txt
/usr/share/bcc/tools/doc/ext4dist_example.txt
/usr/share/bcc/tools/doc/ext4slower_example.txt
/usr/share/bcc/tools/doc/filelife_example.txt
/usr/share/bcc/tools/doc/fileslower_example.txt
/usr/share/bcc/tools/doc/filetop_example.txt
/usr/share/bcc/tools/doc/funccount_example.txt
/usr/share/bcc/tools/doc/funcinterval_example.txt
/usr/share/bcc/tools/doc/funclatency_example.txt
/usr/share/bcc/tools/doc/funcslower_example.txt
/usr/share/bcc/tools/doc/gethostlatency_example.txt
/usr/share/bcc/tools/doc/hardirqs_example.txt
/usr/share/bcc/tools/doc/javacalls_example.txt
/usr/share/bcc/tools/doc/javaflow_example.txt
/usr/share/bcc/tools/doc/javagc_example.txt
/usr/share/bcc/tools/doc/javaobjnew_example.txt
/usr/share/bcc/tools/doc/javastat_example.txt
/usr/share/bcc/tools/doc/javathreads_example.txt
/usr/share/bcc/tools/doc/killsnoop_example.txt
/usr/share/bcc/tools/doc/klockstat_example.txt
/usr/share/bcc/tools/doc/lib
/usr/share/bcc/tools/doc/lib/ucalls_example.txt
/usr/share/bcc/tools/doc/lib/uflow_example.txt
/usr/share/bcc/tools/doc/lib/ugc_example.txt
/usr/share/bcc/tools/doc/lib/uobjnew_example.txt
/usr/share/bcc/tools/doc/lib/ustat_example.txt
/usr/share/bcc/tools/doc/lib/uthreads_example.txt
/usr/share/bcc/tools/doc/llcstat_example.txt
/usr/share/bcc/tools/doc/mdflush_example.txt
/usr/share/bcc/tools/doc/memleak_example.txt
/usr/share/bcc/tools/doc/mountsnoop_example.txt
/usr/share/bcc/tools/doc/mysqld_qslower_example.txt
/usr/share/bcc/tools/doc/nfsdist_example.txt
/usr/share/bcc/tools/doc/nfsslower_example.txt
/usr/share/bcc/tools/doc/nodegc_example.txt
/usr/share/bcc/tools/doc/nodestat_example.txt
/usr/share/bcc/tools/doc/offcputime_example.txt
/usr/share/bcc/tools/doc/offwaketime_example.txt
/usr/share/bcc/tools/doc/oomkill_example.txt
/usr/share/bcc/tools/doc/opensnoop_example.txt
/usr/share/bcc/tools/doc/perlcalls_example.txt
/usr/share/bcc/tools/doc/perlflow_example.txt
/usr/share/bcc/tools/doc/perlstat_example.txt
/usr/share/bcc/tools/doc/phpcalls_example.txt
/usr/share/bcc/tools/doc/phpflow_example.txt
/usr/share/bcc/tools/doc/phpstat_example.txt
/usr/share/bcc/tools/doc/pidpersec_example.txt
/usr/share/bcc/tools/doc/profile_example.txt
/usr/share/bcc/tools/doc/pythoncalls_example.txt
/usr/share/bcc/tools/doc/pythonflow_example.txt
/usr/share/bcc/tools/doc/pythongc_example.txt
/usr/share/bcc/tools/doc/pythonstat_example.txt
/usr/share/bcc/tools/doc/reset-trace_example.txt
/usr/share/bcc/tools/doc/rubycalls_example.txt
/usr/share/bcc/tools/doc/rubyflow_example.txt
/usr/share/bcc/tools/doc/rubygc_example.txt
/usr/share/bcc/tools/doc/rubyobjnew_example.txt
/usr/share/bcc/tools/doc/rubystat_example.txt
/usr/share/bcc/tools/doc/runqlat_example.txt
/usr/share/bcc/tools/doc/runqlen_example.txt
/usr/share/bcc/tools/doc/runqslower_example.txt
/usr/share/bcc/tools/doc/shmsnoop_example.txt
/usr/share/bcc/tools/doc/slabratetop_example.txt
/usr/share/bcc/tools/doc/sofdsnoop_example.txt
/usr/share/bcc/tools/doc/softirqs_example.txt
/usr/share/bcc/tools/doc/solisten_example.txt
/usr/share/bcc/tools/doc/sslsniff_example.txt
/usr/share/bcc/tools/doc/stackcount_example.txt
/usr/share/bcc/tools/doc/statsnoop_example.txt
/usr/share/bcc/tools/doc/syncsnoop_example.txt
/usr/share/bcc/tools/doc/syscount_example.txt
/usr/share/bcc/tools/doc/tclcalls_example.txt
/usr/share/bcc/tools/doc/tclflow_example.txt
/usr/share/bcc/tools/doc/tclobjnew_example.txt
/usr/share/bcc/tools/doc/tclstat_example.txt
/usr/share/bcc/tools/doc/tcpaccept_example.txt
/usr/share/bcc/tools/doc/tcpconnect_example.txt
/usr/share/bcc/tools/doc/tcpconnlat_example.txt
/usr/share/bcc/tools/doc/tcpdrop_example.txt
/usr/share/bcc/tools/doc/tcplife_example.txt
/usr/share/bcc/tools/doc/tcpretrans_example.txt
/usr/share/bcc/tools/doc/tcpstates_example.txt
/usr/share/bcc/tools/doc/tcpsubnet_example.txt
/usr/share/bcc/tools/doc/tcptop_example.txt
/usr/share/bcc/tools/doc/tcptracer_example.txt
/usr/share/bcc/tools/doc/tplist_example.txt
/usr/share/bcc/tools/doc/trace_example.txt
/usr/share/bcc/tools/doc/ttysnoop_example.txt
/usr/share/bcc/tools/doc/vfscount_example.txt
/usr/share/bcc/tools/doc/vfsstat_example.txt
/usr/share/bcc/tools/doc/wakeuptime_example.txt
/usr/share/bcc/tools/doc/xfsdist_example.txt
/usr/share/bcc/tools/doc/xfsslower_example.txt
/usr/share/bcc/tools/drsnoop
/usr/share/bcc/tools/execsnoop
/usr/share/bcc/tools/exitsnoop
/usr/share/bcc/tools/ext4dist
/usr/share/bcc/tools/ext4slower
/usr/share/bcc/tools/filelife
/usr/share/bcc/tools/fileslower
/usr/share/bcc/tools/filetop
/usr/share/bcc/tools/funccount
/usr/share/bcc/tools/funcinterval
/usr/share/bcc/tools/funclatency
/usr/share/bcc/tools/funcslower
/usr/share/bcc/tools/gethostlatency
/usr/share/bcc/tools/hardirqs
/usr/share/bcc/tools/javacalls
/usr/share/bcc/tools/javaflow
/usr/share/bcc/tools/javagc
/usr/share/bcc/tools/javaobjnew
/usr/share/bcc/tools/javastat
/usr/share/bcc/tools/javathreads
/usr/share/bcc/tools/killsnoop
/usr/share/bcc/tools/klockstat
/usr/share/bcc/tools/lib
/usr/share/bcc/tools/lib/ucalls
/usr/share/bcc/tools/lib/uflow
/usr/share/bcc/tools/lib/ugc
/usr/share/bcc/tools/lib/uobjnew
/usr/share/bcc/tools/lib/ustat
/usr/share/bcc/tools/lib/uthreads
/usr/share/bcc/tools/llcstat
/usr/share/bcc/tools/mdflush
/usr/share/bcc/tools/memleak
/usr/share/bcc/tools/mountsnoop
/usr/share/bcc/tools/mysqld_qslower
/usr/share/bcc/tools/nfsdist
/usr/share/bcc/tools/nfsslower
/usr/share/bcc/tools/nodegc
/usr/share/bcc/tools/nodestat
/usr/share/bcc/tools/offcputime
/usr/share/bcc/tools/offwaketime
/usr/share/bcc/tools/oomkill
/usr/share/bcc/tools/opensnoop
/usr/share/bcc/tools/perlcalls
/usr/share/bcc/tools/perlflow
/usr/share/bcc/tools/perlstat
/usr/share/bcc/tools/phpcalls
/usr/share/bcc/tools/phpflow
/usr/share/bcc/tools/phpstat
/usr/share/bcc/tools/pidpersec
/usr/share/bcc/tools/profile
/usr/share/bcc/tools/pythoncalls
/usr/share/bcc/tools/pythonflow
/usr/share/bcc/tools/pythongc
/usr/share/bcc/tools/pythonstat
/usr/share/bcc/tools/reset-trace
/usr/share/bcc/tools/rubycalls
/usr/share/bcc/tools/rubyflow
/usr/share/bcc/tools/rubygc
/usr/share/bcc/tools/rubyobjnew
/usr/share/bcc/tools/rubystat
/usr/share/bcc/tools/runqlat
/usr/share/bcc/tools/runqlen
/usr/share/bcc/tools/runqslower
/usr/share/bcc/tools/shmsnoop
/usr/share/bcc/tools/slabratetop
/usr/share/bcc/tools/sofdsnoop
/usr/share/bcc/tools/softirqs
/usr/share/bcc/tools/solisten
/usr/share/bcc/tools/sslsniff
/usr/share/bcc/tools/stackcount
/usr/share/bcc/tools/statsnoop
/usr/share/bcc/tools/syncsnoop
/usr/share/bcc/tools/syscount
/usr/share/bcc/tools/tclcalls
/usr/share/bcc/tools/tclflow
/usr/share/bcc/tools/tclobjnew
/usr/share/bcc/tools/tclstat
/usr/share/bcc/tools/tcpaccept
/usr/share/bcc/tools/tcpconnect
/usr/share/bcc/tools/tcpconnlat
/usr/share/bcc/tools/tcpdrop
/usr/share/bcc/tools/tcplife
/usr/share/bcc/tools/tcpretrans
/usr/share/bcc/tools/tcpstates
/usr/share/bcc/tools/tcpsubnet
/usr/share/bcc/tools/tcptop
/usr/share/bcc/tools/tcptracer
/usr/share/bcc/tools/tplist
/usr/share/bcc/tools/trace
/usr/share/bcc/tools/ttysnoop
/usr/share/bcc/tools/vfscount
/usr/share/bcc/tools/vfsstat
/usr/share/bcc/tools/wakeuptime
/usr/share/bcc/tools/xfsdist
/usr/share/bcc/tools/xfsslower
/usr/share/man/man8/bcc-argdist.8.gz
/usr/share/man/man8/bcc-bashreadline.8.gz
/usr/share/man/man8/bcc-bindsnoop.8.gz
/usr/share/man/man8/bcc-biolatency.8.gz
/usr/share/man/man8/bcc-biolatpcts.8.gz
/usr/share/man/man8/bcc-biosnoop.8.gz
/usr/share/man/man8/bcc-biotop.8.gz
/usr/share/man/man8/bcc-bitesize.8.gz
/usr/share/man/man8/bcc-bpflist.8.gz
/usr/share/man/man8/bcc-bps.8.gz
/usr/share/man/man8/bcc-cachestat.8.gz
/usr/share/man/man8/bcc-cachetop.8.gz
/usr/share/man/man8/bcc-capable.8.gz
/usr/share/man/man8/bcc-cobjnew.8.gz
/usr/share/man/man8/bcc-compactsnoop.8.gz
/usr/share/man/man8/bcc-cpudist.8.gz
/usr/share/man/man8/bcc-cpuunclaimed.8.gz
/usr/share/man/man8/bcc-cthreads.8.gz
/usr/share/man/man8/bcc-dbslower.8.gz
/usr/share/man/man8/bcc-dbstat.8.gz
/usr/share/man/man8/bcc-dcsnoop.8.gz
/usr/share/man/man8/bcc-dcstat.8.gz
/usr/share/man/man8/bcc-deadlock.8.gz
/usr/share/man/man8/bcc-dirtop.8.gz
/usr/share/man/man8/bcc-drsnoop.8.gz
/usr/share/man/man8/bcc-execsnoop.8.gz
/usr/share/man/man8/bcc-exitsnoop.8.gz
/usr/share/man/man8/bcc-ext4dist.8.gz
/usr/share/man/man8/bcc-ext4slower.8.gz
/usr/share/man/man8/bcc-filelife.8.gz
/usr/share/man/man8/bcc-fileslower.8.gz
/usr/share/man/man8/bcc-filetop.8.gz
/usr/share/man/man8/bcc-funccount.8.gz
/usr/share/man/man8/bcc-funcinterval.8.gz
/usr/share/man/man8/bcc-funclatency.8.gz
/usr/share/man/man8/bcc-funcslower.8.gz
/usr/share/man/man8/bcc-gethostlatency.8.gz
/usr/share/man/man8/bcc-hardirqs.8.gz
/usr/share/man/man8/bcc-javacalls.8.gz
/usr/share/man/man8/bcc-javaflow.8.gz
/usr/share/man/man8/bcc-javagc.8.gz
/usr/share/man/man8/bcc-javaobjnew.8.gz
/usr/share/man/man8/bcc-javastat.8.gz
/usr/share/man/man8/bcc-javathreads.8.gz
/usr/share/man/man8/bcc-killsnoop.8.gz
/usr/share/man/man8/bcc-klockstat.8.gz
/usr/share/man/man8/bcc-llcstat.8.gz
/usr/share/man/man8/bcc-mdflush.8.gz
/usr/share/man/man8/bcc-memleak.8.gz
/usr/share/man/man8/bcc-mountsnoop.8.gz
/usr/share/man/man8/bcc-mysqld_qslower.8.gz
/usr/share/man/man8/bcc-nfsdist.8.gz
/usr/share/man/man8/bcc-nfsslower.8.gz
/usr/share/man/man8/bcc-nodegc.8.gz
/usr/share/man/man8/bcc-nodestat.8.gz
/usr/share/man/man8/bcc-offcputime.8.gz
/usr/share/man/man8/bcc-offwaketime.8.gz
/usr/share/man/man8/bcc-oomkill.8.gz
/usr/share/man/man8/bcc-opensnoop.8.gz
/usr/share/man/man8/bcc-perlcalls.8.gz
/usr/share/man/man8/bcc-perlflow.8.gz
/usr/share/man/man8/bcc-perlstat.8.gz
/usr/share/man/man8/bcc-phpcalls.8.gz
/usr/share/man/man8/bcc-phpflow.8.gz
/usr/share/man/man8/bcc-phpstat.8.gz
/usr/share/man/man8/bcc-pidpersec.8.gz
/usr/share/man/man8/bcc-profile.8.gz
/usr/share/man/man8/bcc-pythoncalls.8.gz
/usr/share/man/man8/bcc-pythonflow.8.gz
/usr/share/man/man8/bcc-pythongc.8.gz
/usr/share/man/man8/bcc-pythonstat.8.gz
/usr/share/man/man8/bcc-reset-trace.8.gz
/usr/share/man/man8/bcc-rubycalls.8.gz
/usr/share/man/man8/bcc-rubyflow.8.gz
/usr/share/man/man8/bcc-rubygc.8.gz
/usr/share/man/man8/bcc-rubyobjnew.8.gz
/usr/share/man/man8/bcc-rubystat.8.gz
/usr/share/man/man8/bcc-runqlat.8.gz
/usr/share/man/man8/bcc-runqlen.8.gz
/usr/share/man/man8/bcc-runqslower.8.gz
/usr/share/man/man8/bcc-shmsnoop.8.gz
/usr/share/man/man8/bcc-slabratetop.8.gz
/usr/share/man/man8/bcc-sofdsnoop.8.gz
/usr/share/man/man8/bcc-softirqs.8.gz
/usr/share/man/man8/bcc-solisten.8.gz
/usr/share/man/man8/bcc-spfdsnoop.8.gz
/usr/share/man/man8/bcc-sslsniff.8.gz
/usr/share/man/man8/bcc-stackcount.8.gz
/usr/share/man/man8/bcc-statsnoop.8.gz
/usr/share/man/man8/bcc-syncsnoop.8.gz
/usr/share/man/man8/bcc-syscount.8.gz
/usr/share/man/man8/bcc-tclcalls.8.gz
/usr/share/man/man8/bcc-tclflow.8.gz
/usr/share/man/man8/bcc-tclobjnew.8.gz
/usr/share/man/man8/bcc-tclstat.8.gz
/usr/share/man/man8/bcc-tcpaccept.8.gz
/usr/share/man/man8/bcc-tcpconnect.8.gz
/usr/share/man/man8/bcc-tcpconnlat.8.gz
/usr/share/man/man8/bcc-tcpdrop.8.gz
/usr/share/man/man8/bcc-tcplife.8.gz
/usr/share/man/man8/bcc-tcpretrans.8.gz
/usr/share/man/man8/bcc-tcpstates.8.gz
/usr/share/man/man8/bcc-tcpsubnet.8.gz
/usr/share/man/man8/bcc-tcptop.8.gz
/usr/share/man/man8/bcc-tcptracer.8.gz
/usr/share/man/man8/bcc-tplist.8.gz
/usr/share/man/man8/bcc-trace.8.gz
/usr/share/man/man8/bcc-ttysnoop.8.gz
/usr/share/man/man8/bcc-ucalls.8.gz
/usr/share/man/man8/bcc-uflow.8.gz
/usr/share/man/man8/bcc-ugc.8.gz
/usr/share/man/man8/bcc-uobjnew.8.gz
/usr/share/man/man8/bcc-ustat.8.gz
/usr/share/man/man8/bcc-uthreads.8.gz
/usr/share/man/man8/bcc-vfscount.8.gz
/usr/share/man/man8/bcc-vfsstat.8.gz
/usr/share/man/man8/bcc-wakeuptime.8.gz
/usr/share/man/man8/bcc-xfsdist.8.gz
/usr/share/man/man8/bcc-xfsslower.8.gz
References
Summary
In this tutorial we learn how to install bcc-tools
on Rocky Linux 8 using yum and dnf.