Merge branch 'master' of https://github.com/miketimofeev/virtual-environments into v-mitim/get_rid_of_apt.sh_invocation

This commit is contained in:
Mikhail Timofeev
2020-07-10 12:35:52 +03:00
31 changed files with 303 additions and 308 deletions

View File

@@ -37,7 +37,8 @@ common_packages="dnsutils
zsync
gnupg2
lib32z1
texinfo"
texinfo
libsqlite3-dev"
cmd_packages="curl
file
@@ -56,7 +57,10 @@ cmd_packages="curl
wget
m4
bison
flex"
flex
patchelf
bzip2
sqlite3"
if isUbuntu20 ; then
echo "Install python2"
@@ -64,7 +68,7 @@ if isUbuntu20 ; then
fi
echo "Install libcurl"
if isUbuntu18 ; then
if isUbuntu16 || isUbuntu18; then
libcurelVer="libcurl3"
fi
@@ -74,12 +78,19 @@ fi
apt-get install -y --no-install-recommends $libcurelVer
# install additional packages only for Ubuntu16.04
if isUbuntu16; then
common_packages="$common_packages
libc++-dev
libc++abi-dev
libicu55"
fi
for package in $common_packages $cmd_packages; do
echo "Install $package"
apt-get install -y --no-install-recommends $package
done
# Run tests to determine that the software installed as expected
echo "Testing to make sure that script performed as expected, and basic scenarios work"
for cmd in $cmd_packages; do