Package Creation tutorial out an application for Ubunt

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
DavidKlecker
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 232
Joined: Sun Nov 29, 2009 10:35 am

Package Creation tutorial out an application for Ubunt

Post by DavidKlecker »

Does anyone know of a good tutorial on how I go about taking a wxWidgets application and create a package in Ubuntu Linux for users to install? I'm not too familiar with Ubuntu but can get around alright.

Thanks!
bcteh
Experienced Solver
Experienced Solver
Posts: 72
Joined: Mon Nov 27, 2006 9:56 am

Re: Package Creation tutorial out an application for Ubunt

Post by bcteh »

I follow this http://tldp.org/HOWTO/html_single/Debia ... ing-HOWTO/
and
First, have a look at the contents of .deb packages similar to your software.
To get the .deb file, use apt-get install --reinstall ${PACKAGENAME}, abort the process once all files are downloaded, and fetch the file you are interested in from /var/cache/apt/sources.
Once you have the .deb file, extract it with dpkg-deb:
$ dpkg-deb -x .../${MYFILE}.deb /tmp/${MYFILE}
$ dpkg-deb -e .../${MYFILE}.deb /tmp/${MYFILE}/DEBIAN
Post Reply