Download patches from Metalink
Log onto Metalink (https://support.Oracle.com) and Oracle users can use ARU to download it.
Click the Patches & Updates tab. In the "Patch Search" area, enter your Patch number, Search,
After finding your Patch, pay special attention to the need to carefully check the Release, Platform/Language... of the Patch and Read the Read Me information (to see if there is a Patch to be downloaded)
Then download the Patch to the local machine,
Upload & decompress
It is recommended that you back up files that may be overwritten before patching. Read the Readme file carefully.
Upload the patch file to the Patch directory on the server and decompress it using the unzip command.
[Oracle @ www.bkjia.com patches] $ unzip p10257769_R12.INV. B _R12_GENERIC.zip
Archive: p10257769_R12.INV. B _R12_GENERIC.zip
Inflating: 10257769/README.html
Inflating: 10257769/u10257769.drv
Inflating: 10257769/f10257769.ldt
Inflating: 10257769/inv/patch/115/SQL/INVVLTPB. pls
Inflating: 10257769/marker1.txt
Inflating: 10257769/b10257769.ldt
Inflating: 10257769/README.txt
Inflating: 10257769/patch_metadata.xml
Inflating: 10257769/ad/patch/115/manualsteps/ad_apply_patch.xml
[Oracle @ www.bkjia.com patches] $
After decompression, a patch directory is generated to enter the patch directory.
[Oracle @ www.bkjia.com patches] $ cd 10257769/
[Oracle @ www.bkjia.com 10257769] $ ls
Ad f10257769.ldt marker1.txt README.html u10257769.drv
B10257769.ldt inv patch_metadata.xml README.txt
[Oracle @ www.bkjia.com 10257769] $
U <patchnum>. The drv file is the drvier file (the Unified driver file) used for the adpatch tool. It tells adpatch which files need to be copied and which database objects need to be generated...