<commit_before>#!/bin/bash
#
# bootstrap.sh ~ bootstrapping script to setup a coge virtual machine
#
# Author(s): <NAME>
#
<commit_msg>add apt dependencies<commit_after>#!/bin/bash
#
# bootstrap.sh ~ bootstrapping script to setup a coge virtual machine
#
# Author(s): <NAME>
#

PASS='<PASSWORD>'

#: Install apt-add-repository
apt-get install -y --quiet python-software-properties

#: Enable multiverse packages
sed -i "/^# deb.*multiverse/ s/^# //" /etc/apt/sources.list

# Set package selection defaults
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections
echo mysql-server mysql-server/root_password password $PASS | debconf-set-selections
echo mysql-server mysql-server/root_password_again password $PASS | debconf-set-selections

#: Add apt repositories
apt-add-repository ppa:chris-lea/node.js

#: Install software dependencies
echo Installing packages...
apt-get update && apt-get install -y \
    curl \
    git \
    mysql-server \
    samtools \
    ubuntu-dev-tools \
    build-essential \
    checkinstall \
    gcc-multilib \
    expat \
    libexpat1-dev \
    libgd2-xpm-dev \
    libapache2-mod-perl2 \
    libapache2-mod-wsgi \
    libzmq3-dev \
    build-essential \
    njplot \
    imagemagick \
    graphviz \
    apache2 \
    swig \
    ttf-mscorefonts-installer \
    python-setuptools \
    python-numpy \
    python-dev \
    aragorn \
    nodejs &> /dev/null
{'fraction_non_alphanumeric': 0.11311589174184594, 'fraction_numerical': 0.004857737682165163, 'mean_word_length': 2.9291553133514987, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3261450', 'n_tokens_mistral': 508, 'n_tokens_neox': 481, 'n_words': 107}