Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kaovilai/rhel9-wsl2
https://github.com/kaovilai/rhel9-wsl2
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kaovilai/rhel9-wsl2
- Owner: kaovilai
- Created: 2023-03-29T17:39:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-29T19:43:24.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T05:55:27.704Z (2 months ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Import and Run RHEL9 Distro on WSL2
## Prerequisites
- Windows 10 Professional version 2004 or later
- WSL2
- Docker installed on WSL2 distro## Importing the Distro
1. Download the exported container `rhel9.tar.gz` from the [latest GitHub release](https://github.com/yourusername/yourrepository/releases).
2. Extract the downloaded `rhel9.tar.gz` file to a directory in your Windows filesystem (e.g., `C:\wslsources`).
3. Open a PowerShell prompt and run the following commands:
```powershell
mkdir c:\wsldistros
cd c:\wsldistros
wsl --import rhel9 ./rhel9 c:\wslsources\rhel9.tar.gz
```# Running the Distro
1. Launch the new RHEL9 distro:
```powershell
wsl -d rhel9
```
2. Check the installed version:
```bash
cat /etc/os-release
```