blob: 700a1f14c233d7b702e6465f8cc14cf8aa875153 [file] [log] [blame]
Joakim Bech8e5c5b32018-10-25 08:18:32 +02001.. _prerequisites:
2
3#############
4Prerequisites
5#############
6We believe that you can use any Linux distribution to build OP-TEE, but as
7maintainers of OP-TEE we are mainly using Ubuntu-based distributions and to be
8able to build and run OP-TEE there are a few packages that needs to be installed
9to start with. Therefore install the following packages regardless of what
10target you will use in the end.
11
12.. code-block:: bash
13
14 $ sudo apt-get install android-tools-adb android-tools-fastboot autoconf \
Jens Wiklander035f0b02019-06-24 10:41:23 +020015 automake bc bison build-essential ccache cscope curl device-tree-compiler \
Joakim Bech8e5c5b32018-10-25 08:18:32 +020016 expect flex ftp-upload gdisk iasl libattr1-dev libc6:i386 libcap-dev \
17 libfdt-dev libftdi-dev libglib2.0-dev libhidapi-dev libncurses5-dev \
18 libpixman-1-dev libssl-dev libstdc++6:i386 libtool libz1:i386 make \
Victor Chongd76b6d02019-10-16 06:25:28 +010019 mtools netcat python-crypto python3-crypto python-pyelftools \
20 python3-pyelftools python-serial python3-serial rsync unzip uuid-dev \
21 xdg-utils xterm xz-utils zlib1g-dev