Download the setup_qe.sh script to a directory and run it as,
bash setup_qe.sh
This will install quantum espresso and the required libraries locally. Successful installation should print out the following text:
=======================================================
Quantum ESPRESSO 7.3.1 has been installed successfully!
=======================================================
To activate the Quantum ESPRESSO environment, run:
source /home/user/qe_tutorial_setup/activate_qe.sh
To verify installation, after activation run: 'pw.x -h'
=======================================================