When I try to run the do command under GAMIT on Ubuntu 20.04, it shows:
root@DESKTOP-LF0EAC9:/etc/apt# doy
doy: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory
among libgfortran.so . 3 depending on gfortran-6, try to install gfortran-6:
root@DESKTOP:/etc/apt# apt install gfortran-6
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gfortran-6
The problem here is that Ubuntu 20.04 does not support G + ± 6. Add the following source to/etc/apt/ sources.list For the method of adding source, see the link
deb http://gb.archive.ubuntu.com/ubuntu/ bionic main universe
function
sudo apt-get update
Install GCC + + – 6
apt-get install g++-6
Setting the default version of GCC
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 6
Install gfortran-6
apt install gfortran-6
Install successfully, run doy
root@DESKTOP-LF0EAC9:/etc/apt# doy 2020 001
Date 2020/01/01 0:00 hrs, DOY 1 JD 2458849.5000 MJD 58849.0000
GPS Week 2086 Day of week 3, GPS Seconds 259200 Day of Week Wed
Decimal Year 2020.000000000 GRACE Seconds 631108800.0
Run successfully
Read More:
- Ubuntu 18.04 installing postman
- Problems and solutions of installing Ubuntu 12.04 in win7
- Ubuntu18.04 installing Tomcat 8.5
- Solution to UBI partman failed with code 141 when installing Ubuntu
- Ubuntu20.04 Installing WslRegisterDistribution failed with error: 0xc03a001a
- Failed to download package files error after re installing Ubuntu
- Modify the screen resolution after installing Ubuntu 16.04 (xrandr: Failed to get size of gamma for output default)
- Error in installing Google Chrome in Ubuntu
- Solution to x service error when installing NVIDIA graphics driver under Ubuntu
- To solve the problem of importerror when installing tensorflow: libcublas.so . 10.0, failed to load the native tensorflow runtime error
- Solution to “the grub PC ‘package failed to install into / target / when installing Ubuntu server
- Ubuntu 20.04 GPG: KeyServer receive failed: connection timed out when installing ROS configuration key
- When installing software in Ubuntu, it prompts: E: You don’t have enough free space in /var/cache/apt/archives/.
- Installing the Ubuntu system, an error wslregisterdistribution failed with error: 0x8007019e
- Ubuntu 18.04/ubuntu 16.04 (Ubuntu kylin 18 / 16), the last grub installation failed
- Ubuntu20.04 installing RVM error curl: (7) failed to connect to raw.githubusercontent.com port 443: Operation timed
- When the source side of Dameng synchronization tool HS starts the service, it prompts that the so file does not exist: libdmoci.so
- Ubuntu 16.04 Chinese installation tutorial (Graphic), Ubuntu 16.04
- Re installing Android studio always fails to install SDK when installing software (solution)
- How to manually upgrade Ubuntu 16.04 LTS to Ubuntu 18.04 LTS, Part I