From Fedora Project Wiki
(→‎Installing the client: Noted that Bodhi 2 comes with Fedora >= 26.)
(Remove unnecessary cd statement, add links to docs, use sudo where necessary, and add $ for prompt on commands.)
Line 5: Line 5:
Bodhi 2 is distributed with Fedora >= 26. If you are on an older Fedora version, you can install bodhi 2 from Copr:
Bodhi 2 is distributed with Fedora >= 26. If you are on an older Fedora version, you can install bodhi 2 from Copr:


<pre>cd /etc/yum.repos.d</pre>
<pre>$ sudo dnf copr enable bowlofeggs/bodhi
$ sudo dnf update bodhi-client</pre>


Download the corresponding repository file of your Fedora release from https://copr.fedorainfracloud.org/coprs/bowlofeggs/bodhi/.
== Manual page ==


<pre>dnf copr enable bowlofeggs/bodhi
You can read Bodhi's man page [https://github.com/fedora-infra/bodhi/blob/develop/docs/man_bodhi.rst online], or you can read it on your system:
dnf update bodhi-client</pre>
 
== Manual page ==


<pre>man bodhi</pre>
<pre>$ man bodhi</pre>


== Querying updates ==
== Querying updates ==


<pre>bodhi updates query</pre>
<pre>$ bodhi updates query</pre>


View all updates for a given package
View all updates for a given package


<pre>bodhi updates query --packages=rakudo-star</pre>
<pre>$ bodhi updates query --packages=rakudo-star</pre>

Revision as of 14:32, 14 December 2016

Using the bodhi command-line interface

Installing the client

Bodhi 2 is distributed with Fedora >= 26. If you are on an older Fedora version, you can install bodhi 2 from Copr:

$ sudo dnf copr enable bowlofeggs/bodhi
$ sudo dnf update bodhi-client

Manual page

You can read Bodhi's man page online, or you can read it on your system:

$ man bodhi

Querying updates

$ bodhi updates query

View all updates for a given package

$ bodhi updates query --packages=rakudo-star