.. 303 documentation Focus is on how the service can interact with it's customers. .. _index: 303 === The **http://stappers.it/do303/** service is a *lookup table*. Give it a package name and it returns a download URL. With wget as *query tool* you have also have a *fetch tool*. It is like *apt-get download* without edits on */etc/apt/sources.list* And the *apt-get update* part is done at server side. Demo ==== See it in action to get the idea. Non-free firmware ~~~~~~~~~~~~~~~~~ You have a new computer. With all libre software. But some firmware is in non-free. .. literalinclude:: non-free_firmware.txt :language: none :emphasize-lines: 1,5,9,14,22,28 So no changes on /etc/apt/sources.list, no risc of more non-free packages slipping in. Newer in unstable ~~~~~~~~~~~~~~~~~ Example given with *ansible* .. literalinclude:: newer_in_unstable.txt :language: none :emphasize-lines: 1,5,14,19,27,34 More examples ============= By typing more, you get more. Previous examples were using *short* format, ``packagename.type``. *Long* format is ``distro/suite/component/architecture/packagename.type``. Backport ~~~~~~~~ *letsencrypt*:: wget http://stappers.it/do303/debian/jessie-backports/main/arm64/letsencrypt.deb Other Distros ~~~~~~~~~~~~~ Yes, see :ref:`Distro`. Example given:: wget http://stappers.it/do303/zorin-os/wily/main/amd64/base-files.deb Script what should be downloaded ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To see what will be downloaded, replace ``.deb`` with ``.scr``. As in:: wget http://stappers.it/do303/ansible.scr Now you have a script ``ansible.scr`` with *download URL* and content like .. literalinclude:: ansible.scr :language: none Next step could be ``bash ansible.scr``. Output to expect. .. literalinclude:: bash_ansible.scr.txt :language: none It is up to you to do ``sudo dpkg --install PACKAGE`` or not. See other ~~~~~~~~~ .. toctree:: :maxdepth: 1 reports rc miscellaneous