How To Install libvart2 on Debian 12

Learn how to install libvart2 on Debian 12 with this tutorial. libvart2 is Vitis AI RuntTime library

Introduction

In this tutorial we learn how to install libvart2 on Debian 12.

What is libvart2

libvart2 is:

Vitis AI RunTime is an application level runtime interface for DPU IPs based on XRT. It use XIR subgraph as input, and runs it on different targets. There are also emulators implemented with same interface to make debuging eaiser.

This package provides the runtime environment for Vitis AI RuntTime library.

There are three methods to install libvart2 on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libvart2 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libvart2

Install libvart2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libvart2

Install libvart2 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libvart2

How To Uninstall libvart2 on Debian 12

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

sudo apt-get remove libvart2

Uninstall libvart2 And Its Dependencies

To uninstall libvart2 and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libvart2

Remove libvart2 Configurations and Data

To remove libvart2 configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libvart2

Remove libvart2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libvart2

Dependencies

libvart2 have the following dependencies:

References

Summary

In this tutorial we learn how to install libvart2 package on Debian 12 using different package management tools: apt, apt-get and aptitude.