Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    uninstall programs from source

    Hello friends!! I have installed a program from source code many times. When I wanted to uninstall, I type "make uninstall" on the directory source, and it uninstalled the program. But today, I have installed a program which i want uninstall. I type "make uninstall" and i get this:

    make: *** No rule to make target `uninstall '.
    How can I uninstall the program?? thanks!!

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Usually, not always but usually, the README and INSTALL files will tell you how to do this. Is there anything like that in your directory?
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Yes MikeTbob, I have already seen these files. In the INSTALL file, they say how to install, but not how to uninstall.

  4. $spacer_open
  5. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Boston, MA
    Lacking an uninstall script or other instructions, there is no easy way to uninstall something built from source. You pretty much just have to track down all the files and manual remove them. One of the reasons package managers came about.

  6. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    If there is no "remove" or "uninstall" target in the Makefile, or uninstall script, then you will need to find all the files that were copied to the system directories in the "install" target, and remove them. Usually, you can just leave them in-place and just remove the executables. That way, if anything else is dependent on the libraries that it installed you won't have a problem from them being missing.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts