How to Install and Uninstall sed.x86_64 Package on Amazon Linux 2

Last updated: February 28,2025

1. Install "sed.x86_64" package

Please follow the guidance below to install sed.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install sed.x86_64

2. Uninstall "sed.x86_64" package

Please follow the guidelines below to uninstall sed.x86_64 on Amazon Linux 2:

$ sudo yum remove sed.x86_64 $ sudo yum autoremove

3. Information about the sed.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Installed Packages
Name : sed
Arch : x86_64
Version : 4.2.2
Release : 5.amzn2.0.2
Size : 587 k
Repo : installed
Summary : A GNU stream text editor
URL : http://sed.sourceforge.net/
License : GPLv3+
Description : The sed (Stream EDitor) editor is a stream or batch
: (non-interactive) editor. Sed takes text as input, performs an
: operation or set of operations on the text and outputs the
: modified text. The operations that sed performs (substitutions,
: deletions, insertions, etc.) can be specified in a script file or
: from the command line.