The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    checkinstall: building your own package for your distro

    Discussion in 'Linux Compatibility and Software' started by helikaon, Dec 15, 2009.

  1. helikaon

    helikaon Notebook Consultant

    Reputations:
    269
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
    http://www.asic-linux.com.mx/~izto/checkinstall/index.php

    I don't know if you know it, but I found this utility very helpful.
    Basically, from time to time you need to install some SW from source, if you can't find desired package with your favorite distro - problem is, how to uninstall or upgrade such SW...
    Checkinstall can help you here.
    Basically you do:
    ./configure
    make
    checkinstall (instead of make install)

    and check install will create Slackware, RPM or Debian compatible package, which you can afterwards install with your installation manager (rpm, dpkg ...)

    This is of course much better, because your distro 'knows' whats installed on your machine ...

    Try it out, i use it a lot on my CentOS machines :)
     
  2. 1ceBlu3

    1ceBlu3 Notebook Deity

    Reputations:
    1,050
    Messages:
    829
    Likes Received:
    17
    Trophy Points:
    31
    huh..might have to give this a try.
    i'm using ubuntu so deb packages are easiest for me to use..
    this will be helpful for when i can't find software using deb.
    thanks
     
  3. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    You can also use the package 'alien' to convert between DEB and RPM packages. Nice find, though.
     
  4. pixelot

    pixelot Notebook Acolyte

    Reputations:
    3,732
    Messages:
    6,833
    Likes Received:
    0
    Trophy Points:
    205
    I used it recently to install ffmpeg and codecs. :cool:
     
  5. Pitabred

    Pitabred Linux geek con rat flail!

    Reputations:
    3,300
    Messages:
    7,115
    Likes Received:
    3
    Trophy Points:
    206
    I use checkinstall to make mplayer, ffmpeg-mt and x264 builds from the current trees so that I can get multi-threaded x264 decoding going on my media center.
     
  6. PatrickVogeli

    PatrickVogeli Notebook Consultant

    Reputations:
    105
    Messages:
    212
    Likes Received:
    3
    Trophy Points:
    31
    hi there,

    just be carefull about what for and when you use checkinstall.

    I once did a package of the compat wireless intel wifi drivers and, for me, it worked wonders. Since my girlfriend had the same laptop, I installed the package in her laptop, and there I had a problem: it installed MY grub.cfg file into hers, so the lappy didn't boot anymore... Don't know why the compat wireless should care about anyting grub related, but with grub2 it wasn't as easy to fix grub as it always had been with the standard grub..

    Also, I've had times where checkinstall would had conflicting files and you had to force install the package.
     
  7. helikaon

    helikaon Notebook Consultant

    Reputations:
    269
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
    This is a bit strange, i'd say :). Are you sure, that it didn't ask you to install grub in some form of dependency? That could be the trouble....
     
  8. Pitabred

    Pitabred Linux geek con rat flail!

    Reputations:
    3,300
    Messages:
    7,115
    Likes Received:
    3
    Trophy Points:
    206
    Checkinstall basically wraps the "make install" process. If make install would have copied or edited the grub.conf file, then it would add that to the package.
     
  9. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    I've used Alien to go from RPM to DEB, does it do the reverse? I've got my 64 bit scanner drivers in Deb files I need converted to RPM for my Fedora 12.....
     
  10. Pitabred

    Pitabred Linux geek con rat flail!

    Reputations:
    3,300
    Messages:
    7,115
    Likes Received:
    3
    Trophy Points:
    206
    http://linux.die.net/man/1/alien

    Man pages are fun, kids ;)
     
  11. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    Heh, RTFM.
     
  12. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    RTFM is last resort.... :D :D Now all I have to do is find Alien...not in current configured Fedora repos....looking........thanks Pita btw.
     
  13. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206

    I like that CentOS, a lot.....feels so stable, and has a certain 'old school linux' aura about it :D I just couldn't make it work for me for my desktop use, so went with Fedora 12, but seems very stable so far...