├── .github └── ISSUE_TEMPLATE │ └── issue-report.md ├── .gitmodules ├── LICENSE ├── LICENSE-3RD-PARTY ├── Makefile ├── README.md ├── appveyor.yml ├── buildAppX.ps1 ├── i18n ├── README_de.md ├── README_es.md ├── README_fr.md ├── README_ja.md ├── README_ko-kr.md ├── README_pt-br.md ├── README_zh-cn.md └── README_zh-tw.md └── preset.json /.github/ISSUE_TEMPLATE/issue-report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Issue report 3 | about: Create a report to help us improve 4 | 5 | --- 6 | 7 | **IMPORTANT** 8 | Please read [README](https://github.com/yuk7/ArchWSL/blob/master/README.md) and [Docs](https://git.io/arch-doc) before creating the issue. 9 | 10 | **Please fill out the below information:** 11 | **Describe the issue** 12 | A clear and concise description of what the bug is. 13 | 14 | **To Reproduce** 15 | Steps to reproduce the behavior: 16 | 17 | **Expected behavior** 18 | A clear and concise description of what you expected to happen. 19 | 20 | **Screenshots** 21 | If applicable, add screenshots to help explain your problem. 22 | 23 | **Enviroment:** 24 | - Windows build number: [e.g. 10.0.17134.228] (Type `ver` at a Command Prompt) 25 | - Security Software: [e.g. ESET Internet Security] 26 | - WSL version 1/2: [e.g. WSL1] 27 | - ArchWSL version [e.g. 19.3.7.0] 28 | - ArchWSL Installer type zip/appx/other clean/update [e.g. appx update] 29 | - Launcher version [e.g. 19030700] (Type `Arch.exe version` at a Command Prompt) 30 | 31 | **Additional context** 32 | Add any other context about the problem here. 33 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "appx"] 2 | path = appx 3 | url = https://github.com/yuk7/ArchWSL.git 4 | branch = appx 5 | [submodule "appx-online"] 6 | path = appx-online 7 | url = https://github.com/yuk7/ArchWSL.git 8 | branch = appx-online 9 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017-2020 yuk7 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /LICENSE-3RD-PARTY: -------------------------------------------------------------------------------- 1 | License overview of included softwares of binary 2 | ----- 3 | wsldl 4 | 5 | The MIT License (MIT) 6 | 7 | ----- 8 | ArchWSL Build script 9 | 10 | The MIT License (MIT) 11 | 12 | ----- 13 | ArchLinux Project 14 | 15 | Free software (GNU GPL and other licenses) 16 | 17 | Please see /usr/share/licenses/common 18 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | OUT_ZIP=Arch.zip 2 | LNCR_EXE=Arch.exe 3 | 4 | DLR=curl 5 | DLR_FLAGS=-L 6 | BASE_URL!=curl -s https://api.github.com/repos/yuk7/ArchWSL-FS/releases | jq -r '.[0].assets[] | select(.name | test("rootfs.tar.gz")) | .browser_download_url' 7 | LNCR_ZIP_URL!=curl -s https://api.github.com/repos/yuk7/wsldl/releases | jq -r '.[0].assets[] | select(.name | test("icons.zip")) | .browser_download_url' 8 | LNCR_ZIP_EXE=Arch.exe 9 | 10 | all: $(OUT_ZIP) 11 | 12 | zip: $(OUT_ZIP) 13 | $(OUT_ZIP): ziproot 14 | @echo -e '\e[1;31mBuilding $(OUT_ZIP)\e[m' 15 | cd ziproot; bsdtar -a -cf ../$(OUT_ZIP) * 16 | 17 | ziproot: Launcher.exe rootfs.tar.gz 18 | @echo -e '\e[1;31mBuilding ziproot...\e[m' 19 | mkdir ziproot 20 | cp Launcher.exe ziproot/${LNCR_EXE} 21 | cp rootfs.tar.gz ziproot/ 22 | 23 | exe: Launcher.exe 24 | Launcher.exe: icons.zip 25 | @echo -e '\e[1;31mExtracting Launcher.exe...\e[m' 26 | bsdtar -xvf icons.zip $(LNCR_ZIP_EXE) 27 | mv $(LNCR_ZIP_EXE) Launcher.exe 28 | 29 | icons.zip: 30 | @echo -e '\e[1;31mDownloading icons.zip...\e[m' 31 | $(DLR) $(DLR_FLAGS) $(LNCR_ZIP_URL) -o icons.zip 32 | 33 | rootfs.tar.gz: 34 | @echo -e '\e[1;31mDownloading rootfs.tar.gz...\e[m' 35 | $(DLR) $(DLR_FLAGS) $(BASE_URL) -o rootfs.tar.gz 36 | 37 | clean: 38 | @echo -e '\e[1;31mCleaning files...\e[m' 39 | -rm ${OUT_ZIP} 40 | -rm -r ziproot 41 | -rm Launcher.exe 42 | -rm icons.zip 43 | -rm rootfs.tar.gz 44 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ArchWSL 2 | ArchLinux on WSL (Windows 10 FCU or later), 3 | based on [wsldl](https://github.com/yuk7/wsldl). 4 | 5 | 6 | ![logo](https://github.com/yuk7/ArchWSL/assets/29954265/469eff8a-e243-4087-a5fa-f8013fc99ee4) 7 | 8 | [![AppVeyor](https://img.shields.io/appveyor/ci/yuk7/ArchWSL.svg?logo=Windows&style=flat-square)](https://ci.appveyor.com/project/yuk7/archwsl) 9 | [![FS-Workflows](https://img.shields.io/github/actions/workflow/status/yuk7/ArchWSL-FS/ci.yml?logo=Linux&style=flat-square)](https://github.com/yuk7/ArchWSL-FS/actions) 10 | [![Github All Releases](https://img.shields.io/github/downloads/yuk7/ArchWSL/total.svg?style=flat-square)](https://github.com/yuk7/ArchWSL/releases/latest) 11 | [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com) 12 | [![License](https://img.shields.io/github/license/yuk7/ArchWSL.svg?style=flat-square)](https://github.com/yuk7/ArchWSL/blob/master/LICENSE) 13 | 14 | [日本語](i18n/README_ja.md) | [简体中文](i18n/README_zh-cn.md) | [繁體中文](i18n/README_zh-tw.md) | [Español](i18n/README_es.md) | [Português](i18n/README_pt-br.md) | [한국어](i18n/README_ko-kr.md) | [Deutsch](i18n/README_de.md) | [French](i18n/README_fr.md) 15 | 16 | ### [⬇Download](https://github.com/yuk7/ArchWSL/releases/latest) | [📓Docs](https://wsldl-pg.github.io/ArchW-docs/) 17 | 18 | ## 💻Requirements 19 | * Windows 10 1709 FCU x64 or later/ Windows 11 x64. 20 | * Windows Subsystem for Linux feature is enabled. 21 | 22 | ## 💾Install 23 | **For more details, refer to [docs](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup)**. 24 | 25 | **※IF YOU USE WSL1, YOU MUST REPLACE GLIBC PACKAGE ON THE FIRST RUN OF INSTANCE, Please refer to [docs](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup)** 26 | 27 | ### 📁zip 28 | #### 1. [Download](https://github.com/yuk7/ArchWSL/releases/latest) installer zip file. 29 | 30 | #### 2. Extract all files in the zip file to the same directory. 31 | Please extract to a folder that you have full access permission. 32 | For example, 'Program Files' can not be used. 33 | 34 | #### 3. Run Arch.exe to Extract rootfs and Register to WSL. 35 | Also, the name of the EXE file is used as the name of your WSL instance. 36 | That means, if you copy multiple EXE files and rename them to different names, you can have multiple different ArchWSL at the same time without conflict. 37 | 38 | #### 4. Initialize keyring of the pacman. (Optional) 39 | This is not required, but you will need to do this if you want to use pacman. 40 | See [docs](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup/#initialize-keyring). 41 | 42 | ### 📦appx 43 | #### 1. [Download](https://github.com/yuk7/ArchWSL/releases/latest) installer appx and cer file. 44 | #### 2. Install cer file to "Trusted People" of the local machine. 45 | For more details about this, please refer to [docs](https://wsldl-pg.github.io/ArchW-docs/Install-Certificate). 46 | 47 | You'll need administrator privileges to install the certificate! 48 | #### 3. Double-click, install the appx file. 49 | 50 | ### 🥄 Scoop 51 | #### 1. `scoop bucket add extras ` 52 | #### 2. `scoop install archwsl ` 53 | 54 | ## 📝How-to-Use(for Installed Instance) 55 | #### exe Usage 56 | ```dos 57 | Usage : 58 | 59 | - Open a new shell with your default settings. 60 | Inherit current directory (with exception that %%USERPROFILE%% is changed to $HOME). 61 | 62 | run 63 | - Run the given command line in that instance. Inherit current directory. 64 | 65 | runp 66 | - Run the given command line in that instance after converting its path. 67 | 68 | config [setting [value]] 69 | - `--default-user `: Set the default user of this instance to . 70 | - `--default-uid `: Set the default user uid of this instance to . 71 | - `--append-path `: Switch of Append Windows PATH to $PATH 72 | - `--mount-drive `: Switch of Mount drives 73 | - `--wsl-version <1|2>`: Set the WSL version of this instance to <1 or 2> 74 | - `--default-term `: Set default type of terminal window. 75 | 76 | get [setting [value]] 77 | - `--default-uid`: Get the default user uid in this instance. 78 | - `--append-path`: Get true/false status of Append Windows PATH to $PATH. 79 | - `--mount-drive`: Get true/false status of Mount drives. 80 | - `--wsl-version`: Get the version os the WSL (1/2) of this instance. 81 | - `--default-term`: Get Default Terminal type of this instance launcher. 82 | - `--wt-profile-name`: Get Profile Name from Windows Terminal 83 | - `--lxguid`: Get WSL GUID key for this instance. 84 | 85 | backup [file name] 86 | - `*.tar`: Output backup tar file. 87 | - `*.tar.gz`: Output backup tar.gz file. 88 | - `*.ext4.vhdx`: Output backup ext4.vhdx file. (WSL2 only) 89 | - `*.ext4.vhdx.gz`: Output backup ext4.vhdx.gz file. (WSL2 only) 90 | - `*.reg`: Output settings registry file. 91 | 92 | clean 93 | - Uninstall that instance. 94 | 95 | help 96 | - Print this usage message. 97 | ``` 98 | 99 | ## ⬆️Update 100 | ### 📁zip 101 | #### 1. [Download](https://github.com/yuk7/ArchWSL/releases/latest) installer zip file. 102 | #### 2. Extract exe file and `rootfs.tar.gz` from zip file and overwrite your existing ones. 103 | 104 | ### 📦appx 105 | #### 1. [Download](https://github.com/yuk7/ArchWSL/releases/latest) installer appx file. 106 | #### 2. Double-click to install the update. 107 | 108 | ## 🚫Known issues 109 | See [docs](https://wsldl-pg.github.io/ArchW-docs/). 110 | -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- 1 | os: Visual Studio 2017 2 | 3 | environment: 4 | appx_ver: 25.3.19.0 5 | wsldl_ver: 25031900 6 | fs_ver: 25030100 7 | pfx_secret: 8 | secure: XlXaj3gSIBd9YNKz8zuI9dtBJIoq+TTwj3HkWyyXzUTuk5b/Ur7OY2abhV9zNacetbLJKfKQSYJQLIUF9uNAFHMZoDdAKK6rq2Uzii+JB3KBaWg7w5iIfdJKD6/LD3TYjVUzQPYzEGMC45s6adk8ru3CR2kDJzhvrvqf93pL55E= 9 | 10 | install: 11 | - cmd: git submodule init 12 | - cmd: git submodule update 13 | - ps: iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1')) 14 | - cmd: appveyor-tools\secure-file -decrypt appx\wsldl-AppX\wsldl-AppX_TemporaryKey.pfx.enc -secret %pfx_secret% 15 | - cmd: appveyor-tools\secure-file -decrypt appx-online\wsldl-AppX\wsldl-AppX_TemporaryKey.pfx.enc -secret %pfx_secret% 16 | 17 | before_build: 18 | - ps: Invoke-WebRequest https://github.com/yuk7/wsldl/releases/download/${env:wsldl_ver}/icons.zip -OutFile icons.zip -UseBasicParsing 19 | - ps: Expand-Archive icons.zip -DestinationPath appx\wsldl-AppX\ 20 | - ps: Copy-Item appx\wsldl-AppX\Arch.exe appx-online\wsldl-AppX\Arch.exe 21 | - ps: Invoke-WebRequest https://github.com/yuk7/ArchWSL-FS/releases/download/${env:fs_ver}/rootfs.tar.gz -OutFile appx\wsldl-AppX\rootfs.tar.gz -UseBasicParsing 22 | - ps: Move-Item preset.json appx-online\wsldl-AppX\preset.json 23 | - ps: $vtxt = 'Version="'+${env:appx_ver}+'"' 24 | - ps: $file_contents = $(Get-Content "appx\wsldl-AppX\package.appxmanifest") -replace 'Version="19.0.0.0"',$vtxt 25 | - ps: $file_contents | Out-File "appx\wsldl-AppX\package.appxmanifest" -Encoding utf8 26 | - ps: $file_contents = $(Get-Content "appx-online\wsldl-AppX\package.appxmanifest") -replace 'Version="19.0.0.0"',$vtxt 27 | - ps: $file_contents | Out-File "appx-online\wsldl-AppX\package.appxmanifest" -Encoding utf8 28 | 29 | build_script: 30 | - cmd: msbuild appx\wsldl-AppX.sln /p:Configuration=Release;AppxBundle=Never 31 | - cmd: msbuild appx-online\wsldl-AppX.sln /p:Configuration=Release;AppxBundle=Never 32 | - ps: New-Item zip -ItemType Directory 33 | - ps: Move-Item appx\wsldl-AppX\Arch.exe zip\Arch.exe 34 | - ps: Move-Item appx\wsldl-AppX\rootfs.tar.gz zip\rootfs.tar.gz 35 | - ps: Compress-Archive -Path zip\* -DestinationPath Arch.zip 36 | - ps: New-Item zip-online -ItemType Directory 37 | - ps: Move-Item appx-online\wsldl-AppX\Arch.exe zip-online\Arch.exe 38 | - ps: Move-Item appx-online\wsldl-AppX\preset.json zip-online\preset.json 39 | - ps: Compress-Archive -Path zip-online\* -DestinationPath Arch_Online.zip 40 | 41 | after_build: 42 | - ps: New-Item out -ItemType Directory 43 | - ps: Move-Item appx\wsldl-AppX\AppPackages\wsldl-AppX_${env:appx_ver}_x64_Test\wsldl-AppX_${env:appx_ver}_x64.appx out\ArchWSL-AppX_${env:appx_ver}_x64.appx 44 | - ps: Move-Item appx\wsldl-AppX\AppPackages\wsldl-AppX_${env:appx_ver}_x64_Test\wsldl-AppX_${env:appx_ver}_x64.cer out\ArchWSL-AppX_${env:appx_ver}_x64.cer 45 | - ps: Move-Item appx-online\wsldl-AppX\AppPackages\wsldl-AppX_${env:appx_ver}_x64_Test\wsldl-AppX_${env:appx_ver}_x64.appx out\ArchWSL_Online-AppX_${env:appx_ver}_x64.appx 46 | - ps: Move-Item appx-online\wsldl-AppX\AppPackages\wsldl-AppX_${env:appx_ver}_x64_Test\wsldl-AppX_${env:appx_ver}_x64.cer out\ArchWSL_Online-AppX_${env:appx_ver}_x64.cer 47 | - ps: Move-Item Arch.zip out\Arch.zip 48 | - ps: Move-Item Arch_Online.zip out\Arch_Online.zip 49 | - ps: Get-ChildItem out -File | Get-FileHash -Algorithm SHA256 | ForEach-Object { $_.hash.toLower() + " " + ($_.path | Split-Path -Leaf) } | Tee-Object -FilePath out\sha256sums.txt 50 | 51 | artifacts: 52 | - path: 'out\*.appx' 53 | - path: 'out\*.cer' 54 | - path: 'out\Arch.zip' 55 | - path: 'out\Arch_Online.zip' 56 | - path: 'out\sha256sums.txt' 57 | 58 | deploy: 59 | - provider: GitHub 60 | auth_token: 61 | secure: KY9JrjtTwT5TC0VcxM0KOKhhngN0sYwfACI25aF+EKK/YYZOyGEPotyLvHZpCkfy 62 | on: 63 | appveyor_repo_tag: true 64 | -------------------------------------------------------------------------------- /buildAppX.ps1: -------------------------------------------------------------------------------- 1 | $appx_ver="20.11.25.0" 2 | $wsldl_ver="20112500" 3 | $fs_ver="20101600" 4 | 5 | $wsldl_zip="icons.zip" 6 | $wsldl_url="https://github.com/yuk7/wsldl/releases/download/${wsldl_ver}/${wsldl_zip}" 7 | $fs_rootfs="rootfs.tar.gz" 8 | $fs_url="https://github.com/yuk7/ArchWSL-FS/releases/download/${fs_ver}/${fs_rootfs}" 9 | 10 | 11 | $ErrorActionPreference = "Stop" 12 | Invoke-WebRequest ${wsldl_url} -OutFile icons.zip -UseBasicParsing 13 | Expand-Archive icons.zip -DestinationPath appx\wsldl-AppX\ 14 | Invoke-WebRequest ${fs_url} -OutFile appx\wsldl-AppX\rootfs.tar.gz -UseBasicParsing 15 | $vtxt = 'Version="'+${env:appx_ver}+'"' 16 | $file_contents = $(Get-Content "appx\wsldl-AppX\package.appxmanifest") -replace 'Version="19.0.0.0"',$vtxt 17 | $file_contents | Out-File "appx\wsldl-AppX\package.appxmanifest" -Encoding utf8 -------------------------------------------------------------------------------- /i18n/README_de.md: -------------------------------------------------------------------------------- 1 | # ArchWSL 2 | ArchLinux on WSL (Windows 10 FCU oder später), 3 | based on [wsldl](https://github.com/yuk7/wsldl). 4 | 5 | 6 | ![screenshot](https://raw.githubusercontent.com/wiki/yuk7/wsldl/img/Arch_Alpine_Ubuntu.png) 7 | 8 | [![AppVeyor](https://img.shields.io/appveyor/ci/yuk7/ArchWSL.svg?logo=Windows&style=flat-square)](https://ci.appveyor.com/project/yuk7/archwsl) 9 | [![FS-Workflows](https://img.shields.io/github/workflow/status/yuk7/ArchWSL-FS/Continuous%20Integration?logo=Linux&style=flat-square)](https://github.com/yuk7/ArchWSL-FS/actions) 10 | [![Github Alle veröffentlichungen](https://img.shields.io/github/downloads/yuk7/ArchWSL/total.svg?style=flat-square)](https://github.com/yuk7/ArchWSL/releases/latest) 11 | [![PRs sind Wilkommen](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com) 12 | [![Lizenz](https://img.shields.io/github/license/yuk7/ArchWSL.svg?style=flat-square)](https://github.com/yuk7/ArchWSL/blob/master/LICENSE) 13 | 14 | [日本語](i18n/README_ja.md) | [简体中文](i18n/README_zh-cn.md) | [繁體中文](i18n/README_zh-tw.md) | [Español](i18n/README_es.md) | [Português](i18n/README_pt-br.md) | [한국어](i18n/README_ko-kr.md) | [English](README.md) 15 | 16 | ### [⬇Download](https://github.com/yuk7/ArchWSL/releases/latest) | [📓Dokumentation](https://wsldl-pg.github.io/ArchW-docs/) 17 | 18 | ## 💻Requirements 19 | * Windows 10 1709 FCU x64 oder später/ Windows 11 x64. 20 | * Windows Subsystem für Linux feature muss aktiviert sein. 21 | 22 | ## 💾Install 23 | **Für mehr Deteils, lese dies [Dokumentation](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup)**. 24 | 25 | **※WENN DU WSL1 VERWENDEST, MUSST DU, VOR DEM ERSTEN START DER INSTANZ, DAS GLIBC PAKET AUSTAUSCHEN, lese hierfür die [Dokumentation](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup)** 26 | 27 | ### 📁zip 28 | #### 1. Lade die installations Datei im ZIP Format herunter. [Downloads](https://github.com/yuk7/ArchWSL/releases/latest). 29 | 30 | #### 2. Entpacke alle Dateien aus dem ZIP-Archiv in den selben Ordner. 31 | Bitte entpacke das ZIP-Archiv in einen Ordner für den du den Vollzugriff besitzt. 32 | Als Beispiel: 'Program Files' kann nicht genutzt werden. 33 | 34 | #### 3. Führe Arch.exe aus um das rootfs zu entpacken und die Instance in WSL zu registrieren. 35 | Zudem wird der name der EXE-Datei als Namen für die WSL Instanz genutzt. 36 | Das bedeutet, dass wenn du die EXE-Datei kopierst und jedes mal umbenennst, kannst du, ohne Probleme, mehrere ArchWSL Instanzen haben. 37 | 38 | #### 4. Initsialisiere Pacman's Keyring. (Optional) 39 | Diesen schritt musst du nur durchführen, wenn du pacman nutzen möchtest. 40 | Siehe die [Dokumentation](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup/#initialize-keyring). 41 | 42 | ### 📦appx 43 | #### 1. Lade die appx und cer Datei herunter. [Download](https://github.com/yuk7/ArchWSL/releases/latest). 44 | #### 2. Installiere die cer Datei als "Vertauenswürdigen Personen" mit dem Speicherort "Lokalen Computer". 45 | Für weitere Informationen, siehe die [Dokumentation](https://wsldl-pg.github.io/ArchW-docs/Install-Certificate) zu rate. 46 | Damit du das Zertifikat installieren kannst, benötigst du Administratorrechte. 47 | 48 | #### 3. Doppelklicke die appx Datei um sie zu installieren. 49 | 50 | ### 🥄 Scoop 51 | #### 1. `scoop bucket add extras ` 52 | #### 2. `scoop install archwsl ` 53 | 54 | ## 📝Wie wird es verwendet (für installierte Instanzen) 55 | #### exe Benutzung 56 | ```dos 57 | Benutzung: 58 | 59 | - Öffnet eine neue Konsole mit den standard Einstellungen. 60 | 61 | run 62 | - Führt den Befehl in der Instanz aus. Dabei wird der aktuelle Ordner als Ausführungspunkt verwendet. 63 | 64 | runp 65 | - Führt den Befehl in der Instanz aus nachdem der Windows Path eingebunden wurde. 66 | 67 | config [einstellung [wert]] 68 | - `--default-user `: Setzt den standard Benutzer der Instanz zu . 69 | - `--default-uid `: Setzt die standard uid der Instanz auf . 70 | - `--append-path `: Schalter um zu entscheiden, ob der Windows Path nach $PATH eingepflegt werden soll. 71 | - `--mount-drive `: Schalter um zu entscheiden, ob die Laufwerke eingebunden werden sollen. 72 | - `--wsl-version <1|2>`: Setzt die zu verwendene WSL Version der Instanz <1 oder 2> 73 | - `--default-term `: Entscheidet welcher Terminal Typ verwendet werden soll. 74 | 75 | get [setting] 76 | - `--default-uid`: Gibt die standard Nutzer uid aus. 77 | - `--append-path`: Gibt aus ob der Windows Path eingepflegt wird. 78 | - `--mount-drive`: Gibt aus ob die Laufwerke eingebunden werden. 79 | - `--wsl-version`: Gibt die aktuell verwendete WSL Version aus. 80 | - `--default-term`: Gibt dem Terminal Typ aus. 81 | - `--lxguid`: Gibt den WSL GUID Schlüssel für diese Instanz aus. 82 | 83 | backup [contents] 84 | - `--tar`: Erstellt eine Backup Namens backup.tar in dem aktuellen Ordner. 85 | - `--tgz`: Erstellt eine Backup Namens backup.tar.gz in dem aktuellen Ordner. 86 | - `--vhdx`: Erstellt eine Backup Namens backup.ext4.vhdx in dem aktuellen Ordner. (WSL2 only) 87 | - `--vhdxgz`: Erstellt eine Backup Namens backup.ext4.vhdx.gz in dem aktuellen Ordner. (WSL2 only) 88 | - `--reg`: Erstellt eine Backup Einstellungen als Registry Datei in dem aktuellen Ordner. 89 | 90 | clean 91 | - Deinstalliert die aktuelle Instanz. 92 | 93 | help 94 | - Zeigt diese Hilfe seite. 95 | ``` 96 | 97 | ## ⬆️Update 98 | ### 📁zip 99 | #### 1. Lade die ZIP-Datei herunter. [Download](https://github.com/yuk7/ArchWSL/releases/latest). 100 | #### 2. Entpacke die exe-Datei und die Datei namens `rootfs.tar.gz` und überschreibe damit die alten in dem Ordner der Instanz. 101 | 102 | ### 📦appx 103 | #### 1. Lade die appx-Datei herunter. [Download](https://github.com/yuk7/ArchWSL/releases/latest). 104 | #### 2. Doppelklicke die Datei um das Update zu installieren. 105 | 106 | ## 🚫Bekante Fehler 107 | Siehe [Dokumentation](https://wsldl-pg.github.io/ArchW-docs/). 108 | -------------------------------------------------------------------------------- /i18n/README_es.md: -------------------------------------------------------------------------------- 1 | 2 | # ArchWSL 3 | ArchLinux en WSL (Windows 10 FCU o más reciente) 4 | basado en [wsldl](https://github.com/yuk7/wsldl) 5 | 6 | 7 | ![screenshot](https://raw.githubusercontent.com/wiki/yuk7/wsldl/img/Arch_Alpine_Ubuntu.png) 8 | 9 | [日本語](https://github.com/yuk7/ArchWSL/blob/master/README_ja.md) | [简体中文](https://github.com/yuk7/ArchWSL/blob/master/README_zh-cn.md) | [繁體中文](https://github.com/yuk7/ArchWSL/blob/master/README_zh-tw.md) | [Español](https://github.com/yuk7/ArchWSL/blob/master/README_es.md) | [Deutsch](i18n/README_de.md) 10 | 11 | ### [⬇Descarga](https://github.com/yuk7/ArchWSL/releases/latest) | [📓Documentación](https://git.io/arch-doc) 12 | 13 | ## 💻Requisitos 14 | * Windows 10 1709 Fall Creators Update de 64bit o más reciente. 15 | * Que la función de subsistema de Windows para Linux esté activada. 16 | 17 | ## 💾Instalación 18 | **[Para más detalles, consulta la documentación](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup)** 19 | ### 📁zip 20 | #### 1. [Descarga](https://github.com/yuk7/ArchWSL/releases/latest) el instalador .zip 21 | 22 | #### 2. Extrae todos los archivos del zip en la misma carpeta 23 | Extraelo en un carpeta en la que tengas acceso completo 24 | Por ejemplo, la carpeta 'Archivos de Programa' no puede ser usado. 25 | 26 | #### 3. Ejecuta Arch.exe para extraer rootfs y registrarlo en WSL 27 | El nombre del .exe se utilizara para registrar la instancia 28 | Si cambias el nombre del .exe, puedes registrarlo con otro nombre y con múltiples instalaciones. 29 | 30 | ### 📦appx 31 | #### 1. [Descarga](https://github.com/yuk7/ArchWSL/releases/latest) el instalador de .appx y .cer 32 | #### 2. Instala el .cer en "Trusted Root Certification Authorities" de la maquina local 33 | [Para más detalles, consulta la documentación](https://wsldl-pg.github.io/ArchW-docs/Install-Certificate) 34 | 35 | Necesitaras permisos de administrador para instalar el certificado 36 | #### 3. Instala el .appx 37 | 38 | ### 🥄 Scoop 39 | `scoop bucket add extras ` 40 | 41 | `scoop install archwsl ` 42 | 43 | ## 📝Como usar (Para instancias ya instaladas) 44 | #### uso del .exe 45 | ```dos 46 | Usage : 47 | 48 | - Abre una nueva consola con tus configuraciones 49 | 50 | run 51 | - Ejecuta el comando puesto en esa distribución. Hereda el directorio actual. 52 | 53 | runp 54 | - Ejecuta la ruta traducida del comando en esa distribución. 55 | 56 | config [setting [value]] 57 | - `--default-user `: Establece el usuario por defecto de esta distribución 58 | - `--default-uid `: Establece la UID del usuario por defecto de esta distribución 59 | - `--append-path `: Cambia el anexo de windows entre PATH a $PATH 60 | - `--mount-drive `: Cambia los dispositivos montados 61 | - `--default-term `: Cambia el terminal usado por defecto 62 | 63 | get [setting] 64 | - `--default-uid`: Obtiene la UID del usuario por defecto de esta distribución 65 | - `--append-path`: Obtiene el estado del anexo de windows entre PATH a $PATH 66 | - `--mount-drive`: Obtiene el estado de los dispositivos montados 67 | - `--wsl-version`: Obtiene la version de WSL de esta distribución (1 o 2) 68 | - `--default-term`: Obtiene el terminal usado por defecto 69 | - `--lxguid`: Obtiene la WSL GUID de esta distribución 70 | 71 | backup [contents] 72 | - `--tar`: Salida de backup.tar en la carpeta actual 73 | - `--reg`: Salida del archivo de registro en la carpeta actual 74 | 75 | clean 76 | - Desinstala la distribución. 77 | 78 | help 79 | - Muestra este mensaje. 80 | ``` 81 | 82 | ## ⬆️Actualizar 83 | ### 📁zip 84 | #### 1. [Descarga](https://github.com/yuk7/ArchWSL/releases/latest) el instalador .zip 85 | #### 2. Extrae los archivos .exe y rootfs.tar.gz del .zip y sobreescribe los que ya existen. 86 | 87 | ### 📦appx 88 | #### 1. [Descarga](https://github.com/yuk7/ArchWSL/releases/latest) el instalador .appx 89 | #### 2. Sobrescribe la instalación de .appx 90 | 91 | ## 🚫Fallos conocidos 92 | Por favor ve la [documentación](https://git.io/arch-doc). 93 | -------------------------------------------------------------------------------- /i18n/README_fr.md: -------------------------------------------------------------------------------- 1 | # ArchWSL 2 | ArchLinux sur WSL (Windows 10 FCU ou version ultérieure), basé sur [wsldl](https://github.com/yuk7/wsldl). 3 | 4 | ![logo](https://github.com/yuk7/ArchWSL/assets/29954265/469eff8a-e243-4087-a5fa-f8013fc99ee4) 5 | 6 | [![AppVeyor](https://img.shields.io/appveyor/ci/yuk7/ArchWSL.svg?logo=Windows&style=flat-square)](https://ci.appveyor.com/project/yuk7/archwsl) 7 | [![FS-Workflows](https://img.shields.io/github/actions/workflow/status/yuk7/ArchWSL-FS/ci.yml?logo=Linux&style=flat-square)](https://github.com/yuk7/ArchWSL-FS/actions) 8 | [![Github All Releases](https://img.shields.io/github/downloads/yuk7/ArchWSL/total.svg?style=flat-square)](https://github.com/yuk7/ArchWSL/releases/latest) 9 | [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com) 10 | [![License](https://img.shields.io/github/license/yuk7/ArchWSL.svg?style=flat-square)](https://github.com/yuk7/ArchWSL/blob/master/LICENSE) 11 | 12 | [English](../README.md) | [日本語](README_ja.md) | [简体中文](README_zh-cn.md) | [繁體中文](README_zh-tw.md) | [Español](README_es.md) | [Português](README_pt-br.md) | [한국어](README_ko-kr.md) | [Deutsch](README_de.md) 13 | 14 | ### [⬇Télécharger](https://github.com/yuk7/ArchWSL/releases/latest) | [📓Documentation](https://wsldl-pg.github.io/ArchW-docs/) 15 | 16 | ## 💻Pré-requis 17 | * Windows 10 1709 FCU x64 ou version ultérieure / Windows 11 x64. 18 | * La fonctionnalité Windows Subsystem for Linux doit être activée. 19 | 20 | ## 💾Installation 21 | **Pour plus de détails, veuillez vous référer à la [documentation](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup)**. 22 | 23 | **※SI VOUS UTILISEZ WSL1, VOUS DEVEZ REMPLACER LE PAQUET GLIBC LORS DU PREMIER LANCEMENT DE L'INSTANCE. Veuillez consulter la [documentation](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup)** 24 | 25 | ### 📁zip 26 | #### 1. [Téléchargez](https://github.com/yuk7/ArchWSL/releases/latest) le fichier zip de l'installateur. 27 | 28 | #### 2. Extrayez tous les fichiers du fichier zip dans le même répertoire. 29 | Veuillez extraire dans un dossier auquel vous avez un accès complet. Par exemple, 'Program Files' ne peut pas être utilisé. 30 | 31 | #### 3. Exécutez Arch.exe pour extraire rootfs et enregistrer dans WSL. 32 | De plus, le nom du fichier EXE est utilisé comme nom de votre instance WSL. Cela signifie que si vous copiez plusieurs fichiers EXE et les renommez avec des noms différents, vous pouvez avoir plusieurs instances ArchWSL différentes en même temps sans conflit. 33 | 34 | #### 4. Initialisez la clé de signature de pacman. (Optionnel) 35 | Ce n'est pas obligatoire, mais vous devrez le faire si vous souhaitez utiliser pacman. 36 | Voir [documentation](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup/#initialize-keyring). 37 | 38 | ### 📦appx 39 | #### 1. [Téléchargez](https://github.com/yuk7/ArchWSL/releases/latest) le fichier appx de l'installateur et le fichier cer. 40 | #### 2. Installez le fichier cer dans "Personnes de confiance" de l'ordinateur local. 41 | Pour plus de détails à ce sujet, veuillez consulter la [documentation](https://wsldl-pg.github.io/ArchW-docs/Install-Certificate). 42 | 43 | Vous aurez besoin de privilèges administrateur pour installer le certificat ! 44 | #### 3. Double-cliquez pour installer le fichier appx. 45 | 46 | ### 🥄 Scoop 47 | #### 1. `scoop bucket add extras ` 48 | #### 2. `scoop install archwsl ` 49 | 50 | ## 📝Comment utiliser (pour une instance installée) 51 | #### Utilisation de exe 52 | ```dos 53 | Usage : 54 | 55 | - Ouvrez un nouveau shell avec vos paramètres par défaut. 56 | 57 | run 58 | - Exécutez la ligne de commande donnée dans cette instance. Hérite du répertoire courant. 59 | 60 | runp 61 | - Exécutez la ligne de commande donnée dans cette instance après conversion de son chemin. 62 | 63 | config [setting [value]] 64 | - `--default-user `: Définit l'utilisateur par défaut de cette instance sur . 65 | - `--default-uid `: Définit l'uid utilisateur par défaut de cette instance sur . 66 | - `--append-path `: Active/Désactive l'ajout du chemin Windows à $PATH. 67 | - `--mount-drive `: Active/Désactive le montage des disques. 68 | - `--wsl-version <1|2>`: Définit la version WSL de cette instance à <1 ou 2>. 69 | - `--default-term `: Définit le type de fenêtre de terminal par défaut. 70 | 71 | get [setting] 72 | - `--default-uid`: Obtenez l'uid utilisateur par défaut dans cette instance. 73 | - `--append-path`: Obtenez le statut true/false de l'ajout du chemin Windows à $PATH. 74 | - `--mount-drive`: Obtenez le statut true/false du montage des disques. 75 | - `--wsl-version`: Obtenez la version de WSL (1/2) de cette instance. 76 | - `--default-term`: Obtenez le type de terminal par défaut de cette instance. 77 | - `--lxguid`: Obtenez la clé GUID WSL pour cette instance. 78 | 79 | backup [contents] 80 | - `--tar`: Exporte backup.tar vers le répertoire courant. 81 | - `--tgz`: Exporte backup.tar.gz vers le répertoire courant. 82 | - `--vhdx`: Exporte backup.ext4.vhdx vers le répertoire courant. (WSL2 seulement) 83 | - `--vhdxgz`: Exporte backup.ext4.vhdx.gz vers le répertoire courant. (WSL2 seulement) 84 | - `--reg`: Exporte le fichier de registre des paramètres vers le répertoire courant. 85 | 86 | clean 87 | - Désinstalle cette instance. 88 | 89 | help 90 | - Affiche ce message d'utilisation. 91 | ``` 92 | 93 | ## ⬆️️Mise à jour 94 | ### 📁zip 95 | #### 1. [Téléchargez](https://github.com/yuk7/ArchWSL/releases/latest) le fichier zip de l'installateur. 96 | #### 2. Extrayez le fichier exe et `rootfs.tar.gz` du fichier zip et écrasez vos fichiers existants. 97 | 98 | ### 📦appx 99 | #### 1. [Téléchargez](https://github.com/yuk7/ArchWSL/releases/latest) le fichier appx de l'installateur. 100 | #### 2. Double-cliquez pour installer la mise à jour. 101 | 102 | ## 🚫Problèmes connus 103 | Voir [documentation](https://wsldl-pg.github.io/ArchW-docs/). 104 | -------------------------------------------------------------------------------- /i18n/README_ja.md: -------------------------------------------------------------------------------- 1 | # ArchWSL 2 | Arch LinuxベースのWSLディストリビューション (Windows 10 FCU以降対応/[wsldl](https://github.com/yuk7/wsldl)ベース) 3 | 4 | ![screenshot](https://raw.githubusercontent.com/wiki/yuk7/wsldl/img/Arch_Alpine_Ubuntu.png) 5 | 6 | [English](https://github.com/yuk7/ArchWSL/blob/master/README.md) | [Deutsch](i18n/README_de.md) 7 | 8 | ### [⬇Download](https://github.com/yuk7/ArchWSL/releases/latest) | [📓Docs](https://git.io/arch-doc) 9 | 10 | ## 💻システム要件 11 | * Windows 10 1709 Fall Creators Update x64以上 12 | * Windows Subsystem for Linux機能が有効であること. 13 | 14 | ## 💾インストール 15 | **詳細は[docs](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup)を参照してください** 16 | 17 | **※WSL1を使用する場合は初回起動時にglibcパッケージを必ず置き換える必要があります、[docs](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup)を参照してください** 18 | 19 | ### 📁zipバージョン 20 | このバージョンの場合は、複数インストールや任意名でのインストール等の機能が使用可能です 21 | #### 1. zipファイルを[ダウンロード](https://github.com/yuk7/ArchWSL/releases/latest) 22 | 23 | #### 2. zip内のファイルをすべて同じ場所に展開 24 | フルアクセス権が付与されたフォルダにインストールしてください。 25 | たとえば、'Program Files'は使えません。 26 | 27 | #### 3. Arch.exeを実行してWSLにインストールします。 28 | exeのファイル名はインストール名に使用されます。 29 | リネームすることでご自由な名前でインストールすることが出来、複数インストールも可能です。 30 | 31 | ### 📦appxバージョン 32 | このバージョンの場合は、ストアアプリパッケージとしてインストール/管理できます。 33 | #### 1. .appxと署名ファイル.cerを[ダウンロード](https://github.com/yuk7/ArchWSL/releases/latest) 34 | #### 2. .cerを信頼されたルート証明書としてインストール 35 | 「ローカルコンピューター」 の 「信頼されたルート証明機関」を手動で選択してインストールしてください。 36 | 37 | 詳細手順は[ドキュメントを参照してください](https://wsldl-pg.github.io/ArchW-docs/Install-Certificate)を参照 38 | #### 3. .appxをインストール 39 | 40 | ### 🥄 Scoop 41 | `scoop bucket add extras ` 42 | 43 | `scoop install archwsl ` 44 | 45 | ## 📝使い方(インストール後) 46 | #### exe Usage 47 | ```dos 48 | Usage : 49 | <引数なし> 50 | - デフォルト設定で新しいシェルを起動します 51 | 52 | run 53 | - 与えられたコマンドラインをインスタンス内で実行します。 カレントディレクトリが引き継がれます。 54 | 55 | runp 56 | - 与えられたコマンドラインのパスを変換した上でインスタンス内で実行します。 57 | 58 | config [setting [value]] 59 | - `--default-user `: インスタンスのデフォルトユーザーをに設定します。 60 | - `--default-uid `: インスタンスのデフォルトユーザーのuidをに設定します。 61 | - `--append-path `: Windows側のPATH設定をLinux側に引き継ぐ機能のtrue/falseを設定します。 62 | - `--mount-drive `: Windowsのドライブをマウントする機能のtrue/falseを設定します。 63 | - `--wsl-version <1|2>`: インスタンスのWSLバージョンの1/2を設定します。 64 | - `--default-term `: デフォルトのターミナルを設定します。 65 | 66 | get [setting] 67 | - `--default-uid`: インスタンスのデフォルトユーザーのuidを取得します。 68 | - `--append-path`: Windows側のPATH設定をLinux側に引き継ぐ機能のtrue/falseを確認します。 69 | - `--mount-drive`: Windowsのドライブをマウントする機能のtrue/falseを確認します。 70 | - `--wsl-version`: WSLのバージョン(1/2)を確認します。 71 | - `--default-term`: このランチャーに設定されたデフォルトのターミナルを確認します。 72 | - `--lxguid`: システム内部で使用されているLxGUIDを取得します。 73 | 74 | backup [contents] 75 | - `--tar`: カレントディレクトリにbackup.tarを出力します。 76 | - `--tar`: カレントディレクトリにbackup.tarを出力します。 77 | - `--tgz`: カレントディレクトリにbackup.tar.gzを出力します。 78 | - `--vhdx`: カレントディレクトリにbackup.ext4.vhdxを出力します。 (WSL2のみ) 79 | - `--vhdxgz`: カレントディレクトリにbackup.ext4.vhdx.gzを出力します。 (WSL2のみ) 80 | - `--reg`: 設定のレジストリファイルをbackup.regとしてカレントディレクトリに出力します。 81 | 82 | clean 83 | - インスタンスをアンインストールします。 84 | 85 | help 86 | - helpを表示します。 87 | ``` 88 | 89 | ## 🚫既知の問題 90 | [Docs](https://git.io/arch-doc)を参照してください。 91 | -------------------------------------------------------------------------------- /i18n/README_ko-kr.md: -------------------------------------------------------------------------------- 1 | # ArchWSL 2 | 3 | WSL 환경 (Windows 10 FCU 버전 이상)에서 실행되는, [wsldl](https://github.com/yuk7/wsldl) 기반의 Arch Linux 배포판입니다. 4 | 5 | ![screenshot](https://raw.githubusercontent.com/wiki/yuk7/wsldl/img/Arch_Alpine_Ubuntu.png) 6 | 7 | [English](https://github.com/yuk7/ArchWSL/blob/master/README.md) | [日本語](i18n/README_ja.md) | [简体中文](i18n/README_zh-cn.md) | [繁體中文](i18n/README_zh-tw.md) | [Español](i18n/README_es.md) | [Português](i18n/README_pt-br.md) | [Deutsch](i18n/README_de.md) 8 | 9 | ### [⬇ 다운로드](https://github.com/yuk7/ArchWSL/releases/latest) | [📓 개발 문서](https://wsldl-pg.github.io/ArchW-docs/) 10 | 11 | ## 💻 선행 조건 12 | * Windows 10, 1709 FCU (x64) 또는 그 이상의 버전 / Windows 11 (x64) 13 | * Windows 기능 켜기/끄기에서 'Linux용 Windows 하위 시스템' 기능 활성화 14 | 15 | ## 💾 설치 방법 16 | 17 | **자세한 내용은 [관련 문서](https://wsldl-pg.github.io/ArchW-docs/locale/ko-KR/How-to-Setup)를 참조하세요.** 18 | 19 | ### 📁 zip 20 | 21 | #### 1. [.zip 압축 파일](https://github.com/yuk7/ArchWSL/releases/latest)을 다운로드하세요. 22 | 23 | #### 2. zip 파일에 포함된 모든 파일을 같은 디렉토리에 압축 해제해주세요. 24 | 25 | 쓰기 권한이 있는 경로에 압축 해제해주세요. 26 | 예를 들어, 'C:\Program Files'에는 압축 해제할 수 없습니다. 27 | 28 | #### 3. Arch.exe를 실행해 루트 파일 시스템 (rootfs)을 압축 해제하고 WSL에 새로운 배포판을 등록하세요. 29 | 30 | 이때, `.exe` 파일의 이름은 새로 생성할 WSL 인스턴스의 이름으로 사용되며, 이를 이용해 같은 종류의 배포판을 여러 개 설치 가능합니다. 31 | 32 | ### 📦 appx 33 | 34 | #### 1. [`.appx` 패키지 파일과 `.cer` 인증서 파일](https://github.com/yuk7/ArchWSL/releases/latest)을 다운로드하세요. 35 | 36 | #### 2. `.cer` 인증서 파일을 "Trusted People" 저장소에 설치하세요. 37 | 38 | 자세한 내용은 [관련 문서](https://wsldl-pg.github.io/ArchW-docs/Install-Certificate)를 참조하세요. 39 | 40 | 인증서 설치를 위해서는 관리자 권한이 필요합니다. 41 | 42 | #### 3. .appx 파일을 실행하여 설치를 진행하세요. 43 | 44 | ### 🥄 Scoop 45 | #### 1. `scoop bucket add extras` 46 | #### 2. `scoop install archwsl` 47 | 48 | ## 📝 사용법 (설치된 인스턴스) 49 | 50 | #### .exe 사용법 51 | 52 | ```dos 53 | Usage : 54 | 55 | - Open a new shell with your default settings. 56 | 57 | run 58 | - Run the given command line in that instance. Inherit current directory. 59 | 60 | runp 61 | - Run the given command line in that instance after converting its path. 62 | 63 | config [setting [value]] 64 | - `--default-user `: Set the default user of this instance to . 65 | - `--default-uid `: Set the default user uid of this instance to . 66 | - `--append-path `: Switch of Append Windows PATH to $PATH 67 | - `--mount-drive `: Switch of Mount drives 68 | - `--wsl-version <1|2>`: Set the WSL version of this instance to <1 or 2> 69 | - `--default-term `: Set default type of terminal window. 70 | 71 | get [setting] 72 | - `--default-uid`: Get the default user uid in this instance. 73 | - `--append-path`: Get true/false status of Append Windows PATH to $PATH. 74 | - `--mount-drive`: Get true/false status of Mount drives. 75 | - `--wsl-version`: Get the version os the WSL (1/2) of this instance. 76 | - `--default-term`: Get Default Terminal type of this instance launcher. 77 | - `--lxguid`: Get WSL GUID key for this instance. 78 | 79 | backup [contents] 80 | - `--tar`: Output backup.tar to the current directory. 81 | - `--tgz`: Output backup.tar.gz to the current directory. 82 | - `--vhdx`: Output backup.ext4.vhdx to the current directory. (WSL2 only) 83 | - `--vhdxgz`: Output backup.ext4.vhdx.gz to the current directory. (WSL2 only) 84 | - `--reg`: Output settings registry file to the current directory. 85 | 86 | clean 87 | - Uninstall that instance. 88 | 89 | help 90 | - Print this usage message. 91 | ``` 92 | 93 | ## ⬆️ 업데이트 방법 94 | 95 | ### 📁 zip 96 | 97 | #### 1. [.zip 압축 파일](https://github.com/yuk7/ArchWSL/releases/latest)을 다운로드하세요. 98 | 99 | #### 2. .exe 파일과 루트 파일 시스템 (`rootfs.tar.gz`)을 압축 해제하고, 기존 파일에 덮어쓰세요. 100 | 101 | ### 📦 appx 102 | 103 | #### 1. [`.appx` 패키지 파일](https://github.com/yuk7/ArchWSL/releases/latest)을 다운로드하세요. 104 | 105 | #### 2. .appx 파일을 실행하여 업데이트를 시작하세요. 106 | 107 | ## 🚫 알려진 문제점 108 | [관련 문서](https://wsldl-pg.github.io/ArchW-docs/)를 참조하세요. 109 | -------------------------------------------------------------------------------- /i18n/README_pt-br.md: -------------------------------------------------------------------------------- 1 | # ArchWSL 2 | ArchLinux no WSL (Windows 10 FCU ou posteriores) 3 | com base em [wsldl](https://github.com/yuk7/wsldl) 4 | 5 | 6 | ![screenshot](https://raw.githubusercontent.com/wiki/yuk7/wsldl/img/Arch_Alpine_Ubuntu.png) 7 | 8 | 9 | [![AppVeyor](https://img.shields.io/appveyor/ci/yuk7/ArchWSL.svg?logo=Windows&style=flat-square)](https://ci.appveyor.com/project/yuk7/archwsl) 10 | [![FS-Workflows](https://img.shields.io/github/workflow/status/yuk7/ArchWSL-FS/Continuous%20Integration?logo=Linux&style=flat-square)](https://github.com/yuk7/ArchWSL-FS/actions) 11 | [![Github All Releases](https://img.shields.io/github/downloads/yuk7/ArchWSL/total.svg?style=flat-square)](https://github.com/yuk7/ArchWSL/releases/latest) 12 | [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com) 13 | [![License](https://img.shields.io/github/license/yuk7/ArchWSL.svg?style=flat-square)](https://github.com/yuk7/ArchWSL/blob/master/LICENSE) 14 | 15 | [日本語](./README_ja.md) | [简体中文](./README_zh-cn.md) | [繁體中文](./README_zh-tw.md) | [Español](./README_es.md) | [Deutsch](i18n/README_de.md) 16 | 17 | ### [⬇Download](https://github.com/yuk7/ArchWSL/releases/latest) | [📓Documentações](https://wsldl-pg.github.io/ArchW-docs/) 18 | 19 | ## 💻Requisitos 20 | 21 | * Windows 10 1709 FCU x64 ou posteriores / Windows 11 x64. 22 | * O recurso Windows Subsystem for Linux deve estar habilitado. 23 | * [WSL2](https://docs.microsoft.com/en-us/windows/wsl/install-win10#step-2---check-requirements-for-running-wsl-2) e [pacote do kernel Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10#step-4---download-the-linux-kernel-update-package) . 24 | 25 | ## 💾Instalação 26 | **[Para mais detalhes, consulte a documentação](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup)** 27 | 28 | **※SE VOCÊ USA WSL1, VOCÊ DEVE SUBSTITUIR O PACOTE GLIBC NA PRIMEIRA EXECUÇÃO DA INSTÂNCIA, Consulte [docs](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup)** 29 | 30 | ### 📁zip 31 | #### 1. [Baixe](https://github.com/yuk7/ArchWSL/releases/latest) o instalador zip 32 | 33 | #### 2. Extraia todos os arquivos do arquivo zip para o mesmo diretório; 34 | Por favor, extraia para uma pasta que tenha permissão de acesso total. 35 | Por exemplo, 'Program Files' não pode ser usada. 36 | 37 | #### 3. Execute Arch.exe para extrair rootfs e registrar no WSL. 38 | O nome do arquivo Exe está sendo usado como nome de instância para registrar. 39 | Se você renomeá-lo, poderá se registrar com um nome diferente e ter várias instalações. 40 | 41 | #### 4. Inicialize as chaves do pacman. (Opcional) 42 | Isso não é obrigatório, mas você precisará fazer isso se quiser usar o pacman. 43 | Vejá [docs](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup/#initialize-keyring). 44 | 45 | ### 📦appx 46 | #### 1. [Baixe](https://github.com/yuk7/ArchWSL/releases/latest) o instalador `.appx` e `.cer` 47 | #### 2. Instale `.cer` para "Autoridades de certificação raíz confiáveis" (Trusted Root Certification Authorities) da máquina local 48 | [Para obter detalhes, por favor, consulte a documentação](https://wsldl-pg.github.io/ArchW-docs/Install-Certificate). 49 | 50 | Você precisa de privilégios de administrador para instalar o certificado. 51 | #### 3. Instale o `.appx` 52 | 53 | ### 🥄 Scoop 54 | `scoop bucket add extras ` 55 | 56 | `scoop install archwsl ` 57 | 58 | ## 📝Como usar (para instância instalada) 59 | #### Uso do `.exe` 60 | ```dos 61 | Usage : 62 | 63 | - Abre um novo shell com suas configurações padrão. 64 | 65 | run 66 | - Executa a linha de comando fornecida nessa distro. Herdar o diretório atual. 67 | 68 | runp 69 | - Executa a linha de comando traduzida do caminho nessa distro. 70 | 71 | config [setting [valor]] 72 | - `--default-user `: Define o usuário padrão para esta distro como 73 | - `--default-uid `: Define o uid do usuário padrão para esta distro como 74 | - `--append-path `: Anexa Windows PATH à $PATH 75 | - `--mount-drive `: Altera para unidade de montagem 76 | - `--default-term `: Define a janela de terminal padrão 77 | 78 | get [setting] 79 | - `--default-uid`: Obtém o uid de usuário padrão nesta distro 80 | - `--append-path`: Obtém o estado ativado / desativado de Anexar PATH do Windows à $ PATH 81 | - `--mount-drive`: Obtém o estado ligado / desligado das unidades de montagem 82 | - `--wsl-version`: Obtém a versão 1/2 do WSL para esta distro 83 | - `--default-term`: Obtém Terminal Padrão para este lançador de distro 84 | - `--lxguid`: Obtém a chave WSL GUID desta versão 85 | 86 | backup [contents] 87 | - `--tar`: Exporta backup.tar para o diretório atual. 88 | - `--tgz`: Exporta backup.tar.gz para o diretório atual. 89 | - `--vhdx`: Exporta backup.ext4.vhdx para o diretório atual. (Somente WSL2) 90 | - `--vhdxgz`: Exporta backup.ext4.vhdx.gz para o diretório atual. (Somente WSL2) 91 | - `--reg`: Exporta arquivo de registro de configurações para o diretório atual 92 | 93 | 94 | clean 95 | - Desinstala essa instância.. 96 | 97 | help 98 | - Imprime esta mensagem de ajuda. 99 | ``` 100 | 101 | ## ⬆️Atualizar 102 | ### 📁zip 103 | #### 1. [Baixe](https://github.com/yuk7/ArchWSL/releases/latest) o instalador zip 104 | #### 2. Extraia .exe e rootfs.tar.gz de .zip e substitua os existentes. 105 | 106 | ### 📦appx 107 | #### 1. [Baixe](https://github.com/yuk7/ArchWSL/releases/latest) o instalador .appx 108 | #### 2.Sobrescreva o instalador .appx 109 | 110 | ## 🚫Problemas conhecidos 111 | Por favor, veja a [documentação](https://wsldl-pg.github.io/ArchW-docs/). 112 | -------------------------------------------------------------------------------- /i18n/README_zh-cn.md: -------------------------------------------------------------------------------- 1 | # ArchWSL 2 | 3 | 适用于 Windows 10 秋季创意者更新及更新版本的,基于 [wsldl](https://github.com/yuk7/wsldl) 的,运行在 WSL 上的 Arch Linux。 4 | 5 |
6 | 7 | ![screenshot](https://raw.githubusercontent.com/wiki/yuk7/wsldl/img/Arch_Alpine_Ubuntu.png) 8 | 9 | [![AppVeyor](https://img.shields.io/appveyor/ci/yuk7/ArchWSL.svg?logo=Windows&style=flat-square)](https://ci.appveyor.com/project/yuk7/archwsl) 10 | [![FS-Workflows](https://img.shields.io/github/workflow/status/yuk7/ArchWSL-FS/Continuous%20Integration?logo=Linux&style=flat-square)](https://github.com/yuk7/ArchWSL-FS/actions) 11 | [![Github All Releases](https://img.shields.io/github/downloads/yuk7/ArchWSL/total.svg?style=flat-square)](https://github.com/yuk7/ArchWSL/releases/latest) 12 | [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com) 13 | [![License](https://img.shields.io/github/license/yuk7/ArchWSL.svg?style=flat-square)](https://github.com/yuk7/ArchWSL/blob/master/LICENSE) 14 | 15 | [English](https://github.com/yuk7/ArchWSL/blob/master/README.md) | [日本語]([README_ja.md](https://github.com/yuk7/ArchWSL/blob/master/i18n/README_ja.md)) | [简体中文](https://github.com/yuk7/ArchWSL/blob/master/i18n/README_zh-cn.md) | [繁體中文](https://github.com/yuk7/ArchWSL/blob/master/README_zh-tw.md) | [Español](https://github.com/yuk7/ArchWSL/blob/master/README_es.md) | [Português](https://github.com/yuk7/ArchWSL/blob/master/README_pt-br.md) | [한국어](https://github.com/yuk7/ArchWSL/blob/master/README_ko-kr.md) 16 | 17 | [⬇ GitHub 下载](https://github.com/yuk7/ArchWSL/releases/latest) | [⬇ Gitee 镜像下载](https://gitee.com/yuk7/archwsl-mirror) | [📓 文档](https://wsldl-pg.github.io/ArchW-docs/) 18 | 19 |
20 | 21 | ## 💻 需求 22 | - Windows 10 1709 秋季创意者更新及之后的 x64 版本,或 Windows 11 的任意版本; 23 | - `适用于 Linux 的 Windows 子系统` 功能已打开。 24 | 25 | ## 💾 安装 26 | **如果需要更多信息,请参考 [文档](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup)**。 27 | 28 | **如果你使用 WSL1,在实例的初次运行时,你必须更换其 glibc 包。详情请参考 [文档](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup)**。 29 | 30 | ### 📁 zip 31 | 32 | 1. [此处](https://github.com/yuk7/ArchWSL/releases/latest) 下载 `zip` 形式的安装包。 33 | 34 | 2. 将 `zip` 安装包中的所有文件解压到同一个目录里。 35 | 36 | ⚠️ 请确保 `zip` 安装包解压在一个程序拥有写权限的目录里。例如,`Program Files` 就是一个不恰当的目录。 37 | 38 | 3. 运行**解压后的** `Arch.exe` 来解包 `rootfs`,并将实例注册到 WSL。 39 | 40 | 同时,`exe` 文件的文件名将会作为新的 WSL 实例的名称。 41 | 42 | 这说明,如果你复制多个具有不同的文件名的 `exe` 文件,则安装后,你将拥有互不冲突的,不同的 `ArchWSL` 实例。 43 | 44 | 4. (可选)注册 Pacman Keyring。 45 | 46 | 这并不是必须的操作。如果你想要使用 Pacman,请参见 [文档](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup/#initialize-keyring)。 47 | 48 | ### 📦 appx 49 | 50 | 1. [此处](https://github.com/yuk7/ArchWSL/releases/latest) 下载 `zip` 形式的安装包和 `cer` 文件。 51 | 52 | 2. 安装 `cer` 文件到 **本地计算机** 的 **受信任人**。 53 | 54 | 更多详情,请参见 [文档](https://wsldl-pg.github.io/ArchW-docs/Install-Certificate)。你需要管理员权限来安装证书。 55 | 56 | 3. 双击以安装 `.appx` 文件。 57 | 58 | ### 🥄 Scoop 59 | 60 | 1. 输入 `scoop bucket add extras` 为 `scoop` 添加 `bucket` 61 | 62 | 2. 输入 `scoop install archwsl` 以安装 `archwsl` 63 | 64 | ## 📝 如何使用(适用于已安装的实例) 65 | 66 | ### 对于 `exe` 文件 67 | 68 | ```dos 69 | 用例: 70 | <无参数> 71 | - 使用默认参数打开一个新的 Shell。 72 | 73 | run 74 | - 继承当前目录并运行给定的命令行指令。 75 | 76 | runp 77 | - 在切换目录后运行给定的命令行指令。 78 | 79 | config [setting [value]] 80 | - `--default-user `: 将 设置为该实例的默认用户。 81 | - `--default-uid `: 将 设置为该实例默认用户的 uid。 82 | - `--append-path `: 是否将 Windows Path 加入 $PATH。 83 | - `--mount-drive `: 是否挂载驱动器。 84 | - `--wsl-version <1/2>`: 切换该实例的 WSL 版本到 1 或 2。 85 | - `--default-term `: 设置终端窗口的默认样式。 86 | 87 | get [setting] 88 | - `--default-uid`: 获取该实例中默认用户的 uid。 89 | - `--append-path`: 获取是否已经将 Windows Path 加入了 $PATH。 90 | - `--mount-drive`: 获取是否已经挂载了驱动器。 91 | - `--wsl-version`: 获取当前实例的 WSL 版本(1 或 2)。 92 | - `--default-term`: 获取当前终端窗口的默认样式。 93 | - `--lxguid`: 获取当前实例的 WSL GUID key。 94 | 95 | backup [contents] 96 | - `--tar`: 在当前文件夹下输出 backup.tar。 97 | - `--tgz`: 在当前文件夹下输出 backup.tar.gz。 98 | - `--vhdx`: (仅 WSL2)在当前文件夹下输出 backup.ext4.vhdx。 99 | - `--vhdxgz`: (仅 WSL2)在当前文件夹下输出 backup.ext4.vhdx.gz。 100 | - `--reg`: 在当前文件夹下输出注册表配置文件。 101 | 102 | clean 103 | - 卸载该实例。 104 | 105 | help 106 | - 打印该用例信息。 107 | ``` 108 | 109 | ## ⬆️ 更新 110 | 111 | ### 📁 zip 112 | 113 | 1. [此处](https://github.com/yuk7/ArchWSL/releases/latest) 下载 `zip` 形式的安装包。 114 | 115 | 2. 从安装包中解压 `exe` 文件和 `rootfs.tar.gz`,并覆盖已有文件。 116 | 117 | ### 📦 appx 118 | 119 | 1. [此处](https://github.com/yuk7/ArchWSL/releases/latest) 下载 `appx` 形式的安装包。 120 | 121 | 2. 双击以安装更新。 122 | 123 | ## 🚫 已知问题 124 | 125 | 详见 [文档](https://wsldl-pg.github.io/ArchW-docs/)。 126 | -------------------------------------------------------------------------------- /i18n/README_zh-tw.md: -------------------------------------------------------------------------------- 1 | # ArchWSL 2 | WSL 的 ArchLinux 封裝,可用於 Windows 10 1709 或是更高的版本, 3 | 基於 [wsldl](https://github.com/yuk7/wsldl)。 4 | 5 | 6 | ![screenshot](https://raw.githubusercontent.com/wiki/yuk7/wsldl/img/Arch_Alpine_Ubuntu.png) 7 | 8 | [English](https://github.com/yuk7/ArchWSL/blob/master/README.md) | [Deutsch](https://github.com/yuk7/ArchWSL/blob/master/README_de.md) 9 | 10 | ### [⬇下載](https://github.com/yuk7/ArchWSL/releases/latest) | [📓文檔](https://git.io/arch-doc) 11 | 12 | ## 💻系統需求 13 | * Windows 10 1709 秋季創意者更新 64位元版本,或是更新。 14 | * “適用於 Linux 的 Windows 子系統” 功能處於開啓狀態。 15 | 16 | ## 💾安裝 17 | **[更多詳情,請查看文檔](https://wsldl-pg.github.io/ArchW-docs/How-to-Setup)** 18 | ### 📁Zip 19 | #### 1. [下載](https://github.com/yuk7/ArchWSL/releases/latest) 安裝 zip 檔案。 20 | 21 | #### 2. 釋放壓縮檔中的所有檔案至相同目錄。 22 | 請使用一個你擁有全部訪問權限的資料夾! 23 | 24 | 例如,不要使用”Program Files“。 25 | 26 | #### 3. 執行 Arch.exe 以釋放rootfs及登錄檔配置至WSL。 27 | 28 | 順帶一提,EXE執行檔文件名會被用作WSL實例名稱。 29 | 30 | 也就是說,若是爲其指定新的文件名,則可以多次安裝。 31 | 32 | ### 📦appx 33 | #### 1. [下載](https://github.com/yuk7/ArchWSL/releases/latest) 安裝器 .appx 和 .cer 檔案。 34 | #### 2. 裝入 .cer 檔案至 “本地計算機” 的 "Trusted Root Certification Authorities" 35 | [更多詳情,請查看文檔](https://wsldl-pg.github.io/ArchW-docs/Install-Certificate)。 36 | 37 | 你必須具有管理者特權才可以安裝證書檔! 38 | #### 3. 安裝 .appx 39 | 40 | ### 🥄 Scoop 41 | `scoop bucket add extras ` 42 | 43 | `scoop install archwsl ` 44 | 45 | ## 📝如何使用(對於安裝後的實例) 46 | #### exe 用法 47 | ```dos 48 | 用法 : 49 | <無參數> 50 | - 以你的預先設定打開一個新的Shell。 51 | 52 | run <命令行> 53 | - 在指定的發行版中運行你所給出的命令,繼承當前Shell的所在位址。 54 | 55 | runp <命令行 (包含 windows 位址)> 56 | - 在指定的發行版裡運行轉譯過的命令行。 57 | 58 | config [setting [值]] 59 | - `--default-user <使用者>`: 在此發行版中設定默認使用者到 <使用者>。 60 | - `--default-uid `: 在此發行版中設置默認使用者 UID 成 。 61 | - `--append-path `: 加入 Windows PATH 到 $PATH 的開關。 62 | - `--mount-drive `: 裝載驅動器的開關。 63 | - `--default-term `: 設置默認的終端窗口。 64 | 65 | get [setting] 66 | - `--default-uid`: 顯示此發行版的默認使用者UID。 67 | - `--append-path`: 顯示”加入 Windows PATH 到 $PATH“的開關狀態。 68 | - `--mount-drive`: 顯示”自動裝載驅動器”的開關狀態。 69 | - `--wsl-version`: 顯示此發行版的WSL版本(1/2)。 70 | - `--default-term`: 顯示此發行版啟動器的默認終端。 71 | - `--lxguid`: 顯示此發行版的 WSL GUID key。 72 | 73 | backup [contents] 74 | - `--tar`: 輸出 backup.tar 到當前目錄 75 | - `--reg`: 輸出設置登錄檔檔案到當前目錄。 76 | 77 | clean 78 | - 解除安裝此發行版。 79 | 80 | help 81 | - 顯示此幫助資訊。 82 | ``` 83 | 84 | ## ⬆️更新 85 | ### 📁zip 86 | #### 1. [下載](https://github.com/yuk7/ArchWSL/releases/latest) 安裝器 zip 檔案。 87 | #### 2. 提取 Zip 檔案中的 .exe 和 rootfs.tar.gz,然後覆寫你已有的檔案。 88 | 89 | ### 📦appx 90 | #### 1. [下載](https://github.com/yuk7/ArchWSL/releases/latest) 安装器 .appx 檔案。 91 | #### 2. 覆寫已有的 .appx 檔案。 92 | 93 | ## 🚫已知問題 94 | 請查看 [文檔](https://git.io/arch-doc). 95 | -------------------------------------------------------------------------------- /preset.json: -------------------------------------------------------------------------------- 1 | { 2 | "installfile":"https://github.com/yuk7/ArchWSL-FS/releases/download/25030100/rootfs.tar.gz", 3 | "installfilesha256":"019f1b3b8169cbe1a2a39424e8ba493bc9a2e9c9415269663fc360ecb83bbb39" 4 | } --------------------------------------------------------------------------------