Announcement

Collapse
No announcement yet.

How To Uninstall A Program That I Compiled

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How To Uninstall A Program That I Compiled

    I have two programs, Java and jLog, (jLog requires Java) that I installed by doing
    ./configure
    make
    make install
    I want to remove them then do a clean reinstall of both programs. How do I remove these programs? I know "sudo apt-get uninstall" will not work since I did not use Adept to begin with.

    Thanks,

    Mike
    sudo make me rich<br /><br />Kubuntu Gutsy 7.10<br />KDE 3.5<br />Compaq Presario 5000<br />Intel Celeron 1.2 Ghz<br />512 Ram, Riva TNT2 Video Card<br />All the above hardware is 7 year old junk but<br />Linux runs great on it.&nbsp; :&gt<br />Ham Radio Rules

    #2
    Re: How To Uninstall A Program That I Compiled

    Mostly, if you cd to the same directory, you can do 'sudo make uninstall'.
    Greetings from Groningen Netherlands

    Comment


      #3
      Re: How To Uninstall A Program That I Compiled

      In the future you might consider "checkinstall" rather than "make install". This will generate a deb file. You will then be able to uninstall the program with dpkg -r foo.db

      Comment


        #4
        Re: How To Uninstall A Program That I Compiled

        Originally posted by Jean
        Mostly, if you cd to the same directory, you can do 'sudo make uninstall'.
        Do you mean to the directory that the program(s) are installed in? If so, where are programs usually installed in Linux? /usr/bin?
        sudo make me rich<br /><br />Kubuntu Gutsy 7.10<br />KDE 3.5<br />Compaq Presario 5000<br />Intel Celeron 1.2 Ghz<br />512 Ram, Riva TNT2 Video Card<br />All the above hardware is 7 year old junk but<br />Linux runs great on it.&nbsp; :&gt<br />Ham Radio Rules

        Comment


          #5
          Re: How To Uninstall A Program That I Compiled

          No, I believe you need to go to the same directory where you compiled the source code. Although, I tend to delete those directories. I'm not sure what you should do in that case.

          Comment


            #6
            Re: How To Uninstall A Program That I Compiled

            If you deleted the directory with the sources - you have nothing to loose with this:
            download the exact same sources file (same version, if you can find it, dl from the same site).
            do again the ./configure, make, sudo make install - it will just overwrite the files you allready installed with the same (newly compiled) files. Then try sudo make uninstall.

            Or, if there is no uninstall make target, you can try creating the deb package, installing it with dpkg, and if you're lucky the files from the package will land over the files that got installed by make install. Then when you apt-get remove or dpkg --purge that custom package, the files will be deleted.

            Comment

            Working...
            X