1#!/bin/bash 2# 3# Install necessary softwares for Ubuntu. 4 5# Remove large folder to save space 6rm -rf /opt/hostedtoolcache 7 8sudo apt-get update 9sudo apt-get install -y \ 10 gcc-multilib \ 11 git \ 12 g++ \ 13 python3-pip \ 14 ninja-build \ 15 unifdef \ 16 p7zip-full \ 17 tofrodos \ 18 gawk \ 19 cmake \ 20 software-properties-common 21 22python3 -m pip install --upgrade pip 23pip3 install gcovr==4.1 24 25# Upgrade cmake to the latest version. 26pip install --upgrade cmake 27