Santosh Kumar | aff594a | 2017-12-14 18:56:26 +0530 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # Copyright 2017-present Open Networking Foundation |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | # |
| 18 | # Run from OpenNetworkLinux top directory |
| 19 | # |
| 20 | #Install required packages |
| 21 | |
| 22 | echo "" |
| 23 | echo "Installing dependency Packages" |
| 24 | echo "" |
| 25 | |
| 26 | sudo apt-get update |
| 27 | |
| 28 | sudo apt-get install clang --yes |
| 29 | sudo apt-get install -f |
| 30 | sudo apt-get install libgcrypt20-dev libncurses5-dev libnl-3-dev --yes |
| 31 | sudo apt-get install -f |
| 32 | sudo apt-get install libudev-dev libglibmm-2.4-dev libglib3.0-cil-dev --yes |
| 33 | sudo apt-get install -f |
| 34 | sudo apt-get install libxml++2.6-dev libgnutls28-dev libnl-route-3-dev --yes |
| 35 | sudo apt-get install -f |
| 36 | sudo apt-get install flex bison doxygen cpp ccache build-essential linux-libc-dev --yes |
| 37 | sudo apt-get install -f |
| 38 | sudo apt-get install libmpc-dev libstdc++6 libcurl4-openssl-dev libmicrohttpd-dev libjsoncpp-dev --yes |
| 39 | sudo apt-get install -f |
| 40 | sudo apt-get install lcov libossp-uuid-dev libxml++2.6-dev libnl-3-dev libnl-route-3-200 --yes |
| 41 | sudo apt-get install -f |
| 42 | sudo apt-get install libudev-dev libgcrypt20-dev libsysfs-dev libpopt-dev --yes |
| 43 | sudo apt-get install -f |
| 44 | sudo apt-get install libusb-dev patch libdevmapper-dev liblvm2-dev unzip libnl-genl-3-dev libblkid-dev debsigs debsig-verify gnupg --yes |
| 45 | sudo apt-get install -f |
| 46 | sudo apt-get install ipmitool --yes |
| 47 | sudo apt-get install -f |
| 48 | |