0

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.

Braiam
  • 67,791
  • 32
  • 179
  • 269
user2366975
  • 717
  • 1
  • 10
  • 19

1 Answers1

1

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:

Braiam
  • 67,791
  • 32
  • 179
  • 269
  • 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