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.

Because I can't figure out how to publish my program because I do not understand the packaging, I have some questions:

Why can't I just upload a directory of files* to the ppa, and a setup file that is executed if I type "sudo apt-get install package-name" and the setup-file only does these things:

  1. Copy the files of the directory in the ppa to their location on the users's system
  2. Install dependencies (pyhton3, python3-pyqt, and such)

Is this possible?

*The copied files include the main python script, data files and icons.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Ok, you really have some misconceptions about how packages are done in Debian/Ubuntu:

Why can't I just upload a directory of files* to the ppa

Because that's dirty and the system shouldn't try to figure out what are you trying to do. Whenever you upload to a PPA you should upload the sources code in a tarball, that includes the debian/ directory, and a signed .dsc file, and maybe a .changes file if you are not the original maintainer of the program.

I recommend you to read and reread the fine Debian Packaging Guide, and other resources online:

share|improve this answer
    
hm yes I know this and have already read some of this, but I hoped for a simple, not complex program it would be easier to upload –  user2366975 Sep 19 '13 at 15:24
    
Welcome to Debian :D. No actually, once you have done it first time, whenever you do it again is more easier, is like mount a bike. –  Braiam Sep 19 '13 at 15:47
    
Thanks^^ I am already some steps further right now but still figuring something out. Perhaps you could take a look at this post right here? –  user2366975 Sep 19 '13 at 15:57

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.