Merge "IXIA setup: Fix to create packets with the specified values."
[vswitchperf.git] / systems / fedora / 25 / build_base_machine.sh
1 #!/bin/bash
2 #
3 # Build a base machine for Fedora 25
4 #
5 # Copyright 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 dnf -y install $(echo "
20 # Make and Compilers
21 make
22 automake
23 gcc
24 gcc-c++
25 libxml2
26 glibc
27 glib2-devel
28 kernel-devel
29 fuse-libs
30 fuse
31 fuse-devel
32 kernel-modules-extra
33 pixman-devel
34 openssl-devel
35
36 # tools
37 curl
38 autoconf
39 libtool
40 libpcap-devel
41 libnet
42 vim
43 wget
44 git
45 pciutils
46 cifs-utils
47 socat
48 sysstat
49
50 # install python packages
51 python3
52 python3-virtualenv
53 python3-setuptools
54 python3-pip
55 python3-dbus
56 python3-devel
57 python3-tkinter
58 systemd-python3
59 python3-libs
60 libreport-python3
61 abrt-python3
62 abrt-addon-python3
63
64 # libs
65 numactl
66 numactl-devel
67
68 # install git-review tool
69 git-review
70 " | grep -v ^#)
71
72 # Create hugepage dirs
73 mkdir -p /dev/hugepages