How to Install and Uninstall byteman.noarch Package on Amazon Linux 2

Last updated: May 18,2024

1. Install "byteman.noarch" package

This is a short guide on how to install byteman.noarch on Amazon Linux 2

$ sudo yum makecache $ sudo yum install byteman.noarch

2. Uninstall "byteman.noarch" package

In this section, we are going to explain the necessary steps to uninstall byteman.noarch on Amazon Linux 2:

$ sudo yum remove byteman.noarch $ sudo yum autoremove

3. Information about the byteman.noarch package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : byteman
Arch : noarch
Version : 2.0.4
Release : 5.amzn2
Size : 931 k
Repo : amzn2-core/2/x86_64
Summary : Java agent-based bytecode injection tool
URL : http://www.jboss.org/byteman
License : LGPLv2+
Description : Byteman is a tool which simplifies tracing and testing of Java
: programs. Byteman allows you to insert extra Java code into your
: application, either as it is loaded during JVM startup or even
: after it has already started running. The injected code is allowed
: to access any of your data and call any application methods,
: including where they are private. You can inject code almost
: anywhere you want and there is no need to prepare the original
: source code in advance nor do you have to recompile, repackage or
: redeploy your application. In fact you can remove injected code
: and reinstall different code while the application continues to
: execute.