Installing Linux Packages

You can also install Linux packages here. Popular apt and apt-get commands are available. For example, let’s install the htop package on this version of Linux and see what happens. First, open the Linux terminal and run the following command to update the APT package repository cache.

Step 1: Type the following command:

$ sudo apt update

update apt in Linux

Step 2: Now install the htop package using the following command.

$ sudo apt install htop

Installing htop in Linux

Step 3: After successfully installing the htop package, we can simply run and execute htop by following command:

using htop command

Install Windows Subsystem for Linux (WSL)

The Windows Subsystem for Linux (WSL) lets developers run a GNU/Linux environment on Windows, without the overhead of a traditional virtual machine or dual boot setup. This incorporates Linux-like functionality on Windows OS without the overhead of running another OS in parallel, therefore, reducing resource consumption. This makes WSL a go-to choice for people wanting to switch between the two Operating Systems or ones who want to get Linux-like functionality in their Windows OS. WSL2 is a new version of the architecture that allows you to use Linux on top of Windows 10 natively and replaces WSL. In this article, you will learn how to install WSL2 on Windows 10. 

Similar Reads

Setup of Windows Subsystem for Linux:

Here are some steps to install Windows Subsystem for Linux. We are installing WSL on Windows 10....

Installing Linux Packages:

You can also install Linux packages here. Popular apt and apt-get commands are available. For example, let’s install the htop package on this version of Linux and see what happens. First, open the Linux terminal and run the following command to update the APT package repository cache....

Conclusion:

In this article we discussed the installation of Windows Subsystem for Linux (WSL) on Windows 10 streamlines which incorporation of a GNU/Linux environment without the need for virtual machines or dual boot configurations. WSL optimizes resource usage, making it ideal for users transitioning between operating systems or seeking Linux-like functionality on their Windows OS. The article guides users through the straightforward installation of WSL2, the latest version, offering native Linux usage on Windows 10. It emphasizes the simplicity of the process, allowing users to choose specific Linux distributions like Ubuntu during setup. Enabling the Virtual Machine platform using PowerShell ensures a smooth experience. The article also explores installing Linux packages through WSL, showcasing its compatibility and functionality. Following these steps empowers users to seamlessly integrate Linux capabilities into their Windows environment, enhancing their development workflow....