How To Install gr-fosphor on Debian 10
Introduction
In this tutorial we learn how to install gr-fosphor
on Debian 10.
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 Debian 10. 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 Debian. 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 Debian 10
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 Debian 10, 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 Debian 10 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
Dependencies
gr-fosphor have the following dependencies:
- gnuradio-dev
- python
- libgnuradio-fosphor3.7.12
- libboost-atomic1.67.0
- libboost-chrono1.67.0
- libboost-date-time1.67.0
- libboost-system1.67.0
- libboost-thread1.67.0
- libc6
- libfreetype6
- libgcc1
References
Summary
In this tutorial we learn how to install gr-fosphor
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.