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