Jump to content

Checkinstall, Have you heard of it?


jlc
 Share

Recommended Posts

This is a very cool program.

 

Have you ever install something from src (.tar.gz) decided you wanted to remove it and couldn't?

 

Here comes checkinstall

 

http://asic-linux.com.mx/~izto/checkinstall/

 

This is great, you simply run

 

./configure

make

checkinstall

 

On my RH system I just did

 

# /usr/local/sbin/checkinstall ( I hadn't put it in my path statement)

 

 

It handles (make install) and the creates a .rpm (redhat) .tgz (slack) .deb (debian) so if you want to remove it later. all you have to do is

 

# rpm -e <filenmae

 

How cool is that? Here is the output of me running it on Sword. this is the end of it!!

 

 

 

 

sword is installed.



if this is your first time, you may need a basic

global

configuration file.  one can be generated to

/etc/sword.conf

by typing: "make install_config"



modules (Bibles, etc.), may then be unzipped to

/usr/local/share/sword/



type "make register" to help us keep track of how many

people are using sword.

(you may consider exiting from 'root', first, to make

this

a little more personal)





======================== 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.

>> Sword

>> Sword EOF

>>



This package will be built according to these values:



1 -  Summary: [ Sword ]

2 -  Name:    [ sword ]

3 -  Version: [ 1.5.5.99 ]

4 -  Release: [ 1 ]

5 -  License: [ GPL ]

6 -  Group:   [ Applications/System ]

7 -  Architecture: [ i386 ]

8 -  Source location: [ sword-1.5.5.99 ]

9 -  Alternate source location: [  ]

10 - Provides: [ sword ]



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



Deleting temp dir...OK





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



Done. The new package has been installed and saved to

/usr/src/redhat/RPMS/i386/sword-1.5.5.99-1.i386.rpm



You can remove it from your system anytime using:



     rpm -e sword-1.5.5.99-1



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

 

You can use it for basically anyone.

 

.rpm (RH, MDK, SuSE......)

.tgz (Slackware, I would imagine CL & Vector)

.deb (Debian, Libranet, Xandros.....)

 

Anyway, have fun just thought I would share the info..

Link to comment
Share on other sites

i use it when i cant find a package rpm or srpm, and also for my cvs snapshots. if ever you are going to use this for wine, make sure that your /var/tmp is around 800MB. that is why i have my /var/tmp symlinked to /tmp which is a 1GB partition. :)

 

ciao!

Link to comment
Share on other sites

Many posts in this thread have been deleted. Tips & Tricks is reserved for those two things. Debates belong in off-topic. PM me if you have any questions/complaints.

 

This is a "catch-all" message. PMs where sent to those affected, but I may have missed some

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...