appstream-util command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
appstream-util: command not found
or when using sudo you get the following error message
sudo: appstream-util: command not found
Solutions to appstream-util: command not found
How To Fix appstream-util: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu appstream-util is provided by appstream-util package.
appstream-util is:
AppStream is a cross-distribution effort for creating and sharing metadata about software components available in the package repositories of a distribution.
This package provides an utility to work with AppStream metadata, which uses libappstream-glib.
It also contains Autotools macros to easily integrate AppStream metadata into an Autotools-based buildsystem, by running ‘appstream-util’ to validate the files before installing them.
To fix this problem, we can install more using the command below.
sudo apt-get -y install appstream-util
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install appstream-util.
sudo apt -y install appstream-util
Or if you have aptitude installed you can use the following command.
sudo aptitude install appstream-util
Summary
In this tutorial we learn how to fix appstream-util command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.