removing programs in *nix

Discussion in 'OT Technology' started by k2737, Mar 30, 2006.

  1. k2737

    k2737 Active Member

    Joined:
    Nov 29, 2004
    Messages:
    3,324
    Likes Received:
    0
    Location:
    Ft Lauderdale
    If you installed an application by compiling binaries...is there an easier way to remove them other then just searching for every instance of it and deleting them?
     
  2. samm

    samm Next in Line

    Joined:
    Dec 22, 2000
    Messages:
    2,630
    Likes Received:
    0
    Location:
    San Jose, CA
    "compiling binaries" is somewhat of a juxtaposition, so I'll assume you mean compiling from source. That said, there is no easy way to remove whatever you installed from source, finding and deleting by hand is a perfectly fine method.

    This is why people like to use package managers for this type of stuff :)
     
  3. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    You can look at the makefile and see where it puts things when you do 'make install.'
     
  4. k2737

    k2737 Active Member

    Joined:
    Nov 29, 2004
    Messages:
    3,324
    Likes Received:
    0
    Location:
    Ft Lauderdale
    Yeah I meant from source. Alright I guess I have some work ahead of me haha. I would just reformat but there is some stuff running that can't be shutdown. Oh well thanks!
     
  5. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    You'll want to be researching the initialization process for your operating system, and then removing the programs and services from there.
     
  6. Joe_Cool

    Joe_Cool Never trust a woman or a government. Moderator

    Joined:
    Jun 30, 2003
    Messages:
    299,278
    Likes Received:
    555
    Often there's a rule in the Makefile for uninstall or remove.

    so just like you did 'make install' you might try 'make uninstall' or something similar.

    Read the documentation, particularly the INSTALL file, and the Makefile if necessary.
     
  7. k2737

    k2737 Active Member

    Joined:
    Nov 29, 2004
    Messages:
    3,324
    Likes Received:
    0
    Location:
    Ft Lauderdale
    Ahh cool didn't know that...I will have to check that out.
     
  8. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    For future reference, it's a lot easier to keep track of things you compile if you use stow or a similar tool. Stow makes symbolic links to the stuff you compile instead of copying it (like make install usually does), and keeps track of what files belong to what package.
     

Share This Page