![]() ![]() Once you have installed WSL, you will need to create a user account and password for your newly installed Linux distribution. You can also create your own custom Linux distribution to use with WSL. Or in some cases, as with Arch Linux, you can install using an. To install a Linux distribution that is not listed as available, you can import any Linux distribution using a TAR file. If you run into an issue during the install process, check the installation section of the troubleshooting guide. exe in the command: wsl.exe -install -d or to list available distributions: wsl.exe -l -o. If you want to install additional distributions from inside a Linux/Bash command line (rather than from PowerShell or Command Prompt), you must use. All future launches should take less than a second. The first time you launch a newly installed Linux distribution, a console window will open and you'll be asked to wait for files to de-compress and be stored on your machine. If you're running an older build, or just prefer not to use the install command and would like step-by-step directions, see WSL manual installation steps for older versions. ( This default distribution can be changed). This command will enable the features necessary to run WSL and install the Ubuntu distribution of Linux. Open PowerShell or Windows Command Prompt in administrator mode by right-clicking and selecting "Run as administrator", enter the wsl -install command, then restart your machine. You can now install everything you need to run WSL with a single command. If you are on earlier versions please see the manual install page. You must be running Windows 10 version 2004 and higher (Build 19041 and higher) or Windows 11 to use the commands below. The Windows Subsystem for Linux (WSL) lets developers install a Linux distribution (such as Ubuntu, OpenSUSE, Kali, Debian, Arch Linux, etc) and use Linux applications, utilities, and Bash command-line tools directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup. When you open the UKUU program, you should see a window similar to Figure 1.Developers can access the power of both Windows and Linux at the same time on a Windows machine. To install UKUU you need to open a Terminal and execute the following commands: sudo apt-add-repository -y ppa:teejee2008/ppa So, we need to get the Ubuntu Kernel Update Utility (UKUU). There is also an option to see the changes made to a selected kernel version. As newer updates are released, the utility will list these updates and allow you the option to install them. Ubuntu Distros have a nice utility which can be used to perform updates as well as remove older kernel versions. The command to update the GRUB menu if it is installed is: sudo update-grubĪfter GRUB has been updated you need only to reboot the system and run ‘uname -r’ to verify the kernel change. If GRUB is installed then you need to update the menu system with the new kernel version. The number after the setting is the number of seconds to show the menu before auto-selecting the default option. There is a line which will be useful if you are using an Ubuntu-based system. You do not need to make any changes, only see if the file exists. The file should be opened as ‘Read-Only’ unless you have raised privileges. On a command line you can use the name of the text editor, such as gedit, and use the command: gedit /etc/default/grub NOTE: Change the name ‘gedit’ to the name of your editor. To check if you use GRUB you need to use a text editor. If the menu is not updated, then you will most likely boot using the older kernel. ![]() If you use the GRUB Boot-loader then you will need to update the GRUB menu. Before you reboot you need to check one other thing. To make the update take effect you need to reboot the system. The command will update the kernel and all required dependencies. Open a Terminal and type the following command: sudo yum -y update kernel To update a Red Hat system, specifically CentOS and Fedora, is a simple task. The ‘x86_64’ represents a 64-bit processor using the Intel x86 instruction set. The kernel is version 4 with a major version of 8 and a minor version of 6. The whole kernel version is the first part ‘4.8.6_300’. ![]() ![]() The result may be something like: 4.8.6_86_64 To find the current version run the following command in a Terminal: uname -r It is not necessary, but you may want to know how much of an update is being performed. Checking current kernel versionīefore you update a kernel you should see what version you are currently using. If you have read my other article on “Understanding the Linux Kernel” at then you should have an understanding of the kernel. In most cases the item which is not normally updated is the kernel. Most applications are automatically updated or even manually. Keeping your system up-to-date is a very important process done by most Linux users. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |