Results 1 to 2 of 2

Thread: Adding a program to apt?

  1. #1
    Join Date
    Dec 2009
    Beans
    34
    Distro
    Ubuntu UNR

    Adding a program to apt?

    Greetings! I have a program of mine that I was considering entering into the apt repository and I have a few questions.

    1. Do I require a free software license? Is my program required to be open source?
    2. The program itself is written in Java so it doesn't need any installing per se, but rather, does GNU/Linux come with Sun's JRE pre-installed or not? If not, is the command line needed to execute a class file the same as Sun's JRE? Or does everyone have to go out of their way to install the JRE from Sun to run anything Java at all? (I don't really know this since as a Java programmer, installing Java from Sun is almost the first thing I do on any system.)
    3. Does the apt require the program to be in a jar file or can it be run in its class files?
    4. How would I even go about creating the proper protocol to "install" the program when using apt-get?

    Any other information I might need to know but didn't think to ask would be appreciated as well.

  2. #2
    Join Date
    Dec 2009
    Location
    Australia
    Beans
    17
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Adding a program to apt?

    If your application is Free/open source software it means it can be placed in the universe repository if your application is not I believe you must either use a third party repository or you can use multiverse (in special cases). In terms of the dependencies apt resolves dependencies but in order to do so you have to package your program into a .deb file format. You can find more information about packaging at: https://wiki.ubuntu.com/PackagingGuide . Thanks.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •