Sorry, but if you need to ask how to do that ... just don't. You are more than likely to hose your system. I see already 1 issue: the mesa version in your download is 18.0. Ubuntu 18 is on Mesa 18.1 so it is already a newer version than the one you will download. That might be a problem.
There is a FAR easier method for doing this: use the PPA for it (see this launchpad page). It was updated 5 hours ago so you might be in luck. You can add it with this command and it will add all the packages listed on the website; you will need the package
sudo add-apt-repository ppa:oibaf/graphics-drivers
From the description of this PPA:
This PPA provides updated X (2D) and mesa (3D) free graphics drivers
for Radeon, Intel, and Nvidia hardware. Updates packages provide:
- All packages are automatically built twice a day when there are upstream changes
- Vulkan 1.1+ on recent Intel and Radeon GPU
- OpenGL 4.5+ support and new OpenGL extensions: http://mesamatrix.net
- OpenCL support with updated libclc
- gallium-nine support installed by default.
- VDPAU and VAAPI Gallium3D accelerated video drivers
- OpenMAX IL Bellagio and XvMC only on zesty and older - disabled since artful due to not being broadly used
- packages built against latest LLVM
- Disabled Ubuntu MIR
If the features you mention are not in there yet you could ask about it on the Phoronix forums. Those are the people that will update the drivers for us.