Introduction
In this tutorial we learn how to install appstream-generator
on Kali Linux.
What is appstream-generator
appstream-generator is:
AppStream is a cross-distribution effort for creating and sharing
metadata of software components available in the package repositories
of a distribution.
It provides specifications for an unified software component metadata format
as well as tools to read, write and validate the metadata.
This package contains a tool to generate collection metadata from package
repositories.
It will extract icons, download screenshots, validate and transform the
metadata and return XML or YAML files that can be read by AppStream clients,
such as software centers.
The appstream-generator
tool will also generate issue reports as
JSON documents and HTML pages.
There are three methods to install appstream-generator
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install appstream-generator Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install appstream-generator
using apt-get
by running the following command:
sudo apt-get -y install appstream-generator
Install appstream-generator Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install appstream-generator
using apt
by running the following command:
sudo apt -y install appstream-generator
Install appstream-generator Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install appstream-generator
using aptitude
by running the following command:
sudo aptitude -y install appstream-generator
How To Uninstall appstream-generator on Kali Linux
To uninstall only the appstream-generator
package we can use the following command:
sudo apt-get remove appstream-generator
Uninstall appstream-generator And Its Dependencies
To uninstall appstream-generator
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove appstream-generator
Remove appstream-generator Configurations and Data
To remove appstream-generator
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge appstream-generator
Remove appstream-generator configuration, data, and all of its dependencies
We can use the following command to remove appstream-generator
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge appstream-generator
Dependencies
appstream-generator have the following dependencies:
- libjs-highlight.js
- libjs-jquery-flot
- libappstream-compose0
- libappstream4
- libarchive13
- libc6
- libgcc-s1
- libgdk-pixbuf-2.0-0
- libglib2.0-0
- libglibd-2.0-0
- liblmdb0
- libphobos2-ldc-shared94
References
Summary
In this tutorial we learn how to install appstream-generator
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.