2015-08-19 04:50:30 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# Copyright (c) 2015, Facebook, Inc.
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# This source code is licensed under the BSD-style license found in the
|
|
|
|
# LICENSE file in the root directory of this source tree. An additional grant
|
|
|
|
# of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
|
|
|
|
function main_fedora() {
|
|
|
|
sudo yum update -y
|
|
|
|
|
|
|
|
package texinfo
|
|
|
|
package wget
|
|
|
|
package git-all
|
|
|
|
package unzip
|
|
|
|
package xz
|
|
|
|
package xz-devel
|
|
|
|
package python-pip
|
|
|
|
package python-devel
|
|
|
|
package rpm-build
|
|
|
|
package ruby
|
|
|
|
package ruby-devel
|
|
|
|
package rubygems
|
|
|
|
package bzip2
|
|
|
|
package bzip2-devel
|
|
|
|
package openssl-devel
|
|
|
|
package readline-devel
|
|
|
|
package rpm-devel
|
|
|
|
package libblkid-devel
|
|
|
|
package gcc
|
|
|
|
package binutils
|
|
|
|
package gcc-c++
|
|
|
|
package clang
|
|
|
|
package clang-devel
|
|
|
|
|
|
|
|
install_cmake
|
|
|
|
|
|
|
|
set_cc clang
|
|
|
|
set_cxx clang++
|
|
|
|
|
|
|
|
install_boost
|
|
|
|
|
|
|
|
install_gflags
|
|
|
|
install_iptables_dev
|
|
|
|
|
|
|
|
package doxygen
|
|
|
|
package byacc
|
|
|
|
package flex
|
|
|
|
package bison
|
|
|
|
package autoconf
|
|
|
|
package automake
|
|
|
|
package libtool
|
|
|
|
|
|
|
|
install_snappy
|
|
|
|
install_rocksdb
|
|
|
|
install_thrift
|
|
|
|
install_yara
|
2015-08-30 08:11:45 +00:00
|
|
|
install_cppnetlib
|
2015-08-30 08:46:48 +00:00
|
|
|
install_google_benchmark
|
2015-08-19 04:50:30 +00:00
|
|
|
|
|
|
|
package device-mapper-devel
|
|
|
|
package libgcrypt-devel
|
|
|
|
package gettext-devel
|
|
|
|
install_libcryptsetup
|
2015-12-04 04:04:46 +00:00
|
|
|
install_sleuthkit
|
2015-08-19 04:50:30 +00:00
|
|
|
|
|
|
|
gem_install fpm
|
|
|
|
}
|