Open the AGL getting started guide located at: Developing an AGL Image
Set up your Linux system with the right packages (instruction are provided for Ubuntu, Fedora, CentOS and openSUSE)
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \ build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \ xz-utils debianutils iputils-ping libsdl1.2-dev xterm xsltproc docbook-utils \ fop dblatex xmlto make python-git curl
$ export AGL_TOP=$HOME/workspace_agl $ mkdir -p $AGL_TOP
$ mkdir -p ~/bin $ export PATH=~/bin:$PATH $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo
$ cd $AGL_TOP $ repo init -b guppy -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo $ repo sync
$ source meta-agl/scripts/aglsetup.sh -f -m qemux86-64 agl-demo agl-devel
$ bitbake agl-demo-platform
$ bitbake agl-demo-platform-crosssdk
$ cd tmp/deploy/images/qemux86-64 $ xz -d agl-demo-platform-qemux86-64.vmdk.xz
$ sudo apt-get install qemu-system-x86 $ qemu-system-x86_64 -enable-kvm -m 2048 \ -hda agl-demo-platform-qemux86-64.vmdk \ -cpu kvm64 -cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt \ -vga virtio -show-cursor \ -device virtio-rng-pci \ -serial mon:stdio -serial null \ -soundhw hda \ -net nic,vlan=0 \ -net user,hostfwd=tcp::2222-:22