How To Install qrouter on Ubuntu 22.04

In this tutorial we learn how to install qrouter on Ubuntu 22.04. qrouter is Multi-level, over-the-cell maze router

Introduction

In this tutorial we learn how to install qrouter on Ubuntu 22.04.

What is qrouter

qrouter is:

Qrouter is a tool to generate metal layers and vias to physically connect together a netlist in a VLSI fabrication technology. It is a maze router, otherwise known as an “over-the-cell” router or “sea-of-gates” router. That is, unlike a channel router, it begins with a description of placed standard cells, usually packed together at minimum spacing, and places metal routes over the standard cells.

Qrouter uses the open standard LEF and DEF formats as file input and output. It takes the cell definitions from a LEF file, and analyzes the geometry for each cell to determine contact points and route obstructions. It then reads the cell placement, pin placement, and netlist from a DEF file, performs the detailed route, and writes an annotated DEF file as output.

There are three methods to install qrouter on Ubuntu 22.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 qrouter Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install qrouter using apt-get by running the following command:

sudo apt-get -y install qrouter

Install qrouter Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install qrouter using apt by running the following command:

sudo apt -y install qrouter

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

sudo aptitude -y install qrouter

How To Uninstall qrouter on Ubuntu 22.04

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

sudo apt-get remove qrouter

Uninstall qrouter And Its Dependencies

To uninstall qrouter and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove qrouter

Remove qrouter Configurations and Data

To remove qrouter configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge qrouter

Remove qrouter configuration, data, and all of its dependencies

We can use the following command to remove qrouter configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge qrouter

References

Summary

In this tutorial we learn how to install qrouter package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.