Download the 12c software from edelivery : EDELIVERY LINK
You can refer below oracle doc for installing required rpm packages and setting kernel parameters depending upon os platform ( RHEL 5/6/7)
https://docs.oracle.com/database/121/LTDQI/toc.htm
Once prerequisites are completed , start runInstaller.