Create debian package checkinstall


















See the Debian Policy Manual for more on this file. You may need to edit the rules file. If it is, be sure to read the Debian manual for more information. If you have a manpage written already, you can safely remove manpage. For instance, if you have two man pages for rabidbunny, like rabidbunny. To build the package, run the debuild utility:. This will compile the source and then create a Debian package.

The --linda option tells debuild to use Linda to check the package rather than Lintian. After compiling the package, you may see a number of warnings or errors from Linda or Lintian. Depending on the severity of the errors, you may have to make some changes and then re-run debuild.

Install it using dpkg for a final test:. Happy packaging. About Us. Sign in. Forgot your password? Get help. Password recovery. Home News Make your own packages for Debian-based systems. Author: Joe 'Zonker' Brockmeier For the uninitiated, creating Debian packages is a mysterious process that looks much harder than it really is.

The other reason? Want to compile and install that software on 50 servers, or would you rather just install from a package? Do not use CheckInstall to create packages for widespread distribution. Work with the distributions to get your package into the repos. You still need to understand packaging, but you can build for most major distributions from there. CheckInstall is packaged for several major distributions. The project seemed defunct for a while, but the most recent release came out in December of last year.

To install CheckInstall, just look for the checkinstall package in your distribution. Note that you might need other libraries or packages to compile software as well. Most software is compiled using. After that, run sudo checkinstall instead. CheckInstall will go through the make install steps and then give you a few questions. If you want to change any of those settings, just enter the number for the value you wish to change. A summary of the configuration options for your.

You can change them here or just hit enter to continue. Now you can copy clamav If you want to remove it, just run. 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.

If you find this page useful you can acknowledge your gratitude by making a donation through PayPal :. Visit my Linux forums! This Howto is also available on HowtoForge! If you have also written tutorials, you can publish them there.



0コメント

  • 1000 / 1000