@Aboammar
You could try the following procedure from the link given above by @Bourne.
Installation
This assumes a default BIOS setup. If you are unsure, load the BIOS factory defaults before making these proposed changes. You should also create a bootable USB drive with the Linux edition of your choice. (IMS personnel tests with the latest Ubuntu LTS release, which is 18.04 right now.)
Next, make the following BIOS settings changes.[2]
- Boot up the laptop and enter the BIOS options (repeatedly press escape during boot), select BIOS settings menu. When fast-boot and secureboot are enabled, this may take several tries.
- Go to the Advanced tab, select Secure Boot Configuration.
- Set Legacy Support Enable and Secure Boot Disable
- Go back to the Advanced settings
- Select Built-in device options
- Set Graphics to Discrete
Now save and exit the setup, and press F9 to select boot from the USB drive. From the live desktop environment, the system can be installed. If you want to install Linux alongside an existing Windows, it may be useful to acquire a separate SSD hard drive to put Linux on.
In Ubuntu, start Software & Updates, and in the Other Software tab, enable the Canonical Partners repository. After refreshing the index, you'll be able to install the NVIDIA proprietary drivers for the GPU.
NOTE: As of NVIDIA driver version 435.17, hybrid graphics are supported, meaning that setting the graphics to discrete is not longer necessary. You still need to have the Intel graphics driver installed of course, and Xorg has to be version 1.20.7 or later.