How can I download deb from a PPA?

How can I download deb package from a PPA?


This is an example to download a deb file.

This can be done. But it need not be, if you add a PPA to the system.

e.g.:

sudo apt-add-repository ppa:inkscape.dev/stable

But let's go on with the example of downloading.

Go to the PPA page, e.g. “Inkscape Developers” team

  • Use the link eg. Inkscape Stable

    enter image description here

  • Use the link View package details

    enter image description here

  • Use the link eg. inkscape - 0.91.0+47~ubuntu15.04.1

    enter image description here

  • Use the link eg. inkscape_0.91.0+47~ubuntu15.04.1_amd64.deb

    enter image description here


Thanks to "A.B." - this is useful - an easier way is to just construct the URL from the PPA, so for ppa:inkscape.dev/stable
the URL is:
https://launchpad.net/~inkscape.dev/+archive/ubuntu/stable/+packages

This gives the list of packages where you can choose the package for your distribution.
You can do this with a script - example: create script ppa.sh containing:

echo $* | awk -F/ '{
    sub(".*ppa:","",$0)
    print "https://launchpad.net/~"$1"/+archive/ubuntu/"$2"/+packages"
    }'

Any of the following will then work:

./ppa.sh inkscape.dev/stable
./ppa.sh ppa:inkscape.dev/stable
./ppa.sh apt-add-repository ppa:inkscape.dev/stable
./ppa.sh sudo apt-add-repository ppa:inkscape.dev/stable

to give:
https://launchpad.net/~inkscape.dev/+archive/ubuntu/stable/+packages