How To Install gr-fosphor on Ubuntu 18.04
Introduction
In this tutorial we learn how to install gr-fosphor
on Ubuntu 18.04.
What is gr-fosphor
gr-fosphor is:
This implements a GNU Radio sink consisting of a GL display window that provides a Real Time Spectrum Analyzer (RTSA)-like spectrum visualization using OpenCL and OpenGL acceleration.
To use the fosphor blocks in Python, import it as :
from gnuradio import fosphor
See the Doxygen documentation for details about the blocks available in this package. A quick listing of the details can be found in Python after importing by using:
help(fosphor)
There are three methods to install gr-fosphor
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 gr-fosphor Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install gr-fosphor
using apt-get
by running the following command:
sudo apt-get -y install gr-fosphor
Install gr-fosphor Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install gr-fosphor
using apt
by running the following command:
sudo apt -y install gr-fosphor
Install gr-fosphor 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 gr-fosphor
using aptitude
by running the following command:
sudo aptitude -y install gr-fosphor
How To Uninstall gr-fosphor on Ubuntu 18.04
To uninstall only the gr-fosphor
package we can use the following command:
sudo apt-get remove gr-fosphor
Uninstall gr-fosphor And Its Dependencies
To uninstall gr-fosphor
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove gr-fosphor
Remove gr-fosphor Configurations and Data
To remove gr-fosphor
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge gr-fosphor
Remove gr-fosphor configuration, data, and all of its dependencies
We can use the following command to remove gr-fosphor
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gr-fosphor
References
Summary
In this tutorial we learn how to install gr-fosphor
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.