Find the answer to your Linux question:
Results 1 to 5 of 5
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. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Nov 2009
    Posts
    104

    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:

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

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    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
    Linux Newbie
    Join Date
    Nov 2009
    Posts
    104
    Yes MikeTbob, I have already seen these files. In the INSTALL file, they say how to install, but not how to uninstall.

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    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.

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,406
    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
  •