2 title: Setting Up AGL SDK
5 AGL provides a pre-built ready-made Software Development Kit (SDK) to help
6 quickstart the service and application development process.
8 1. Download the prebuilt SDK :
10 Please open the link below and download .sh file for desired machine.
12 **Note:** The links provided are for the octopus branch. If you want SDK for specific branch than change the name from octopus to specific branch.
14 - **x86** : [qemux86-64](https://download.automotivelinux.org/AGL/snapshots/octopus/latest/qemux86-64/deploy/sdk/)
16 **Note:** .sh file will be with name "poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-corei7-64-qemux86-64-toolchain-$(version number).sh" where version number is regularly updated on the site.
19 - **ARM 32 bit** : [qemuarm](https://download.automotivelinux.org/AGL/snapshots/octopus/latest/qemuarm/deploy/sdk/)
21 **Note:** .sh file will be with name " poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-armv7vet2hf-neon-vfpv4-qemuarm-toolchain-$(version number).sh" where version number is regularly updated on the site.
24 - **AARCH64 - ARM 64bit** : [qemuarm64](https://download.automotivelinux.org/AGL/snapshots/octopus/latest/qemuarm64/deploy/sdk/)
26 **Note:** .sh file will be with name " poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-aarch64-qemuarm64-toolchain-$(version number).sh" where version number is regularly updated on the site.
29 *Henceforth,* **qemux86-64** *is used in these guides, unless specified
30 otherwise. We also use the 'agl-demo-platform-crosssdk' as example.*
32 2. Create application development directory and copy SDK into them :
34 **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
38 $ cp ~/Downloads/poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-*.sh ~/agl-app/
42 3. Install the downloaded SDK :
44 **Note:** In commands below again change the file name based on your downloaded .sh file
48 $ chmod 777 poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-*.sh
50 $ ./poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-*.sh
52 Select target directory for SDK : `~/agl-app/agl-sdk`
55 Automotive Grade Linux SDK installer version 14.0.0
56 =============================================================
57 Enter target directory for SDK (default: /opt/agl-sdk/10.90.0+snapshot-corei7-64): ~/agl-app/agl-sdk
58 You are about to install the SDK to "/home/boron/agl-app/agl-sdk". Proceed [Y/n]? Y
59 Extracting SDK..........................................................................................................................................done
61 SDK has been successfully set up and is ready to be used.
62 Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
63 $ . /home/boron/agl-app/agl-sdk/environment-setup-corei7-64-agl-linux
66 4. Source the SDK environment setup, each time you wish to use the SDK in a new shell session :
69 $ source ~/agl-app/agl-sdk/environment-setup-corei7-64-agl-linux