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