Permalink
Switch branches/tags
v3421.11 v3421.9 v3421.6 v3421.4 v3421.3 v3421 ubuntu-xenial/v170.5 ubuntu-xenial/v170.3 ubuntu-xenial/v170.2 ubuntu-xenial/v97.32 ubuntu-xenial/v97.31 ubuntu-xenial/v97.28 ubuntu-xenial/v97.22 ubuntu-xenial/v97.19 ubuntu-xenial/v97.18 ubuntu-xenial/v97.17 ubuntu-xenial/v97.16 ubuntu-xenial/v97.15 ubuntu-xenial/v97.12 ubuntu-xenial/v97.10 ubuntu-xenial/v97.5 ubuntu-xenial/v97.3 ubuntu-xenial/v97 ubuntu-xenial/v87.4 ubuntu-xenial/v87.3 ubuntu-xenial/v87.1 ubuntu-xenial/v87 ubuntu-xenial/v81 ubuntu-xenial/v60 ubuntu-xenial/v50 ubuntu-xenial/v40 ubuntu-xenial/v34 stable-3586.54 stable-3586.52 stable-3586.48 stable-3586.46 stable-3586.43 stable-3586.42 stable-3586.40 stable-3586.36 stable-3586.35 stable-3586.27 stable-3586.26 stable-3586.25 stable-3586.24 stable-3586.23 stable-3586.18 stable-3586.16 stable-3586.8 stable-3586.7 stable-3586.5 stable-3541.59 stable-3541.57 stable-3541.54 stable-3541.52 stable-3541.49 stable-3541.48 stable-3541.46 stable-3541.44 stable-3541.43 stable-3541.37 stable-3541.36 stable-3541.35 stable-3541.34 stable-3541.31 stable-3541.30 stable-3541.26 stable-3541.25 stable-3541.24 stable-3541.12 stable-3541.10 stable-3541.9 stable-3541.8 stable-3541.5 stable-3541.4 stable-3541.2 stable-3469.1 stable-3468.78 stable-3468.75 stable-3468.73 stable-3468.71 stable-3468.70 stable-3468.69 stable-3468.67 stable-3468.64 stable-3468.63 stable-3468.55 stable-3468.54 stable-3468.53 stable-3468.51 stable-3468.47 stable-3468.46 stable-3468.44 stable-3468.42 stable-3468.41 stable-3468.30 stable-3468.28 stable-3468.27 stable-3468.26 stable-3468.25
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 34 lines (29 sloc) 538 Bytes
#!/usr/bin/env bash
declare -a PACKAGES
PACKAGES=( \
binutils \
bison \
build-essential \
cmake \
cpp \
debhelper \
dkms \
dpkg-dev \
flex \
g++ \
gcc \
gettext \
intltool-debian \
libmpc3 \
make \
patch \
po-debconf \
)
if [ "$1" == 'xenial' ]; then
PACKAGES+=(cpp-5 g++-5 gcc-5 gcc-5-base gcc-6-base)
else
PACKAGES+=(cpp-4.8 g++-4.8 gcc-4.8)
fi
for package_name in ${PACKAGES[*]} ; do
dpkg-query -L "$package_name" | xargs file | grep -Ev ':\s+directory\s*$' | awk -F ':' '{ print $1 }'
done