<commit_before>#!/usr/bin/env bash

sudo apt update
sudo apt upgrade

sudo apt install -y \
    afl \
    build-essential \
    ccache \
    curl \
    doxygen \
    exuberant-ctags \
    ffmpeg \
    fish \
    gdb \
    git \
    gnupg \
    gparted \
    graphviz \
    htop \
    lcov \
    libsqlite3-dev \
    libxml2-dev \
    lldb \
    lm-sensors \
    nasm \
    nodejs \
    python \
    python-dev \
    python-pip \
    re2c \
    scrot \
    silversearcher-ag \
    tig \
    tig \
    tmux \
    tree \
    unrar \
    weechat-curses weechat-plugins \
    xz-utils \
    zsh

# Install latest Vim
# https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source
sudo apt remove vim vim-runtime gvim

which vim
if [ $? != 0 ] ; then
    sudo apt install -y libncurses5-dev libgnome2-dev libgnomeui-dev \
        libgtk2.0-dev libatk1.0-dev libbonoboui2-dev \
        libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev \
        ruby-dev

    git clone https://github.com/vim/vim.git ~/vim
    cd ~/vim
    ./configure --with-features=huge \
                --enable-multibyte \
                --enable-rubyinterp \<commit_msg>Update apt install script<commit_after>#!/usr/bin/env bash

sudo apt update
sudo apt upgrade

sudo apt install -y \
    afl \
    build-essential \
    ccache \
    curl \
    doxygen \
    exuberant-ctags \
    ffmpeg \
    fish \
    gdb \
    git \
    gnupg \
    gparted \
    graphviz \
    htop \
    lcov \
    liblzma-dev \
    libsqlite3-dev \
    libxml2-dev \
    lldb \
    lm-sensors \
    nasm \
    nfs-common \
    nodejs \
    python \
    python-dev \
    python-pip \
    re2c \
    scrot \
    shellcheck \
    silversearcher-ag \
    tig \
    tig \
    tmux \
    tree \
    unrar \
    weechat-curses weechat-plugins \
    xz-utils \
    zsh

# Install latest Vim from source
# https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source
sudo apt remove vim vim-runtime gvim

which vim
if [ $? != 0 ] ; then
    sudo apt install -y libncurses5-dev libgnome2-dev libgnomeui-dev \
        libgtk2.0-dev libatk1.0-dev libbonoboui2-dev \
        libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev \
        ruby-dev

    git clone https://github.com/vim/vim.git ~/vim
    cd ~/vim || exit 1
    ./configure --with-features=huge \
                --enable-multibyte \
                --enable-rubyinterp \
{'fraction_non_alphanumeric': 0.10300250208507089, 'fraction_numerical': 0.012093411175979984, 'mean_word_length': 1.5521276595744682, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4393935', 'n_tokens_mistral': 955, 'n_tokens_neox': 890, 'n_words': 188}