Building script of Lin4Neuro based on Ubuntu-mini 18.04 (bionic)
This repository includes scripts to make Lin4Neuro from Ubuntu-mini.iso. It also includes installer-scripts for several neuroimaging software.
You can get iso of ubuntu 18.04 from http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso
Install with this iso and select no packages during installation.
reboot the system and login.
linux-image-generic-hwe-18.04-edge is the latest kernel for bionic. Install this with the followings;
sudo apt update
sudo apt -y full-upgrade
sudo apt -y install linux-image-generic-hwe-18.04-edge
After installation, install git, make ~/git directory, and clone this repository under ~/git. (You can save this repository wherever you like.)
cd
LANG=C #if your LANG is other than English
sudo apt install git
mkdir git
cd git
git clone https://github.com/kytk/lin4neuro-bionic.git
First, run build-l4n-bionic-1.sh.
cd lin4neuro-bionic
./build-l4n-bionic-1.sh
The script will bring a prompt as following;
Which language do you want to build? (English/Japanese)
1) English
2) Japanese
3) quit
#?
Choose 1 or 2 depending on your language.
Then XFCE4.12 is installed. Upon installation, the system automatically reboots.
Then, run build-l4n-bionic-2.sh.
cd ~/git/lin4neuro-bionic
./build-l4n-bionic-2.sh
This will install several neuroimaging software packages listed below.
Version number is as of 9 Apr 2018.
After installation of the software above, close and re-open the terminai. Then, run build-l4n-bionic-3.sh.
cd ~/git/lin4neuro-bionic
./build-l4n-bionic-3.sh
This script simply tries to run software listed above. If it is not installed correctly, you will see error messages in the terminal. Check it and correct.
If everything is set, run build-l4n-bionic-4.sh.
./build-l4n-bionic-4.sh
This will install customized Remastersys. Since remastersys stops developing, we customized the remastersys so it works for our need.
Configuration of remastersys is found in /etc/remastersys.conf
Modify the setting as you wish.
Now you are ready to remaster the system. Run l4n_remastering.sh
./l4n_remastering.sh
This will make an iso imagefile in /home/remastersys/remastersys.
You can share the iso with others.
I also prepared the installer for popular software packages.
these installer can be found in lin4neuro-bionic/installer.