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 WSL2 Ubuntu 24.04
May 20, 2025: Installation environment is updated. Prerequisites It is assumed that Ubuntu 24.04L is installed on WSL2 on Windows 11 Home; Intel oneAPI is installed as well. However, due to updates to oneAPI, verification is being conducted with oneAPI-2025.1 installed. In oneAPI-2025.1, ifort and icc have been removed, and ifx and ifc are used instead. Builds NetCDF-Fortran, which is often required for Fortran-based models such as FVCOM. 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 introduced here in Japanese, but it is time consuming. Install GNU libraries with apt HDF5 (referenced here) and […]