r/raspberry_pi•
_rome

How do people get their programs onto apt-get?

I'm interested in someday publishing command-line games for the Raspberry Pi, and I wondered how people get their programs onto the apt-get command.

Anyone know?

Posted Apr 26, 2016, 10:30 PM UTC

235
sleepingsysadmin•

You need to find an established debian developer to sponser your package.

http://mentors.debian.net/sponsors

14
midforty5 Pi2, 1 Pi3•

It's easier to file an rfp bug, see https://wiki.debian.org/RFP , and hope that someone will package it for you. But if that doesn't happen you can go the sponsor route.

8
paradoxally•

apt-get is a dependency/package manager. When you update the package lists, it basically refreshes repositories and tells you which packages have updates (it does more, but I'm simplifying). A stock Raspbian install has the official Raspbian repos, Ubuntu has theirs, etc.

You can add your own repositories in /etc/apt/sources.list (or in another file in that folder). This file contains the official repositories.

Of course, not all distros use apt-get. Some, like Fedora and related distros, use rpm. I assume that repository-wise it is similar to set up, but I could be wrong.

9
stevethepirateuk•

Get added to the universe repo by submitting to Debian. I did this for EasyCrypt a long time ago. (Before Truecrypt had a Linux GUI)

5
martinohanlon•

What do you write your programs in? Is there a particular package manager for that, such as pip for python?

0