Skip to content

Files

Latest commit

 

History

History
30 lines (27 loc) · 1.43 KB

README.md

File metadata and controls

30 lines (27 loc) · 1.43 KB

Lab Installation Scripts

How to create an installation script

  • Create a list of all required default ubuntu packages (e.g. cmake, git, g++)
  • Check minimum version necessary for each package (use your current version)
  • Install every package through a loop with sudo apt-get install name-of-package
  • Download and install lab packages through loop installation
  • Download your packages by cloning your github repositories
  • Compile and/or install them automatically thanks to cmake, autoconf, scons or meson

Add your script to this folder

If not already done, clone repository:

git clone https://github.com/millanlaboratory/installationScripts

Once cloned, go to the repository and move your script to a new folder with the name of your project:

cd installationScripts
git pull
NAMEOFPROJECT="nameOfProject"
mkdir $NAMEOFPROJECT
cp /path/to/your/installationScript $NAMEOFPROJECT/
git add .
git commit -m "adding installation script for $NAMEOFPROJECT"

IMPORTANT Make sure to add a complete README.md about the steps you are doing in the installation. Use the template in the loop folder.

Available installation scripts