UnInstallGR: Difference between revisions
(reorganized) |
(add instructions for Cleanup) |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
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 or a PPA, it can be uninstalled in the same manner. From a terminal screen, enter: | ||
<code>sudo apt remove gnuradio</code> | |||
<code>sudo add-apt-repository --list</code> | |||
Then do the following with every PPA name containing `gnuradio` | Then do the following with every PPA name containing `gnuradio` | ||
<code>sudo add-apt-repository --remove <ppa name></code> | |||
== From PyBOMBS == | == From PyBOMBS == | ||
Line 16: | Line 17: | ||
If you used PyBOMBS to install GNU Radio in a custom prefix, you can uninstall with: | If you used PyBOMBS to install GNU Radio in a custom prefix, you can uninstall with: | ||
<code>sudo pip uninstall pybombs</code> | |||
Then move ~/{your-prefix} folder to Trash using Files | Then move ~/{your-prefix} folder to Trash using Files | ||
Line 26: | Line 27: | ||
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: | 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: | ||
<code>cd ~/gnuradio/build</code> | |||
<code>sudo make uninstall</code> | |||
=== Unknown / Not Sure / Cleanup === | === Unknown / Not Sure / Cleanup === | ||
Line 35: | Line 36: | ||
<code>find /usr -name gnuradio | grep "packages"</code> | <code>find /usr -name gnuradio | grep "packages"</code> | ||
* | * Remove all folders you find named "gnuradio". For example: | ||
<code>cd /usr/local/lib/python3.9/dist-packages</code> | |||
<code>sudo rm -rf gnuradio</code> | |||
* Remove the <code>~/.gnuradio</code> folder: | |||
<code>cd ~/</code> | |||
<code>rm -rf ~/.gnuradio</code> | |||
* Check each of the following files for <code>export PYTHONPATH=...</code> or <code>export LD_LIBRARY_PATH=...</code> statements: | |||
<code>~/.bash_aliases</code> | |||
<code>~/.profile</code> | |||
<code>~/.bashrc</code> | |||
If any are found, edit each of the file(s) and remove those statements. |
Latest revision as of 20:57, 19 April 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"
- Remove all folders you find named "gnuradio". For example:
cd /usr/local/lib/python3.9/dist-packages
sudo rm -rf gnuradio
- Remove the
~/.gnuradio
folder:
cd ~/
rm -rf ~/.gnuradio
- Check each of the following files for
export PYTHONPATH=...
orexport LD_LIBRARY_PATH=...
statements:
~/.bash_aliases
~/.profile
~/.bashrc
If any are found, edit each of the file(s) and remove those statements.