How to install Node.js on Ubuntu 22.04 distro running on WSL2 (Windows Subsystem for Linux)? In this post, we'll see how to install Node.js (open-source, cross-platform JavaScript runtime environment) on Ubuntu 22.04 distro running in WSL2 (Windows Subsystem for Linux). Option #1 - Install Node.js with APT package Manager from the Official Repositories NodeJs is already available in defa 26 Mar 2023 · 3 min read
Check or Upgrade/Downgrade Windows Subsystem for Linux (WSL) Version This is a short post on how to check or upgrade/downgrade the version of Windows Subsystem for Linux (WSL) running on Windows 10 or Windows 11 host. To check WSL version set to installed Linux distro, execute wsl -l -v or wsl --list --verbose C:\Users\AwsJunkie>wsl --list --verbose NAME 2 Oct 2022 · 1 min read
Setup Proxy for CURL in Ubuntu running on WSL (Windows Subsystem for Linux) If Windows host machine is running behind any proxy (e.g. corporate proxy in office network), then it is required to pass/configure Proxy server and Proxy Authentication for cURL commands. Let's explore multiple ways to do it. CURL option "proxy" and "proxy-user" cURL command has option -x, --pr 11 Sept 2022 · 4 min read
Update WSL2 (Windows Subsystem for Linux) kernel on Windows Windows Build version 20150 has introduced command line options to update WSL2 (Windows Subsystem for Linux) Kernel very conveniently. Let's try that. Run wmic os get BuildNumber in command line to check the build version of your Windows. C:\Users\AwsJunkie>wmic os get BuildNumber BuildNumber 220 11 Sept 2022 · 2 min read
How to Backup and Restore Linux Distro on WSL (Windows Subsystem for Linux)? Nobody can deny the importance of backup & restore process for any environment. Specially, when multi-steps are involved in setup and configuration and we keep modifying the environment with time. Basically, if anything goes wrong for any reason, we don't want to end up wasting time by setting up th 3 Sept 2022 · 4 min read
How to Uninstall or Remove Linux Distro Installed on WSL (Windows Subsystem for Linux)? Uninstallation of redundant or unused Linux Distros on Windows Subsystem for Linux (WSL) is an important activity to reclaim space and maintain hygiene of the system. It is just one command to remove a distro from WSL. Video: * Run the following command in Windows Command Prompt to find the lis 2 Sept 2022 · 1 min read
How to Install Windows Subsystem for Linux (WSL2) on Windows 11? Steps to install Windows Subsystem for Linux (WSL2) on Windows 10 works for Windows 11 too. But Microsoft made it super simple in Windows 11. Just one command that takes minutes to install a Linux distribution (Ubuntu by default). If you are curious about other 3 different options that I mentioned 30 Aug 2022 · 5 min read
How to Install Windows Subsystem for Linux (WSL2) on Windows 10? Windows Subsystem for Linux (WSL) is an awesome feature of Windows 10. No more VMware or Oracle VirtualBox is required to run Linux on Windows. WSL is faster and less resource consuming, zero or less configuration compared to any other traditional Virtual Machines (VM). Installation and setup of Lin 26 Aug 2021 · 8 min read
How to change hostname on Ubuntu running on Windows WSL? If you are running Ubuntu on Windows WSL (Windows Subsystem for Linux) and wondering how to change hostname permanently then follow all steps mentioned below. Once hostname is changed, if you get "unable to resolve host <hostname>: Name or service not known" then follow the step #4 for the fix. V 13 Jul 2021 · 3 min read