Skip to content

Instantly share code, notes, and snippets.

@dtxe
Last active November 9, 2022 17:43
Show Gist options
  • Save dtxe/45c8c0441abaf0736dbacac73ff6f457 to your computer and use it in GitHub Desktop.
Save dtxe/45c8c0441abaf0736dbacac73ff6f457 to your computer and use it in GitHub Desktop.
backport install libgfortran3 and g++-6 on ubuntu 20.04 focal for simbio and fieldtrip
#!/bin/bash
cat - << EOF > /etc/apt/sources.d/bionic.list
deb http://ca.archive.ubuntu.com/ubuntu/ bionic main
deb http://ca.archive.ubuntu.com/ubuntu/ bionic universe
EOF
apt update
apt install -y g++-6
apt install -y libgfortran3
mv /etc/apt/sources.d/bionic.list /etc/apt/sources.d/bionic.list.disabled
apt update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment