How To Install sedsed on Debian 12
Introduction
In this tutorial we learn how to install sedsed
on Debian 12.
What is sedsed
sedsed is:
sedsed can debug, indent, tokenize and HTMLize sed scripts.
In debug mode, it reads the target script and adds extra commands to it. When executed it shows the data flow between the commands, revealing all the magic sed does on its internal buffers.
In indent mode, the script is reformatted with standard spacing.
In tokenize mode, it shows the elements of every command used.
In HTMLize mode, the script is converted to a beautiful colored HTML file, with all the commands and parameters identified for best viewing.
With sedsed, people can master ANY sed script. No more secrets, no more hidden buffers.
There are three methods to install sedsed
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install sedsed Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install sedsed
using apt-get
by running the following command:
sudo apt-get -y install sedsed
Install sedsed Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install sedsed
using apt
by running the following command:
sudo apt -y install sedsed
Install sedsed 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 sedsed
using aptitude
by running the following command:
sudo aptitude -y install sedsed
How To Uninstall sedsed on Debian 12
To uninstall only the sedsed
package we can use the following command:
sudo apt-get remove sedsed
Uninstall sedsed And Its Dependencies
To uninstall sedsed
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove sedsed
Remove sedsed Configurations and Data
To remove sedsed
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge sedsed
Remove sedsed configuration, data, and all of its dependencies
We can use the following command to remove sedsed
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sedsed
Dependencies
sedsed have the following dependencies:
References
Summary
In this tutorial we learn how to install sedsed
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.