[packagekit] One-click installation from XML file

郭云鹤 guoyunhebrave at gmail.com
Fri Oct 16 05:11:57 PDT 2015


Thanks a lot! It works.

2015-10-16 15:00 GMT+03:00 Dominique Leuenberger / DimStar <
dimstar at opensuse.org>:

> On Fri, 2015-10-16 at 14:54 +0300, 郭云鹤 wrote:
>
> I found ubuntu has use a special protocol to install package from web. The
> link URL is like "apt://libreoffice,libreoffice-base".
> https://wiki.debian.org/AptProtocol
>
> This protocol is more convenient than download a XML file. I think it is
> similar with the browser plugin you mentioned. It does not add
> repositories. And users will be informed what packages they are going to
> install. I think it is safer than let users copy and paste commands or
> download a script without checksum.
>
> I found in openSUSE and Fedora, PackageKit browser plugin was installed by
> default. But I don't know how to generate a url. Could you tell me? Thanks!
>
>
> Have a look at
> https://github.com/hughsie/PackageKit/blob/master/contrib/browser-plugin/README
>
> <https://github.com/hughsie/PackageKit/blob/master/contrib/browser-plugin/README>
> Using
> =====
>
> Add the following code to your web page:
>
>     <object type="application/x-packagekit-plugin" width="300"
> height="150">
>       <!-- Name that will be used in the user interface -->
>       <param name="displayname" value="GNU Backgammon"/>
>       <!-- Whitespace separated list of package names -->
>       <param name="packagenames" value="gnubg"/>
>     </object>
>
>
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>
>


-- 
郭云鹤(Guo Yunhe)
http://guoyunhe.me/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20151016/0078aba2/attachment.html>


More information about the PackageKit mailing list