WhitewaterFoundry / Pengwin-Enterprise

Enterprise-compatible WSL distribution.
Other
63 stars 11 forks source link

can i update the kernel version ? #52

Closed cailiangliang765 closed 2 years ago

cailiangliang765 commented 5 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

crramirez commented 5 years ago

Hello,

No, you can't. With WSL 1 is the Microsoft kernel for Linux compatibility, it only changes with a Windows upgrade. And with WSL 2 the Linux kernel is provided by Microsoft as well.

And to try to help you. Why do you would need to upgrade the WSL's kernel?

Regards

cailiangliang765 commented 5 years ago

Hello,

No, you can't. With WSL 1 is the Microsoft kernel for Linux compatibility, it only changes with a Windows upgrade. And with WSL 2 the Linux kernel is provided by Microsoft as well.

And to try to help you. Why do you would need to upgrade the WSL's kernel?

Regards

I use kernel 5.1.0 on other centos Linux versions.I want to keep the dev environment consistent so I want to upgrade the WSL kernel. Another question, I now purchase and use pengwin enterprise version, what is the difference between it and pengwin? Are there any new features added to pengwin?

sirredbeard commented 5 years ago

You cannot upgrade the kernel because there is no kernel in WSL1, it is a Linux to NT syscall translation layer. You will have to elaborate on why a specific kernel version matters to your development environment. I can see why specific versions of glibc, gcc, clang, etc. would, but most recent kernels should be fine. If your development relies on specific kernel headers or you want to work on the kernel source then you would install them just like you would normally. But there's no kernel running in WSL1 to replace, please see https://www.pengwin.dev/what-is-wsl and https://github.com/sirredbeard/Awesome-WSL.

Pengwin is our main distribution, it has many new features and tools added, including pengwin-setup, please see https://github.com/WhitewaterFoundry/Pengwin-Enterprise#microsoft-store-build.

crramirez commented 5 years ago

Also an important difference is that pengwin enterprise is scientific Linux based compatible with (CentOS, RHEL, Fedora, etc).

Pengwin is Debian based compatible with Ubuntu, Kalo, etc)

cailiangliang765 commented 5 years ago

You cannot upgrade the kernel because there is no kernel in WSL1, it is a Linux to NT syscall translation layer. You will have to elaborate on why a specific kernel version matters to your development environment. I can see why specific versions of glibc, gcc, clang, etc. would, but most recent kernels should be fine. If your development relies on specific kernel headers or you want to work on the kernel source then you would install them just like you would normally. But there's no kernel running in WSL1 to replace, please see https://www.pengwin.dev/what-is-wsl and https://github.com/sirredbeard/Awesome-WSL.

Pengwin is our main distribution, it has many new features and tools added, including pengwin-setup, please see https://github.com/WhitewaterFoundry/Pengwin-Enterprise#microsoft-store-build.

Many thanks for your reply and hoping for wsl2's coming soon !

cailiangliang765 commented 5 years ago

Also an important difference is that pengwin enterprise is scientific Linux based compatible with (CentOS, RHEL, Fedora, etc).

Pengwin is Debian based compatible with Ubuntu, Kalo, etc) Thanks for your information !

sirredbeard commented 5 years ago

WSL2 will be available in the Insiders Fast Ring build in June.