How To Install hct on Fedora 36

In this tutorial we learn how to install hct in Fedora 36. hct is A HDL complexity tool

Introduction

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

What is hct

The goal of the HCT is to generate scores that represent the complexity of the constituent modules of large integrated circuit design projects – i.e. SOCs. The design’s complexity scores are useful to verification teams so as to efficiently focus resources based on the dynamic complexity profile of a design. The scores are a useful tool to guide HDL designer’s re-factoring efforts.

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

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

sudo dnf -y install hct

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

sudo yum -y install hct

How To Uninstall hct on Fedora 36

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

sudo dnf remove hct

hct Package Contents on Fedora 36

/usr/bin/hct
/usr/share/doc/hct
/usr/share/doc/hct/COPYING
/usr/share/doc/hct/COPYING.LESSER
/usr/share/doc/hct/README
/usr/share/man/man3/HCT.3pm.gz
/usr/share/man/man3/HCT::File.3pm.gz
/usr/share/man/man3/HCT::HCT.3pm.gz
/usr/share/man/man3/HCT::Lang.3pm.gz
/usr/share/man/man3/HCT::Lang::LangDriver.3pm.gz
/usr/share/man/man3/HCT::Lang::LexerDriver.3pm.gz
/usr/share/man/man3/HCT::Lang::LexerTracer.3pm.gz
/usr/share/man/man3/HCT::Lang::Token.3pm.gz
/usr/share/man/man3/HCT::Std.3pm.gz
/usr/share/man/man3/HCT::Util.3pm.gz
/usr/share/man/man3/HCT::lang::hdl::cdl.3pm.gz
/usr/share/man/man3/HCT::lang::hdl::verilog.3pm.gz
/usr/share/man/man3/HCT::lang::hdl::vhdl.3pm.gz
/usr/share/perl5/vendor_perl/HCT
/usr/share/perl5/vendor_perl/HCT.pm
/usr/share/perl5/vendor_perl/HCT/Constants.pm
/usr/share/perl5/vendor_perl/HCT/File.pm
/usr/share/perl5/vendor_perl/HCT/HCT.pm
/usr/share/perl5/vendor_perl/HCT/Lang
/usr/share/perl5/vendor_perl/HCT/Lang.pm
/usr/share/perl5/vendor_perl/HCT/Lang/LangDriver.pm
/usr/share/perl5/vendor_perl/HCT/Lang/LexerDriver.pm
/usr/share/perl5/vendor_perl/HCT/Lang/LexerTracer.pm
/usr/share/perl5/vendor_perl/HCT/Lang/Token.pm
/usr/share/perl5/vendor_perl/HCT/Lang/YappParserDriver.pm
/usr/share/perl5/vendor_perl/HCT/Metrics
/usr/share/perl5/vendor_perl/HCT/Metrics.pm
/usr/share/perl5/vendor_perl/HCT/Metrics/McCabe.pm
/usr/share/perl5/vendor_perl/HCT/Output
/usr/share/perl5/vendor_perl/HCT/Output.pm
/usr/share/perl5/vendor_perl/HCT/Output/Forms.pm
/usr/share/perl5/vendor_perl/HCT/Shell.pm
/usr/share/perl5/vendor_perl/HCT/Std
/usr/share/perl5/vendor_perl/HCT/Std.pm
/usr/share/perl5/vendor_perl/HCT/Std/IO.pm
/usr/share/perl5/vendor_perl/HCT/Term
/usr/share/perl5/vendor_perl/HCT/Term/Bar.pm
/usr/share/perl5/vendor_perl/HCT/Util.pm
/usr/share/perl5/vendor_perl/HCT/lang
/usr/share/perl5/vendor_perl/HCT/lang/README
/usr/share/perl5/vendor_perl/HCT/lang/hdl
/usr/share/perl5/vendor_perl/HCT/lang/hdl/cdl
/usr/share/perl5/vendor_perl/HCT/lang/hdl/cdl.pm
/usr/share/perl5/vendor_perl/HCT/lang/hdl/cdl/lexer.pm
/usr/share/perl5/vendor_perl/HCT/lang/hdl/cdl/parser.pm
/usr/share/perl5/vendor_perl/HCT/lang/hdl/verilog
/usr/share/perl5/vendor_perl/HCT/lang/hdl/verilog.pm
/usr/share/perl5/vendor_perl/HCT/lang/hdl/verilog/lexer.pm
/usr/share/perl5/vendor_perl/HCT/lang/hdl/verilog/parser.pm
/usr/share/perl5/vendor_perl/HCT/lang/hdl/vhdl
/usr/share/perl5/vendor_perl/HCT/lang/hdl/vhdl.pm
/usr/share/perl5/vendor_perl/HCT/lang/hdl/vhdl/lexer.pm
/usr/share/perl5/vendor_perl/HCT/lang/hdl/vhdl/parser.pm
/usr/share/perl5/vendor_perl/HCT/lang/init.pl

References

Summary

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