How To Install linaro-image-tools on Debian 9
Introduction
In this tutorial we learn how to install linaro-image-tools
on Debian 9.
What is linaro-image-tools
linaro-image-tools is:
This package offers a set of tools for use with Linaro images.
The provided linaro-media-create command allows writing Linaro images to a SD card, or generating an image file which you can boot in QEMU.
There are three methods to install linaro-image-tools
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install linaro-image-tools Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install linaro-image-tools
using apt-get
by running the following command:
sudo apt-get -y install linaro-image-tools
Install linaro-image-tools Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install linaro-image-tools
using apt
by running the following command:
sudo apt -y install linaro-image-tools
Install linaro-image-tools Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install linaro-image-tools
using aptitude
by running the following command:
sudo aptitude -y install linaro-image-tools
How To Uninstall linaro-image-tools on Debian 9
To uninstall only the linaro-image-tools
package we can use the following command:
sudo apt-get remove linaro-image-tools
Uninstall linaro-image-tools And Its Dependencies
To uninstall linaro-image-tools
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove linaro-image-tools
Remove linaro-image-tools Configurations and Data
To remove linaro-image-tools
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge linaro-image-tools
Remove linaro-image-tools configuration, data, and all of its dependencies
We can use the following command to remove linaro-image-tools
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge linaro-image-tools
Dependencies
linaro-image-tools have the following dependencies:
- apt-utils
- dosfstools
- gdisk
- parted
- python
- python-argparse
- python-dbus
- python-debian
- python-linaro-image-tools
- python-parted
- python-yaml
- sudo
- u-boot-tools
- python
References
Summary
In this tutorial we learn how to install linaro-image-tools
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.