How To Install srecord on Debian 9
Introduction
In this tutorial we learn how to install srecord
on Debian 9.
What is srecord
srecord is:
The srecord package is a collection of powerful tools for manipulating EPROM load files. It reads and writes numerous EPROM file formats, and can perform many different manipulations.
The tools include:
- The srec_cat program may be used to catenate (join) EPROM load files, or portions of EPROM load files, together. Because it understands all of the input and output formats, it can also be used to convert files from one format to another. It also understands filters.
- The srec_cmp program may be used to compare EPROM load files, or portions of EPROM load files, for equality.
- The srec_info program may be used to print summary information about EPROM load files.
There are three methods to install srecord
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 srecord Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install srecord
using apt-get
by running the following command:
sudo apt-get -y install srecord
Install srecord Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install srecord
using apt
by running the following command:
sudo apt -y install srecord
Install srecord 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 srecord
using aptitude
by running the following command:
sudo aptitude -y install srecord
How To Uninstall srecord on Debian 9
To uninstall only the srecord
package we can use the following command:
sudo apt-get remove srecord
Uninstall srecord And Its Dependencies
To uninstall srecord
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove srecord
Remove srecord Configurations and Data
To remove srecord
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge srecord
Remove srecord configuration, data, and all of its dependencies
We can use the following command to remove srecord
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge srecord
Dependencies
srecord have the following dependencies:
References
Summary
In this tutorial we learn how to install srecord
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.