Click to See Complete Forum and Search --> : CheckInstall...thumbs up!


Nu-Bee
12-29-2002, 07:01 PM
You use this instead of using "make install". You will see what it does below:


[root@localhost unix]# checkinstall

checkinstall 1.5.3, Copyright 2001 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.


The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]:

Preparing package documentation...OK

Installing with "make install"...

========================= Installation results ===========================

Copying documentation directory...
Installing libtcl8.4.so to /usr/local/lib/
Installing tclsh as /usr/local/bin/tclsh8.4
Installing tclConfig.sh to /usr/local/lib/
Installing libtclstub8.4.a to /usr/local/lib/
Installing header files
Installing library files to /usr/local/lib/tcl8.4
Installing library http1.0 directory
Installing library http2.4 directory
Installing library opt0.4 directory
Installing library msgcat1.3 directory
Installing library tcltest2.2 directory
Installing library encoding directory
Installing top-level (.1) docs
Cross-linking top-level (.1) docs
Installing C API (.3) docs
Cross-linking C API (.3) docs
Installing command (.n) docs
Cross-linking command (.n) docs

======================== Installation succesful ==========================

Copying files to the temporary directory...OK

Striping ELF binaries and libraries...OK

Compressing man pages...OK

Building file list...OK

Please choose the packaging method you want to use.
Slackware [S], RPM [R] or Debian [D]? R


Please write a description for the package.
End your description with an empty line or EOF.
>> Tcl/Tk 8.4.1
>>

This package will be built according to these values:

1 - Summary: [ Tcl/Tk 8.4.1 ]
2 - Name: [ unix ]
3 - Version: [ unix ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ unix ]
9 - Alternate source location: [ ]
10 - Provides: [ unix ]

Enter a number to change any of them or press ENTER to continue: 2
Enter new name:
>> Tcl_Tk

This package will be built according to these values:

1 - Summary: [ Tcl/Tk 8.4.1 ]
2 - Name: [ Tcl_Tk ]
3 - Version: [ unix ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ unix ]
9 - Alternate source location: [ ]
10 - Provides: [ unix ]

Enter a number to change any of them or press ENTER to continue: 3
Enter new version:
>> 8.4.1

This package will be built according to these values:

1 - Summary: [ Tcl/Tk 8.4.1 ]
2 - Name: [ Tcl_Tk ]
3 - Version: [ 8.4.1 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ unix ]
9 - Alternate source location: [ ]
10 - Provides: [ unix ]

Enter a number to change any of them or press ENTER to continue: 10
Enter the provided features:
>> Tcl/Tk 8.4.1

This package will be built according to these values:

1 - Summary: [ Tcl/Tk 8.4.1 ]
2 - Name: [ Tcl_Tk ]
3 - Version: [ 8.4.1 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ unix ]
9 - Alternate source location: [ ]
10 - Provides: [ Tcl/Tk 8.4.1 ]

Enter a number to change any of them or press ENTER to continue:

**************************************
**** RPM package creation selected ***
**************************************

Building RPM package...OK

Installing RPM package...OK

Erasing temporary files...OK

Deleting doc-pak directory...OK

Writing backup package...OK

Deleting temp dir...OK


************************************************** ********************

Done. The new package has been installed and saved to
/usr/src/RPM/RPMS/i386/Tcl_Tk-8.4.1-1.i386.rpm

You can remove it from your system anytime using:

rpm -e Tcl_Tk-8.4.1-1

************************************************** ********************

[root@localhost unix]#


Here's where you get it:

CheckInstall Homepage (http://asic-linux.com.mx/~izto/checkinstall/)

Dun'kalis
12-29-2002, 07:13 PM
A component of CheckInstall, InstallWatch, is very useful seperate from CheckInstall.

It helps a lot for everything, not just installs. I can run a program through installwatch and watch all the file transactions. Very nice. And useful.

Nu-Bee
12-29-2002, 09:34 PM
Originally posted by Dun'kalis
A component of CheckInstall, InstallWatch, is very useful seperate from CheckInstall.

It helps a lot for everything, not just installs. I can run a program through installwatch and watch all the file transactions. Very nice. And useful.

Yes, I'll have to read the docs for that. So far I haven't a clue about it. :)

mdwatts
12-30-2002, 07:44 AM
Where did you hear/read about CheckInstall? :)

Nu-Bee
01-01-2003, 10:52 PM
Originally posted by mdwatts
Where did you hear/read about CheckInstall? :)

Some good hearted guy on one of the forums pointed it out to me. ;)

http://www.linuxnewbie.org/forum/showthread.php?s=&threadid=81083

Thanks... :)

mdwatts
01-02-2003, 11:54 AM
:D

One of the first utilities I install whenever I setup a new installation.

Nu-Bee
01-02-2003, 12:28 PM
Originally posted by mdwatts
:D

One of the first utilities I install whenever I setup a new installation.

I am glad that I found out about it before I had installed any serious non-RPM packages. It's definitely on my newbie need list. :)

Dun'kalis
01-02-2003, 12:58 PM
It...Does...Debian...Packages???

*head explodes*

mdwatts
01-02-2003, 04:35 PM
That is why I have freshmeat.net set as my homepage both at work and at home.

I've found quite a few helpful utilities over the past couple of years.

wapcaplet
02-08-2003, 04:18 PM
I used to spend hours trying to figure out the installation of software from source. What to do when there is no provided "make uninstall"? How do you know what to remove? RPM doesn't tell you about software that you installed from source.

Then I found checkinstall. All that time spent poking around on freshmeat.com was paying off... Could it really install my source tarballs as an RPM so that I could easily find them again later? Could it really create a simple package that I could backup if I ever needed to install it again without using the source? It sounded too good to be true!

But lo! It was true! And I shall never type "make install" again...

Checkinstall changed my life!