There are two ways:
1)Automatic: i.e using Softaculous installation from cpanel

2)Manual:Follow these steps to install magento manually:

a)Download latest installation package from offical magento website

b)Now upload package to your file manager either through cpanel or filezilla

c)Create database from cpanel and remember the details,as you need to use it in future

d)Go through installation steps:
1.1) Agree license
1.2) Chose time zone
1.3)Next is configuration,insert database details into it like database name,databse user and pass,make sur you check the option “Skip Base URL validation before next step”
1.4)Now in next step fill details of admin,leave encryption key blank,magento will create it for you.
Click save,and all done !!