Find the answer to your Linux question:
Results 1 to 5 of 5
Hi everyone, I am new to linux so what i am about to ask might sound a little stupid... I wanted to install some programs and libs (gnutls among them). ...
  1. #1
    Just Joined! maxpayne_gr's Avatar
    Join Date
    Nov 2006
    Posts
    33

    Question about installing-uninstalling programs.

    Hi everyone,
    I am new to linux so what i am about to ask might sound a little stupid...

    I wanted to install some programs and libs (gnutls among them). I used yast2 to find out that an old version of gnutls was installed on my system. I wanted a newer one. I used rpm -e gnutls -nodeps to unistall it. I downloaded the tar.gz2 file of the newer version because yast2 would only find the old one. Then after un-taring it I used ./configure, make, make install commands to install the newer version. And everything went ok!

    Now how the heck do i do things like, find out if gnutls (the new version) is installed on my system, remove it and generally everything i would do with yast???

    Thanx in advance guys.

  2. #2
    Just Joined!
    Join Date
    Nov 2006
    Location
    Stoney Stanton - England
    Posts
    78
    It is generally best to use rpm files to update things. You then have a record of the updates under yast.

    So for example I would add this site to yast:-

    ftp://mirrors.kernel.org/suse/update/10.1/rpm/i586/

    Then click on update software button, then select gnults and tick to update. The new version is then installed (plus any dep files as well).

  3. #3
    Just Joined! maxpayne_gr's Avatar
    Join Date
    Nov 2006
    Posts
    33
    so....how do unistall any programs i compiled and installed manually?
    is there an easy way?

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Uninstalling the programs you've compiled yourself isn't as easy as uninstalling programs you've installed with a package manager, like rpm, dpkg or apt.

    If you want to uninstall the software you've compiled yourself, Read the documentation that came with your software package and see if it says anything about uninstalling. If it doesn't, you can start pulling your hair out.

    If you didn't delete your Makefile, you may be able to remove the program by doing a make uninstall:
    Code:
    make uninstall
    If you see weird text scrolling on your screen (but at this point you've probably got used to weird text filling the screen? that's a good sign. If make starts complaining at you, that's a bad sign. Then you'll have to remove the program files manually.

    If you know where the program was installed, you'll have to manually delete the installed files or the directory where your program is. If you have no idea where all the files are, you'll have to read the Makefile and see where all the files got installed, and then delete them.






    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined! maxpayne_gr's Avatar
    Join Date
    Nov 2006
    Posts
    33
    thanx casper, once again you ve been very helpfull : )

    now i believe i have a lot of job to do removing all those files....grrrrrrrrrrrrrrr

Posting Permissions

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