Install Ubuntu, CDO and NCL in Windows 10 | Jalal | Research Society

16 Просмотры
Издатель
Please subscribe to my channel:
https://www.youtube.com/channel/UC2tWXxCZDTKG50MIkFw3Wtg?sub_confirmation=1

-----------------------------------------
Install CDO
-----------------------------------------
After restarting your computer, you need to type the following command:
sudo apt-get update
sudo apt-get install cdo

-----------------------------------------------------------------------------------
# error
cdo: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
-----------------------------------------------------------------------------------
# please use the following command to solve this issue
sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

------------------------------------------
Install NCL
------------------------------------------
download link for NCL:
https://www.earthsystemgrid.org/dataset/ncl.662.dap/file/ncl_ncarg-6.6.2-Debian8.11_64bit_gnu492.tar.gz

---------------------------------------------------------------
# Please type the following commands
---------------------------------------------------------------

sudo mkdir /usr/local/ncl-6.6.2 # make a ncl directory

sudo cp ncl_ncarg-6.6.2-Debian8.11_64bit_gnu492.tar.gz /usr/local/ncl-6.6.2 #copy the ncl software

cd /usr/local/ncl-6.6.2 # change directory

sudo tar -xvf ncl_ncarg-6.6.2-Debian8.11_64bit_gnu492.tar.gz # extract the files in the desired installation path

--------------------------------------------------------
# Set up environment to run NCL
--------------------------------------------------------
# Please type the following command to open vim text editor:
vim .bashrc

# You need to add the following lines:

export NCARG_ROOT=/usr/local
export PATH=/usr/local/bin:$PATH
export DISPLAY=:0.0

# Now, you need to save your file and exit:
Press the ESC key
Type: :wq!
Press the ENTER key

source .bashrc

sudo apt install ncl-ncarg
Категория
Установка Windows
Комментариев нет.