How To Install appstream on Fedora 34

appstream is Utilities to generate, maintain and access the AppStream database Utilities to generate, maintain and access the AppStream database

Introduction

In this tutorial we learn how to install appstream on Fedora 34.

What is appstream

AppStream makes it easy to access application information from the AppStream database over a nice GObject-based interface. appstream 0.14.3 2.fc34 x86_64 572 k appstream-0.14.3-2.fc34.src.rpm fedora Utilities to generate, maintain and access the AppStream database https GPLv2+ and LGPLv2+ AppStream makes it easy to access application information from the AppStream database over a nice GObject-based interface.

We can use yum or dnf to install appstream on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install appstream.

Install appstream on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install appstream using dnf by running the following command:

sudo dnf -y install appstream

Install appstream on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install appstream using yum by running the following command:

sudo yum -y install appstream

How To Uninstall appstream on Fedora 34

To uninstall only the appstream package we can use the following command:

sudo dnf remove appstream

appstream Package Contents on Fedora 34

/etc/appstream.conf
/usr/bin/appstreamcli
/usr/lib/.build-id
/usr/lib/.build-id/63
/usr/lib/.build-id/63/8206796b9fa8daf73747118884a604a6d01991
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/002c165d08914c74f6a798fde04e8bc621ab98
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/AppStream-1.0.typelib
/usr/lib/libappstream.so.0.14.3
/usr/lib/libappstream.so.4
/usr/share/doc/appstream
/usr/share/doc/appstream/AUTHORS
/usr/share/gettext/its/metainfo.its
/usr/share/gettext/its/metainfo.loc
/usr/share/licenses/appstream
/usr/share/licenses/appstream/LICENSE.GPLv2
/usr/share/licenses/appstream/LICENSE.LGPLv2.1
/usr/share/locale/ain/LC_MESSAGES/appstream.mo
/usr/share/locale/ar/LC_MESSAGES/appstream.mo
/usr/share/locale/bn_BD/LC_MESSAGES/appstream.mo
/usr/share/locale/ca/LC_MESSAGES/appstream.mo
/usr/share/locale/ckb/LC_MESSAGES/appstream.mo
/usr/share/locale/cs/LC_MESSAGES/appstream.mo
/usr/share/locale/da/LC_MESSAGES/appstream.mo
/usr/share/locale/de/LC_MESSAGES/appstream.mo
/usr/share/locale/en_GB/LC_MESSAGES/appstream.mo
/usr/share/locale/es/LC_MESSAGES/appstream.mo
/usr/share/locale/eu/LC_MESSAGES/appstream.mo
/usr/share/locale/fi/LC_MESSAGES/appstream.mo
/usr/share/locale/fr/LC_MESSAGES/appstream.mo
/usr/share/locale/gd/LC_MESSAGES/appstream.mo
/usr/share/locale/gl/LC_MESSAGES/appstream.mo
/usr/share/locale/he/LC_MESSAGES/appstream.mo
/usr/share/locale/hr/LC_MESSAGES/appstream.mo
/usr/share/locale/hu/LC_MESSAGES/appstream.mo
/usr/share/locale/id/LC_MESSAGES/appstream.mo
/usr/share/locale/it/LC_MESSAGES/appstream.mo
/usr/share/locale/ja/LC_MESSAGES/appstream.mo
/usr/share/locale/ko/LC_MESSAGES/appstream.mo
/usr/share/locale/lt/LC_MESSAGES/appstream.mo
/usr/share/locale/nb/LC_MESSAGES/appstream.mo
/usr/share/locale/nl/LC_MESSAGES/appstream.mo
/usr/share/locale/oc/LC_MESSAGES/appstream.mo
/usr/share/locale/pl/LC_MESSAGES/appstream.mo
/usr/share/locale/pt/LC_MESSAGES/appstream.mo
/usr/share/locale/pt_BR/LC_MESSAGES/appstream.mo
/usr/share/locale/ro/LC_MESSAGES/appstream.mo
/usr/share/locale/rom/LC_MESSAGES/appstream.mo
/usr/share/locale/ru/LC_MESSAGES/appstream.mo
/usr/share/locale/sk/LC_MESSAGES/appstream.mo
/usr/share/locale/sl/LC_MESSAGES/appstream.mo
/usr/share/locale/sr/LC_MESSAGES/appstream.mo
/usr/share/locale/sr@latin/LC_MESSAGES/appstream.mo
/usr/share/locale/sv/LC_MESSAGES/appstream.mo
/usr/share/locale/tr/LC_MESSAGES/appstream.mo
/usr/share/locale/uk/LC_MESSAGES/appstream.mo
/usr/share/locale/zh_CN/LC_MESSAGES/appstream.mo
/usr/share/locale/zh_TW/LC_MESSAGES/appstream.mo
/usr/share/man/man1/appstreamcli.1.gz
/usr/share/metainfo/org.freedesktop.appstream.cli.metainfo.xml
/var/cache/app-info
/var/cache/app-info/cache.watch
/var/cache/app-info/gv
/var/cache/app-info/icons
/var/cache/app-info/xmls
/etc/appstream.conf
/usr/bin/appstreamcli
/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/1cce0cf7eb5e1bd33e6c856d21faee168a9c09
/usr/lib/.build-id/76
/usr/lib/.build-id/76/d926149b78bcbb74cce56734d34ba207511e76
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/AppStream-1.0.typelib
/usr/lib64/libappstream.so.0.14.3
/usr/lib64/libappstream.so.4
/usr/share/doc/appstream
/usr/share/doc/appstream/AUTHORS
/usr/share/gettext/its/metainfo.its
/usr/share/gettext/its/metainfo.loc
/usr/share/licenses/appstream
/usr/share/licenses/appstream/LICENSE.GPLv2
/usr/share/licenses/appstream/LICENSE.LGPLv2.1
/usr/share/locale/ain/LC_MESSAGES/appstream.mo
/usr/share/locale/ar/LC_MESSAGES/appstream.mo
/usr/share/locale/bn_BD/LC_MESSAGES/appstream.mo
/usr/share/locale/ca/LC_MESSAGES/appstream.mo
/usr/share/locale/ckb/LC_MESSAGES/appstream.mo
/usr/share/locale/cs/LC_MESSAGES/appstream.mo
/usr/share/locale/da/LC_MESSAGES/appstream.mo
/usr/share/locale/de/LC_MESSAGES/appstream.mo
/usr/share/locale/en_GB/LC_MESSAGES/appstream.mo
/usr/share/locale/es/LC_MESSAGES/appstream.mo
/usr/share/locale/eu/LC_MESSAGES/appstream.mo
/usr/share/locale/fi/LC_MESSAGES/appstream.mo
/usr/share/locale/fr/LC_MESSAGES/appstream.mo
/usr/share/locale/gd/LC_MESSAGES/appstream.mo
/usr/share/locale/gl/LC_MESSAGES/appstream.mo
/usr/share/locale/he/LC_MESSAGES/appstream.mo
/usr/share/locale/hr/LC_MESSAGES/appstream.mo
/usr/share/locale/hu/LC_MESSAGES/appstream.mo
/usr/share/locale/id/LC_MESSAGES/appstream.mo
/usr/share/locale/it/LC_MESSAGES/appstream.mo
/usr/share/locale/ja/LC_MESSAGES/appstream.mo
/usr/share/locale/ko/LC_MESSAGES/appstream.mo
/usr/share/locale/lt/LC_MESSAGES/appstream.mo
/usr/share/locale/nb/LC_MESSAGES/appstream.mo
/usr/share/locale/nl/LC_MESSAGES/appstream.mo
/usr/share/locale/oc/LC_MESSAGES/appstream.mo
/usr/share/locale/pl/LC_MESSAGES/appstream.mo
/usr/share/locale/pt/LC_MESSAGES/appstream.mo
/usr/share/locale/pt_BR/LC_MESSAGES/appstream.mo
/usr/share/locale/ro/LC_MESSAGES/appstream.mo
/usr/share/locale/rom/LC_MESSAGES/appstream.mo
/usr/share/locale/ru/LC_MESSAGES/appstream.mo
/usr/share/locale/sk/LC_MESSAGES/appstream.mo
/usr/share/locale/sl/LC_MESSAGES/appstream.mo
/usr/share/locale/sr/LC_MESSAGES/appstream.mo
/usr/share/locale/sr@latin/LC_MESSAGES/appstream.mo
/usr/share/locale/sv/LC_MESSAGES/appstream.mo
/usr/share/locale/tr/LC_MESSAGES/appstream.mo
/usr/share/locale/uk/LC_MESSAGES/appstream.mo
/usr/share/locale/zh_CN/LC_MESSAGES/appstream.mo
/usr/share/locale/zh_TW/LC_MESSAGES/appstream.mo
/usr/share/man/man1/appstreamcli.1.gz
/usr/share/metainfo/org.freedesktop.appstream.cli.metainfo.xml
/var/cache/app-info
/var/cache/app-info/cache.watch
/var/cache/app-info/gv
/var/cache/app-info/icons
/var/cache/app-info/xmls

References

Summary

In this tutorial we learn how to install appstream on Fedora 34 using yum and dnf.