How To Install libverilog-perl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libverilog-perl
on Ubuntu 18.04.
What is libverilog-perl
libverilog-perl is:
Verilog is a Perl framework providing Verilog support in the Perl language. It includes:
- Verilog::Getopt, which parses command line options similar to C++ and VCS
- Verilog::Language, which knows the language keywords and parses numbers.
- Verilog::Netlist, which builds netlists out of Verilog files. This allows easy scripts to determine things such as the hierarchy of modules.
- Verilog::Parser, which invokes callbacks for language tokens
- Verilog::Preproc, preprocesses the language, and allows reading post-processed files right from Perl without temporary files.
It also includes a variety of useful utilities:
- vpassert inserts PLIish warnings and assertions for any simulator
- vppreproc preprocesses the complete Verilog 2001 and SystemVerilog language
- vrename renames and cross-references Verilog symbols. It creates Verilog cross references and makes it easy to rename signal and module names over multiple files.
There are three methods to install libverilog-perl
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libverilog-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libverilog-perl
using apt-get
by running the following command:
sudo apt-get -y install libverilog-perl
Install libverilog-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libverilog-perl
using apt
by running the following command:
sudo apt -y install libverilog-perl
Install libverilog-perl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libverilog-perl
using aptitude
by running the following command:
sudo aptitude -y install libverilog-perl
How To Uninstall libverilog-perl on Ubuntu 18.04
To uninstall only the libverilog-perl
package we can use the following command:
sudo apt-get remove libverilog-perl
Uninstall libverilog-perl And Its Dependencies
To uninstall libverilog-perl
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libverilog-perl
Remove libverilog-perl Configurations and Data
To remove libverilog-perl
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libverilog-perl
Remove libverilog-perl configuration, data, and all of its dependencies
We can use the following command to remove libverilog-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libverilog-perl
References
Summary
In this tutorial we learn how to install libverilog-perl
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.