To apply the EM13.5RU16 agent patch
#1 setup variable to keep command generic
export ORACLE_HOME=/u02/app/oracle/agent13/agent_13.5.0.0.0
export ORACLE_HOME=/u01/app/emagent/ngc13c/GoldImage_NGC_20230109b/agent_13.5.0.0.0
export ORACLE_HOME=/u01/app/emagent/ngc13c/agent_13.5.0.0.0
export LSOFT=/acfs01/dbaas_acfs/emcc/
export LSOFT=/mnt/backup/soft/emcc/em13516
#2 Stage the patches int he $LSOFT directory
#3 Unzip the agentpatcher
cd ${ORACLE_HOME}
unzip ${LSOFT}/p33355570_135000_Generic.zip
#4 Analyze the patch
cd ${LSOFT}/35437910
$ORACLE_HOME/AgentPatcher/agentpatcher apply -analyze
#5 Apply the patch
$ORACLE_HOME/AgentPatcher/agentpatcher apply