[Ilugc] Managing source packages

Chandrashekar Babu lug at chandrashekar.info
Wed Sep 12 11:04:53 IST 2007


Hi,

Karthikeyan M wrote:
> i m using fc7 and i know how to install source file
>
> it goes like this
>
> ./configure
> make
> make install
>
> then u can work with tha particular software,
>
> can you please tell me, how to unistall a software...!
> Is there any possiblity or not?

You can install a tool called 'checkinstall' for this
purpose. Download and install the checkinstall
package from the following URL:
 
    http://www.asic-linux.com.mx/~izto/checkinstall/

Once installed, you can build the source by issuing
the following sequence of commands:
    ./configure
    make
    checkinstall
Note the 'checkinstall' command instead of 'make install'.

This command does a 'make install' on its own and also
updates your RPM package database with the files being
copied onto your system directories, with a newly
generated package name corresponding to the sources.

At a later point of time, when you wish to uninstall
the built-from-source package, just run the
'rpm -e packagename' command as usual.

This tool should work on most Linux distributions
based on RPM, DEB or TGZ package management.

Cheers!

-- 
Chandrashekar Babu.,
FOSS Technologist,
http://www.chandrashekar.info/



More information about the ilugc mailing list