Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

You can do this by uploading your program to launchpad and creating 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'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
@Symin How is Juju related to building apt packages for a Java app? On the Juju website I read: "Model, build and scale your environments on any cloud" — this seems more like something related to AWS or Google AppEngine – KajMagnus Oct 21 '15 at 6:24

Your Answer


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.