How To Install fpga-manager-xlnx on Ubuntu 20.04

In this tutorial we learn how to install fpga-manager-xlnx on Ubuntu 20.04. fpga-manager-xlnx is Xilinx FPGA manager

Introduction

In this tutorial we learn how to install fpga-manager-xlnx on Ubuntu 20.04.

What is fpga-manager-xlnx

fpga-manager-xlnx is:

Simple command line tool to load fpga via overlay or through sysfs interface and read fpga configuration using Xilinx Zynq/ZynqMP fpga manager

There are three methods to install fpga-manager-xlnx on Ubuntu 20.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 fpga-manager-xlnx Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install fpga-manager-xlnx

Install fpga-manager-xlnx Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install fpga-manager-xlnx using apt by running the following command:

sudo apt -y install fpga-manager-xlnx

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

sudo aptitude -y install fpga-manager-xlnx

How To Uninstall fpga-manager-xlnx on Ubuntu 20.04

To uninstall only the fpga-manager-xlnx package we can use the following command:

sudo apt-get remove fpga-manager-xlnx

Uninstall fpga-manager-xlnx And Its Dependencies

To uninstall fpga-manager-xlnx and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove fpga-manager-xlnx

Remove fpga-manager-xlnx Configurations and Data

To remove fpga-manager-xlnx configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge fpga-manager-xlnx

Remove fpga-manager-xlnx configuration, data, and all of its dependencies

We can use the following command to remove fpga-manager-xlnx configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge fpga-manager-xlnx

References

Summary

In this tutorial we learn how to install fpga-manager-xlnx package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.