Home | Fedora Core 4 Tutorial | Linux Tutorials | Linux Games | Linux Java | Linux Kernal | Linux Firewall | Linux Database | Linux Distributions | Linux Firewall GUI | Linux Distributions | Linux Firewall

 


 

Search Host

Monthly Fee($)
Disk Space (MB)
Register With us for Newsletter!
Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Have tutorials?
Add your tutorial to our Java Resource and get tons of hits.

We offer free hosting for your tutorials. and exposure for thousands of readers. drop a mail
roseindia_net@yahoo.com
 
   

Tutorials

Java Server Pages

JAXB

Java Beans

JDBC

MySQL

Java Servlets

Struts

Bioinformatics

Java Code Examples

Interview Questions

 
Join For Newsletter

Powered by groups.yahoo.com
Visit Group! Post Questions!

Web Promotion

Web Submission

Submit Sites

Manual Submission?

Web Promotion Guide

Hosting Companies

Web Hosting Guide

Web Hosting

Linux

Beginner Guide to Linux Server

Linux Distribution

Major Linux Distribution

Linux FTP Software

Frameworks

Persistence Framework

Web Frameworks

Free EAI Tools

Web Servers

Aspect Oriented Programming

Free Proxy Servers

Softwares

Adware & Spyware Remover

Open Source Softwares

6. Summary

Not to get confused, let us recapture all steps we have taken to build our binary Debian package.

Prerequisite files:

  1. one or more binary executable or shell script files

  2. a man page for each executable file

  3. a 'control' file

  4. a 'copyright' file

  5. a 'changelog' and 'changelog.Debian' file

Setup temporary 'debian' directories:

  1. create 'debian/usr/bin' directory (or wherever you plan to place your executable files)

  2. create 'debian/usr/share/man/man1' (or whatever section your man page belongs into)

  3. create 'debian/DEBIAN' directory

  4. create 'debian/usr/share/doc/<package_name>'

  5. make sure all sub directories of 'debian' have file permission 0755

Copy files into temporary 'debian' tree:

  1. copy executable file into 'debian/usr/bin' directory (or wherever you plan to place your executable files)

  2. copy man page file into 'debian/usr/share/man/man1' directory

  3. copy 'control' file into 'debian/DEBIAN' directory

  4. copy 'copyright', 'changelog', and 'changelog.Debian' files into 'debian/usr/share/doc/<package_name>'

  5. gzip man page, 'copyright', 'changelog', and 'changelog.Debian' files with option '--best' inside the temporary 'debian' tree

Build and check binary Debian package:

  1. invoke 'dpkg-deb --build' using 'fakeroot' on the 'debian' directory

  2. rename resulting 'debian.deb' file to its final package name including version and architecture information

  3. check resulting .deb package file for Debian policy compliance using 'lintian'

Search Tutorials

Linux Distributions

Fedora

Slackware
SuSe
Mandrake
Knoppix
Mepis
Debian
All Distors....
 

 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2004. All rights reserved.