--- title: Setting Up AGL SDK --- You will have to build the agl-ivi-demo-qt-crosssdk image to retrieve the sdk files ! 1. Build the SDK : Follow the build setup as before but do build 'agl-ivi-demo-qt-crosssdk' as image. *Henceforth,* **qemux86-64** *is used in these guides, unless specified otherwise. We also use the 'agl-ivi-demo-qt-crosssdk' as example.* 2. Create application development directory and copy SDK into them : **Note:** In the copy command below change the file name with name of your downloaded .sh file. In the example below file name is based on x86 ```sh $ mkdir ~/agl-app $ cp ~/Downloads/poky-agl-glibc-x86_64-agl-ivi-demo-qt-crosssdk-*.sh ~/agl-app/ $ cd ~/agl-app ``` 3. Install the downloaded SDK : **Note:** In commands below again change the file name based on your downloaded .sh file ```sh $ chmod 777 poky-agl-glibc-x86_64-agl-ivi-demo-qt-crosssdk-*.sh $ mkdir agl-sdk/ $ ./poky-agl-glibc-x86_64-agl-ivi-demo-qt-crosssdk-*.sh ``` Select target directory for SDK : `~/agl-app/agl-sdk` ```sh Automotive Grade Linux SDK installer version 14.0.0 ============================================================= Enter target directory for SDK (default: /opt/agl-sdk/10.90.0+snapshot-corei7-64): ~/agl-app/agl-sdk You are about to install the SDK to "/home/boron/agl-app/agl-sdk". Proceed [Y/n]? Y Extracting SDK..........................................................................................................................................done Setting it up...done SDK has been successfully set up and is ready to be used. Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g. $ . /home/boron/agl-app/agl-sdk/environment-setup-corei7-64-agl-linux ``` 4. Source the SDK environment setup, each time you wish to use the SDK in a new shell session : ```sh $ source ~/agl-app/agl-sdk/environment-setup-corei7-64-agl-linux ```