Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-23-2004, 11:27 AM   #1
LQ Newbie
Registered: Aug 2004
Posts: 16

Rep: Reputation: 0
Linux Application Packaging

Please help me in giving your ideas to package my c++ application inorder to distribute to others. Any Links ..

Thanks in advance

Last edited by ArulPrabhuT; 09-24-2004 at 12:49 AM.
Old 09-24-2004, 07:57 PM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
How to create a source tarball (short version):

Let's say your program is in a directory called myProg/.

In myProg/, create a README file saying what the project does.
In myProg/, create an INSTALL file saying what you need to have installed, and how to compile the program.
Remove any compiled or object files, or other files generated by the compile process.
In a terminal, navigate to myProg/.. (the parent directory) and run
tar -c myProg | bzip2 > myProg.tar.bz2

Once you've mastered that, you may want to create a .SPEC file and build a source RPM (.srpm). You can then use
rpm --rebuild myProg.srpm
to produce an RPM of the package.

I don't know how you make a .deb file. I think there's a package called alien that converts between RPMs and .debs.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware packaging wombat53 Slackware - Installation 16 07-08-2005 12:44 PM
packaging gnome acidjuice Slackware 12 05-06-2005 05:59 AM
New to Debian packaging ernesto_cgf Debian 3 04-25-2005 02:59 PM
Packaging and Deployment VB lramos85 Programming 1 03-28-2005 12:44 PM
Mandrake Packaging mrsolo Linux - Software 1 10-09-2002 01:18 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration