Normally, you shouldn’t need Linux at any time, because virtually any software you need is available for Windows. However, on a few occasions I have come across information on the Internet where it is necessary or easier to use Linux than Windows. The concrete case is the Lineage OS script for signature verification, which requires packages such as neck or python. Another case is that of utility node.js, which is used to use Archon Custom Runtime. It is not that these types of packages or programs are not available for Windows. They are, but besides the fact that the information about it is more sufficient for Linux and sometimes it is the only thing that exists, in this operating system the purchase of these packages is easier because they are available in fixed warehouses (something like application stores ) accessible from the same system and which can be installed with a simple command, while for Windows you have to search them on the Internet.
How to get Linux easily on Windows 10
Although you could use Linux on your computer by installing it as an alternative boot system (dual boot) or as a virtual machine using programs such as Virtual Box, this is relatively complex and time consuming. The easiest way is to install the Windows subsystem for Linux or WSL (Windows subsystem for Linux). Microsoft has a comprehensive and easy-to-follow guide in Spanish for this procedure.
There are two methods to install this WSL system: simplified installation and manual installation. In this article I will use manual installation, which allows you to install WSL version 1, because it is the only thing that works or can be installed in versions of Windows 10 old or earlier than the 18362 compilation, as in my case the 17134 compilation.
If you have a newer version of Windows 10, build 18362 further, you can install WSL 2 and even use the simplified installation method, however, WSL 1 should be enough for basic Linux use. Although WSL 2 has more features than WSL 1, Microsoft recommends WSL 1 in some particular cases.
Note: To find out which compilation is Windows 10, type «system information» in the search magnifier next to the start button. Click on the «System Information» result. In the window that will open, where it says «Version», you will find the build number of your Windows. Check also where it says «System type» which indicates «PC based on x64». If it says ARM64, the build number will be different, but you should be able to install at least WSL 1.
Step 1: Run PowerShell on Windows
In the magnifying glass to search next to the Windows start button, type «powershell». In the result that says Windows PowerShell, right-click, and then in the list of options, left-click «Run as administrator.» In the «Do you want to allow this application to make changes to your device» warning window? click «Yes».
Step 2: Install the Windows subsystem for Linux
In the PowerShell window you need to enter the following command and then press the Enter key. Make sure everything is correct, because a single incorrect character will generate an error, as seen in the first part of the image above.
dism.exe / online / enable-feature / featurename: Microsoft-Windows-Subsystem-Linux / all / norestart
Step 3: Restart the computer
Microsoft points it out, so go to the Windows start button, click the «Start» button, and then «Restart.»
Step 4: Download and install the Linux distro
Linux comes in different «variants», variants or distributions for Windows 10. The most popular is Ubuntu, but there are also OpenSUSE, Debian, Fedora, Pengwin, Kali or Alpine, which can be easily downloaded and installed in one click. your computer in the Microsoft Store that is preinstalled on Windows 10. Once on the download screen, just click the «Get» button and the distro will download and install automatically.
Step 5: Run and configure Linux on Windows
When the download and installation is complete, you will see a notification in the Windows 10 message panel. Touch the «Start» button to start the Linux command line.
Configuring Linux is just about setting the username and password of the system.
After you have done all of the above, you are ready to use the Linux command line, as you can see above.
What Linux is for (an example)
In Linux, it is much easier to use command line programs or «packages» that Windows does not offer and that are difficult to install.
For example, LineageOS provides a script that allows you to check the signature of a ROM and know if it is official or not, if you download it from a site other than the lineageos.org site. However, installing this script is relatively complex on Windows, while on Linux you can easily do it in a few commands, as you can see above.
Note: In case you don’t know, the WSL / mnt / c directory is the same as C: / on Windows. In other words, the root directory of the user you created in Linux can be found here in Windows:
C: Users Yourname AppData Local Packages CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc LocalState rootfs home user
The best Android EMULATOR for Windows
The «Andy» Android emulator uses the computer to extract Bitcoins
How to download and install Genymotion, the fastest and most advanced Android emulator