Creating .deb-Packages With Checkinstall
|
Creating
.deb-Packages With Checkinstall Version 1.0 Checkinstall is a nice tool to create simple .deb-packages that you can use in your local network (e.g. if you have to install the same piece of software on multiple computers running Debian). It lets you compile and install software from the sources like before, but with the difference that you end up with a simple Debian package which also means that you can easily uninstall the software you just compiled by running dpkg -r! I will demonstrate
the use of checkinstall
by compiling and installing the anti-virus software ClamAV
on a Debian system. This howto is meant as a practical guide; it does not cover the theoretical backgrounds. They are treated in a lot of other documents in the web. This document comes without warranty of any kind!
1 Install Checkinstall It is as easy as 1-2-3: apt-get install checkinstall If your system tells you that it does not know a package called checkinstall then add the following line to /etc/apt/sources.list: deb http://www.backports.org/debian/ woody checkinstall and run apt-get update Then try again to install checkinstall.
2 Install ClamAV We need the ClamAV sources . We will install the software from the /tmp directory. cd /tmp (Please note: ./configure --help gives a list of all configuration options available.) make Now comes the main difference: instead of make install we run checkinstall -D make install Answer the question
"The package documentation
directory ./doc-pak does not exist. Then enter a description for your package (e.g. ClamAV 0.81). A summary of the configuration options for your .deb-package will come up:
You can change them here or just hit enter to continue. Now ClamAV will be installed plus a Debian package will be created which you can find in the installation directory /tmp/clamav-0.81 as the final checkinstall summary states:
Now you can copy clamav-0.81_0.81-1_i386.deb to other Debian computers and run dpkg -i /path/to/clamav-0.81_0.81-1_i386.deb to install it. If you want to remove it, just run dpkg -r clamav-0.81 This even works on the computer you compiled ClamAV on! This is a nice way to install software from the sources and remove it if you are unsatisfied with the result.
Links Checkinstall: http://asic-linux.com.mx/~izto/checkinstall/ ClamAV: http://www.clamav.net/
Original location of this document: http://www.falkotimme.com/howtos/checkinstall/
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning









Recent comments
12 hours 25 min ago
14 hours 26 min ago
17 hours 38 min ago
19 hours 57 min ago
21 hours 7 min ago
22 hours 25 min ago
1 day 2 hours ago
1 day 6 hours ago
1 day 6 hours ago
1 day 21 hours ago