Ubuntu
Change font color settings in Ubuntu terminal on WSL
I found it difficult to see some of the colors of the terminals on WSL2 Ubuntu 18.04LTS on Windows 10 Pro. So you can customize the text color. Install Windows Terminal Install from Microsoft Store. Register in the start menu. Start Windows Terminal Start Windows Terminal from the Start menu, then Windows PowerShell terminal will be launched. Click on the downward-facing symbol to the right of the "+" on the right of the tab to open the menu. Click on Settings in the menu, edit it (Append "colorScheme": "One Half Dark",) as follows: { "guid": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}", "hidden": false, "name": "Ubuntu-18.04", "colorScheme": "One Half Dark", "source": "Windows.Terminal.Wsl" }, Color setting using […]
Making vim (vi) text color easier to see on WSL-Ubuntu
Comments in .bashrc hard to see I'm using WSL-Ubuntu session of MobaXterm on Ubuntu 18.04LTS on WSL, but when I open .bashrc with vi (vim), comments are hard to see. So make the text color easier to see. Referring to this site (in Japanese), let's introduce a color scheme of molokai to make it easier to see. Installing molokai Start a terminal, create vim's personal setting directory .vim in the home directory, install molokai, and open .vimrc using vi. $ mkdir .vim $ cd .vim $ mkdir colors $ git clone https://github.com/tomasr/molokai Cloning into'molokai'... remote: Enumerating objects: 148, done. remote: Total 148 (delta 0), reused 0 (delta 0), pack-reused 148 […]
Installing NetCDF-Fortran using Intel oneAPI on Ubuntu 22.04 on WSL2
November 5, 2023: Installation environment is updated. Prerequisites It is assumed that Ubuntu 22.04LTS is installed on WSL2 on Windows 11 Pro; Intel oneAPI is installed as well. Referring to this article, libraries other than NetCDF-Fortran are easily installed with apt (compiled with GNU). How to compile NetCDF-C with Intel oneAPI is introduec here in Japanese, but it is time consuming. Install GNU libraries with apt HDF5 (referenced here) and GNU version of NetCDF-C (libnetcdf-dev) and NetCDF-Fortran (libnetcdff-dev, refer to here) are installed as follows. libnetcdff-dev should not be installed as building Intel version failed. $ sudo apt update $ sudo apt install hdf5-tools hdf5-helpers libhdf5-dev libhdf5-doc libhdf5-serial-dev $ sudo […]