LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Packaging (https://www.linuxquestions.org/questions/linux-software-2/packaging-234307/)

ArulPrabhuT 09-23-2004 10:27 AM

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

rjlee 09-24-2004 06:57 PM

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
Code:

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
Code:

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.


All times are GMT -5. The time now is 09:27 AM.