Skip to content

Instantly share code, notes, and snippets.

@sakethramanujam
Last active February 26, 2024 10:18
Show Gist options
  • Star 16 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save sakethramanujam/faf5b677b6505437dbdd82170ac55322 to your computer and use it in GitHub Desktop.
Save sakethramanujam/faf5b677b6505437dbdd82170ac55322 to your computer and use it in GitHub Desktop.
Installing libgfortran3 for ubuntu20.04.md
# !usr/bin/bash
echo "Downloading gcc-6-base" && \
cd /tmp/ && wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gcc-6/gcc-6-base_6.4.0-17ubuntu1_amd64.deb && \
echo "Downloading libgfortran3" && \
cd /tmp/ && wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gcc-6/libgfortran3_6.4.0-17ubuntu1_amd64.deb && \
echo "Installing gcc-6-base" && \
cd /tmp/ && sudo dpkg -i gcc-6-base_6.4.0-17ubuntu1_amd64.deb && \
echo "Installing libgfortran3" && \
cd /tmp/ && sudo dpkg -i libgfortran3_6.4.0-17ubuntu1_amd64.deb

Installing libgfortran3 on ubuntu 20.04

Download the following debian packages either by navigating to the url or by doing a wget

Post Download install the packages by using a software installer or using the

$ sudo dpkg -i <package.deb>

⚠️ This might tamper with your exisiting gcc installation and hence, proceed with caution.

@bdytx5
Copy link

bdytx5 commented Dec 6, 2021

thanks

@kilbinger
Copy link

Thanks. This helped me to run Amber18 on Ubuntu20.04.

@nitaandru
Copy link

thank you so much for this!

@Berfin9704
Copy link

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment