installing el capitan to a blank mac
I bought a second hand mac with no OS installed at all. I was informed that it originally ran El Capitan, but upon running to download the new OS, I have read on that Apple no longer supply this download.
I have followed plenty of guides today on how to download the DMG to a usb but I cannot for the life of me see how to unpack the DMG using the disk utility or any other means.
I have used 7zip on my Windows PC to view and extract the files but I still cannot get the USB to load anything on the mac; The only thing that ever runs, even holding down command upon power-on is the recovery partition on the mac itself.
Can anyone assist please? I am really struggling here as this is my first mac and i'm trying to tinker a bit.
iMac, OS X 10.11