Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have develop java software which i have idea to create repository for it.So every user which want to install my application can install by typing "apt-get install myappname".

How i can build it ?

share|improve this question

1 Answer 1

You can do this by uploading your program to launchpad and creating PPA.

PPA:

A PPA is a Personal Package Archive, and is a method of distributing software to users, without requiring developers to undergo the full process of distribution in the main ubuntu repositories.

PPAs can be used to extend the available software in ubuntu to both programs that are not otherwise available in ubuntu, as well as to allow newer versions, such as beta programs, that have not yet undergone sufficient testing to be imported into the main archive.

Quoted from Ubuntu website

There is a Launchpad PPA help file

To install your program, users will need to add the ppa to their repositories like so:

sudo apt-add-repository ppa:yourppaname

and then after syncing the package index with apt-get update they will be able to install it with apt-get install

share|improve this answer
    
I developed application with java.it's running under apache tomcat.Should i upload my aplication source code or just apache-tomcat with .war (web archive) file of application ? –  Pirates Aug 29 '13 at 6:56
    
@Pirates you will need to build .deb file. Follow the Launchpad PPA help file link from my answer. If this is some kind of web-application you might want to check the juju charms as well –  Symin Aug 29 '13 at 7:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.