How to uninstall lynx?

Discussion in 'Mac Apps and Mac App Store' started by TaylorJ, Jul 26, 2010.

  1. TaylorJ macrumors regular

    Joined:
    Jan 25, 2010
    #1
    I've been posting alot of threads lately but this one is a last resort. I've googled maybe 10 times, read numerous forums, checked help guides and I still cant figure out how to uninstall the text based browser. I just want it off my computer, can anyone explain how?

    Please and thank you!
     
  2. TaylorJ thread starter macrumors regular

    Joined:
    Jan 25, 2010
  3. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
  4. Ganesha macrumors regular

    Joined:
    Aug 4, 2009
    #4
    Note: You should really use the package manager you used to install lynx to remove it. But in case you deleted the package manger here is how to delete the binary.

    $ which lynx
    /some/path/to/lynx
    $ rm /some/path/to/lynx

    This may be useful in finding stuff associated with lynx.

    $ locate lynx

    Note: There will be things that match *lynx* that have nothing to do with the browser. Be careful of what you decide to delete.
     
  5. TaylorJ thread starter macrumors regular

    Joined:
    Jan 25, 2010
    #5
    I just dont want it on my computer anymore. I downloaded it, like an idiot, without thinking first. Also I still have the package, but it didnt come with an uninstaller. I will try that today, thanks!
     
  6. TaylorJ thread starter macrumors regular

    Joined:
    Jan 25, 2010
    #6
    I tried this and it says permission denied. I am the the only user of this computer.
     
  7. stuarthatto macrumors regular

    Joined:
    Nov 5, 2008
    #7
    Try:

    $ sudo rm /some/path/to/lynx

    instead.

    You will need a privileged level account password.
     
  8. TaylorJ thread starter macrumors regular

    Joined:
    Jan 25, 2010
    #8
    That worked, but I'm still able to open and run lynx. After I enter that command it asks for a password then thats it, assuming its done its work. I'm still able to use lynx.
     
  9. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
    #9
    I'd suggest just leave it. It's only 3 MB big and it's not hurting anything or preventing you from using anything.
     
  10. TaylorJ thread starter macrumors regular

    Joined:
    Jan 25, 2010
    #10
    True, but surely there has to be a way to remove it, this doesnt seem normal that I cant get rid of something, and finding a solution to do so isnt so easy either.
     
  11. macsmurf macrumors 65816

    macsmurf

    Joined:
    Aug 3, 2007
    #11
    It isn't normal but that is because thing have changed over the decades. If you used make to install, the only way I know of is to look at the script and see where the files went.

    Since this obviously is annoying and time consuming, people use a package manager such as MacPorts to manage (install, delete, update, search etc.) the different programs.
     
  12. ytk macrumors regular

    Joined:
    Jul 8, 2010
    #12
    sudo rm `which -a lynx`

    Those are backticks, not quotes. Just copy and paste that into the Terminal. If that doesn't work, try this:

    echo alias lynx=true >> ~/.bash_profile ; source ~/.bash_profile

    It won't remove lynx, but at least it will prevent you from running it by just typing lynx. :p
     
  13. TaylorJ thread starter macrumors regular

    Joined:
    Jan 25, 2010
    #13
    Okay, I THINK its all gone. Is there any way to see if it left behind some hidden files. I deleted the exec. file I had in my apps folder for lynx by simply trashing it, and did the sudo rm path to lynx, and it apparently worked.

    When I try 'which lynx' now it cant find it, assuming its all gone. Wondering if I can see if it left some files behind.


    Thank you all for your help!
     
  14. psxguru macrumors 6502a

    Joined:
    May 19, 2006
    #14
    If you wanted to remove it cleanly (and it was installed via a package) you should have used pkgutil

    type pkgutil on it's own for the options or man pkgutil
     

Share This Page