userguide: update barometer build and install
[barometer.git] / systems / ubuntu / 16.04 / build_base_machine.sh
1 #!/bin/bash
2 #
3 # Build a base machine for Ubuntu 16.04
4 #
5 # Copyright 2015-2017 OPNFV, Intel Corporation.
6 #
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #     http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 #
19 # Contributors:
20 #   Aihua Li, Huawei Technologies.
21 #   Martin Klozik, Intel Corporation.
22 #   Abdul Halim, Intel Corporation.
23
24 apt-get update
25 apt-get -y install $(echo "
26 # Make and Compilers
27 make
28 automake
29 gcc
30 g++
31 libc6
32 libc6-dev
33
34 # Linux Kernel Source
35 linux-source
36 linux-headers-$(uname -r)
37 pkg-config
38
39 # tools
40 curl
41 libcurl4-openssl-dev
42 automake
43 autoconf
44 libtool
45 libpcap-dev
46 libnet1
47 libncurses5-dev
48 vim
49 wget
50 git
51 pciutils
52 cifs-utils
53 socat
54 libpixman-1-0
55 libpixman-1-dev
56
57 # install git-review tool
58 git-review
59 " | grep -v ^#)