How To Install sigrok-firmware-fx2lafw on Ubuntu 18.04

In this tutorial we learn how to install sigrok-firmware-fx2lafw on Ubuntu 18.04. sigrok-firmware-fx2lafw is Firmware for Cypress FX2(LP) based logic analyzers

Introduction

In this tutorial we learn how to install sigrok-firmware-fx2lafw on Ubuntu 18.04.

What is sigrok-firmware-fx2lafw

sigrok-firmware-fx2lafw is:

sigrok-firmware-fx2lafw is an open-source (GPLv2+) firmware, implemented from scratch, that allows you to use almost any device or eval board that has a Cypress FX2(LP) chip as a logic analyzer via libsigrok (and a suitable frontend).

There are three methods to install sigrok-firmware-fx2lafw 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 sigrok-firmware-fx2lafw Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install sigrok-firmware-fx2lafw

Install sigrok-firmware-fx2lafw Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install sigrok-firmware-fx2lafw using apt by running the following command:

sudo apt -y install sigrok-firmware-fx2lafw

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

sudo aptitude -y install sigrok-firmware-fx2lafw

How To Uninstall sigrok-firmware-fx2lafw on Ubuntu 18.04

To uninstall only the sigrok-firmware-fx2lafw package we can use the following command:

sudo apt-get remove sigrok-firmware-fx2lafw

Uninstall sigrok-firmware-fx2lafw And Its Dependencies

To uninstall sigrok-firmware-fx2lafw and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove sigrok-firmware-fx2lafw

Remove sigrok-firmware-fx2lafw Configurations and Data

To remove sigrok-firmware-fx2lafw configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge sigrok-firmware-fx2lafw

Remove sigrok-firmware-fx2lafw configuration, data, and all of its dependencies

We can use the following command to remove sigrok-firmware-fx2lafw configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge sigrok-firmware-fx2lafw

References

Summary

In this tutorial we learn how to install sigrok-firmware-fx2lafw package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.