Uninstalling script method

Discussion in 'Feeding' started by Richard Baguley, Apr 20, 2018.

  1. Richard Baguley

    Richard Baguley New Member

    Hello, I installed adsb-exchange and adsb-receiver using the script method on an Ubuntu 16.04 machine. I have since moved to a Pi and want to uninstall from the Ubuntu system. What's the preferred method apart from hitting the hard drive with a hammer?

    Thanks,

    Richard
     
  2. Jhonny Monclair

    Jhonny Monclair Active Member

    both the scripts by jprochazka don't offer (as for now) any option or routine for a fast and clean unistall.
    I'm afraid you should go "manually", uninstalling step by step all packages of your set.

    Code:
    sudo apt-get purge <package_name>
    if the package was installed by apt.

    Code:
    sudo dpkg -P <package_name>
    if the package was compiled from source code (dump1090-mutability and mlat-client).

    If adsb-exchange was the only site you was feeding:
    • remove dump1090-mutability
    • remove mlat-client
    • edit file /etc/rc.local and remove lines pointing to "mlat", "netcat", "socat" scripts under /home/pi/ subfolders.
    • reboot
     
  3. MDA

    MDA Administrator Staff Member

    Another way to uninstall mlat-client:
    Code:
    sudo service mlat-client stop
    sudo apt-get remove mlat-client
    sudo apt-get purge mlat-client
    cd adsb-receiver/build/
    sudo rm -rf adsbexchange
    For adsb-receiver install (other feeders and dump1090) you should modify paths.
     
    Last edited: Apr 21, 2018
  4. Richard Baguley

    Richard Baguley New Member

    Jimmy & MDA, thanks for the pointers! It's no big deal, but it would be useful to have an uninstall script as well.
     
  5. MDA

    MDA Administrator Staff Member

    Tell us more about your location.
    Thanks for feeding
    Marcin
     
  6. Richard Baguley

    Richard Baguley New Member

    MDA, I am feeding now using the flightaware tweaked Pi install from just outside Boston, MA. I haven't set up the custom feed stuff yet, but I think I am feeding data in to you.
     
  7. MDA

    MDA Administrator Staff Member

    richardtheb? If yes then you're feeding.
     
  8. Richard Baguley

    Richard Baguley New Member

    Yup, that's me. Good stuff.
     
  9. James

    James Guest

    There is nothing to uninstall other than mlat client, the script assumes dump1090 is installed already.