File tree Expand file tree Collapse file tree 2 files changed +72
-0
lines changed Expand file tree Collapse file tree 2 files changed +72
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh -e
2
+
3
+ COMMON_PACKAGES=" \
4
+ autoconf \
5
+ automake \
6
+ autotools-dev \
7
+ bison \
8
+ clang \
9
+ cpp \
10
+ dpkg-dev \
11
+ flex \
12
+ gcc \
13
+ gdb \
14
+ git \
15
+ libc6-dev \
16
+ libtool \
17
+ linux-libc-dev \
18
+ m4 \
19
+ make \
20
+ pkg-config \
21
+ strace \
22
+ valgrind \
23
+ "
24
+
25
+ sed -i ' s/main$/main contrib non-free/' /etc/apt/sources.list
26
+
27
+ cat << EOF > /etc/apt/apt.conf.d/50misc-opts
28
+ APT::Install-Recommends "0";
29
+ APT::Install-Suggests "0";
30
+ DPkg::options { "--force-confdef"; };
31
+ EOF
32
+
33
+ export DEBIAN_FRONTEND=noninteractive
34
+
35
+ apt-get -y update
36
+
37
+ apt-get -y install $COMMON_PACKAGES $EXTRA_PACKAGES
38
+
39
+ apt-get -y clean
Original file line number Diff line number Diff line change
1
+ #! /bin/sh -e
2
+
3
+ COMMON_PACKAGES=" \
4
+ autoconf \
5
+ automake \
6
+ bison \
7
+ clang \
8
+ cpp \
9
+ curl \
10
+ flex \
11
+ gcc \
12
+ gcc-c++ \
13
+ gdb \
14
+ git \
15
+ glibc-devel \
16
+ libgcrypt-devel \
17
+ libtool \
18
+ libtool-ltdl-devel \
19
+ m4 \
20
+ make \
21
+ nc \
22
+ pkgconfig \
23
+ redhat-rpm-config \
24
+ strace \
25
+ tar \
26
+ valgrind \
27
+ "
28
+
29
+ yum -y update
30
+
31
+ yum -y install $COMMON_PACKAGES $EXTRA_PACKAGES
32
+
33
+ yum -y clean all
You can’t perform that action at this time.
0 commit comments