Find the answer to your Linux question:
Results 1 to 7 of 7
Hello, Someone was telling my about check install. I have never heard of that. Is this something that everybody uses or should I not bother with it? Any thoughts? Mike...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058

    check install


    Hello,
    Someone was telling my about check install. I have never heard of that. Is this something that everybody uses or should I not bother with it?

    Any thoughts?
    Mike

  2. #2
    Linux Newbie
    Join Date
    Jul 2004
    Location
    Scotland
    Posts
    144
    if by that you mean
    make check
    then it is a good idea to make sure that all of the files are working properly. it is especially important when compiling programs such as GLibC, GCC or make, coz if you screw these up you might not be able to recompile

  3. #3
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    I might not have been clear for that I am sorry I just heard of that the other day I hope this helps. Was told we can download a program called checkinstall then I use it like this

    ./configure
    make
    check install
    make clean

    Maybe I am wrong I was hoping someone could clear this up for me.
    Thanks

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Nov 2003
    Location
    UK - England
    Posts
    19
    You are correct,

    checkinstall is used in replacement of make install, however checkinstall performs make install for you.

    The cencepts of checkinstall to understand is that when you compile a program from source, checkinstall will compile the binary files into a package for your distrobution such as RPM or for your case TGZ (Slackware Package Management System).

    Why do this? Well when you install programs from source, developers often do not put a make uninstall into the compilation code, this means you cannot remove the program totally, unless tracking down every file created and deleting it, then you risk deleting a file that is needed by another program, and it can become extremly messy, if make uninstall exists, you still needs to keep the directory you compiled your program in, this can take up space - something you may or may not have, but if you compile 200 programs, imagine it being nearly double the space if you didn;t compile from source due to keeping the directory if you need to rmeove the program later. Checkinstall overcomes this by allowing you to compile your program into a package and then install (installpkg) your package using your package manager, which then results in you being able to remove (removepkg) the program.

    Hope this helps

    DislexiK

  6. #5
    Linux Newbie
    Join Date
    Mar 2003
    Location
    Istanbul/Türkiye
    Posts
    246
    I agree with DislexiK but its advantage is not just uninstalls the programs easily. You now when you compile prgrams it can be a little bit long. When you use checkinstall as DislexiK told you got your distro-special package. Then when you want to reinstall the same program it will be take a short time.

    I use checkinstall and i am very pleased. I must say that check install is the firts program that i install when i make a fresh Linux setup.
    Just a Newbie....Looking 4 Info....

  7. #6
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    Great advice, now can you advise me on the best place to get it?
    Thanks for your info,
    Mike

  8. #7
    Linux Newbie
    Join Date
    Mar 2003
    Location
    Istanbul/Türkiye
    Posts
    246
    Just a Newbie....Looking 4 Info....

Posting Permissions

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