Merge "Tools: Improve Stability."
[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 redhat-rpm-config
36 elfutils-libelf-devel
37
38 # tools
39 curl
40 autoconf
41 libtool
42 libpcap-devel
43 libnet
44 vim
45 wget
46 git
47 pciutils
48 cifs-utils
49 socat
50 sysstat
51 sshpass
52
53 # install python packages
54 python3
55 python3-virtualenv
56 python3-setuptools
57 python3-pip
58 python3-dbus
59 python3-devel
60 python3-tkinter
61 systemd-python3
62 python3-libs
63 libreport-python3
64 abrt-python3
65 abrt-addon-python3
66
67 # libs
68 numactl
69 numactl-devel
70
71 # install git-review tool
72 git-review
73 " | grep -v ^#)
74
75 # Create hugepage dirs
76 mkdir -p /dev/hugepages