Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • The license file (“license.txt”) is easy to get, so don’t worry if you don’t have an existing license. Just ask follow the link to fill in the form to request another one if you are setting up on a new system.

  • Use the Ubuntu “DEB installer” download

  • Before installing the freesurfer download, install the dependencies (https://surfer.nmr.mgh.harvard.edu/fswiki/BuildRequirements ) .

    • Note: use apt rather than apt-get

    • It is not unusual for these commands to not work as listed. So, go through these steps from a terminal (“#” is for comments):

...

Look for names of packages not installed, and install those. This is a hunt. Make sure you DO NOT run apt In order to install new packages, yuo’ll need to uninstall freesurfer -

Code Block
sudo apt --fix-broken

...

 install

Then install what you need

Code Block
sudo apt-get -y install xorg-dev
sudo apt-get -y install gettext
sudo apt-get -y install csh

Who knows, yuo might want to run these two

Code Block
sudo apt --fix-broken install
sudo apt autoremove

However, we might want to use gdebi because unlike dpkg it resolves dependencies

Code Block
sudo apt install gdebi

However, this does nto work. We need the libbrotli1 library. So (big grin)

https://github.com/google/brotli

Code Block
sudo apt-get install curl zip unzip tar

From here, we can install the latest brotli, which has that library. However, the package manager does not recognize the updated version. Thus, we are left to abandon the *.deb route.