UnInstallGR: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(reorganized)
Line 1: Line 1:
This page describes methods to <b>UNINSTALL</b> (remove) GNU Radio from your computer. Since there are several methods of installing GNU Radio, different methods are needed to uninstall it.
This page describes methods to <b>UNINSTALL</b> (remove) GNU Radio from your computer. Since there are several methods of installing GNU Radio, different methods are needed to uninstall it. If you don't know how GNU Radio was installed, there are some steps which can be taken to discover what needs to be done.
<!-- UnInstall.mediawiki -->


== From Binaries ==
== From Distribution package manager or PPA ==


=== Distribution package manager ===
If GNU Radio was installed from your distribution package manager or a PPA, it can be uninstalled in the same manner. From a terminal screen, enter:
 
If GNU Radio was installed from your distribution package manager, it can be uninstalled in the same manner. From a terminal screen, enter:


* <code>sudo apt remove gnuradio</code>
* <code>sudo apt remove gnuradio</code>
* <code>sudo add-apt-repository --list</code>


=== From PPA ===
Then do the following with every PPA name containing `gnuradio`
 
If GNU Radio was installed from a PPA, it can be uninstalled with the following commands. From a terminal screen, enter:
 
* <code>sudo apt remove gnuradio</code>
* <code>sudo add-apt-repository --remove <ppa name></code>
* <code>sudo add-apt-repository --remove <ppa name></code>
== From Source ==
If GNU Radio was built from source code, it can be uninstalled with the following commands. From a terminal screen, enter:
* <code>cd ~/gnuradio/build</code>
* <code>sudo make uninstall</code>


== From PyBOMBS ==
== From PyBOMBS ==
Line 31: Line 20:
Then move ~/{your-prefix} folder to Trash using Files
Then move ~/{your-prefix} folder to Trash using Files


== Unknown / Not Sure / Cleanup ==
== From Source ==


If you don't know or don't remember your installation prefix, perform the following step:
=== Source Code Build Directory ===


*  on a terminal screen, enter <code>gnuradio-config-info --prefix</code>  (it might not work)
If GNU Radio was built from source code and the build directory is still intact, it can be uninstalled with the following commands. From a terminal screen, enter:


then use that prefix <b>in place of</b> <code>{your-prefix}</code> in the following command.
* <code>cd ~/gnuradio/build</code>
* <code>sudo make uninstall</code>


* <code>find {your-prefix} -name gnuradio | grep "packages"</code>
=== Unknown / Not Sure / Cleanup ===


otherwise, try
If you don't know, or don't remember, your installation prefix, from a terminal screen, enter:


* <code>find /usr -name gnuradio | grep "packages"</code>
    <code>find /usr -name gnuradio | grep "packages"</code>


Then move whatever (sub)folders you find with "gnuradio" to trash using Files
* Move whatever (sub)folders you find with "gnuradio" to trash using Files.


Move ~/.gnuradio folder to trash using Files
* Move the <code>~/.gnuradio</code> folder to trash using Files.

Revision as of 23:07, 26 March 2023

This page describes methods to UNINSTALL (remove) GNU Radio from your computer. Since there are several methods of installing GNU Radio, different methods are needed to uninstall it. If you don't know how GNU Radio was installed, there are some steps which can be taken to discover what needs to be done.

From Distribution package manager or PPA

If GNU Radio was installed from your distribution package manager or a PPA, it can be uninstalled in the same manner. From a terminal screen, enter:

  • sudo apt remove gnuradio
  • sudo add-apt-repository --list

Then do the following with every PPA name containing `gnuradio`

  • sudo add-apt-repository --remove <ppa name>

From PyBOMBS

If you used PyBOMBS to install GNU Radio in a custom prefix, you can uninstall with:

  • sudo pip uninstall pybombs

Then move ~/{your-prefix} folder to Trash using Files

From Source

Source Code Build Directory

If GNU Radio was built from source code and the build directory is still intact, it can be uninstalled with the following commands. From a terminal screen, enter:

  • cd ~/gnuradio/build
  • sudo make uninstall

Unknown / Not Sure / Cleanup

If you don't know, or don't remember, your installation prefix, from a terminal screen, enter:

   find /usr -name gnuradio | grep "packages"
  • Move whatever (sub)folders you find with "gnuradio" to trash using Files.
  • Move the ~/.gnuradio folder to trash using Files.