User Tools

Site Tools


windows:opensuse_tumbleweed_wsl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
windows:opensuse_tumbleweed_wsl [2025/10/10 08:48] Sean Rhonewindows:opensuse_tumbleweed_wsl [2025/11/21 14:11] (current) Sean Rhone
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-  * openSUSE Tumbleweed +  * openSUSE ((https://www.opensuse.org)) 
-  * https://en.opensuse.org/openSUSE:WSL +  * Tumbleweed ((https://en.opensuse.org/Portal:Tumbleweed)) 
-  * WSL+  * WSL ((https://en.opensuse.org/openSUSE:WSL))
  
-====== Windows ======+===== Prerequisites =====
  
-===== Windows Terminal =====+  * [[windows;10|Windows 10 (21H2)]] 
 +  * [[windows;notes;wsl|WSL2]]
  
-==== VCLibs ====+====== Install ======
  
-****+===== tar.xz =====
  
-  powershell -Command "Add-AppxPackage https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx"+  https://download.opensuse.org/repositories/Virtualization:/WSL:/instarball/openSUSE_Tumbleweed_images/
  
-==== Windows Terminal ====+  "wsl.exe" --install --from-file "%UserProfile%\Downloads\openSUSE-Tumbleweed-20251119.x86_64.tar.xz" --name "openSUSE-Tumbleweed" --no-launch
  
-  * https://github.com/microsoft/terminal/releases+  "wsl.exe" --set-default openSUSE-Tumbleweed
  
-  powershell -Command "Add-AppxPackage https://github.com/microsoft/terminal/releases/download/v1.16.10261.0/Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msixbundle"+===== Initial Setup =====
  
-===== WSL =====+  "wsl.exe" --distribution openSUSE-Tumbleweed
  
-==== Install ====+  sudo zypper clean --all && sudo zypper refresh --force --services && sudo zypper dist-upgrade --details --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change
  
-  * :!: Reboot after installing+  exit
  
-  dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart+  "wsl.exe--distribution openSUSE-Tumbleweed --shutdown
  
-==== WSL 2 ====+====== nano ======
  
-****+  Installs ''nano'' 
 +  Sets ''VISUAL'' and ''EDITOR'' to ''nano'' via environment variable 
 +  Sets ''nowrap'' for current user
  
-  wsl --set-default-version 2+  "wsl.exe" --distribution openSUSE-Tumbleweed
  
-==== openSUSE Tumbleweed ====+  sudo zypper install 'nano' && export 'VISUAL=nano' && export 'EDITOR=nano' && echo -e 'export VISUAL=nano\nexport EDITOR=nano' | sudo tee '/etc/profile.d/editor-nano.sh' > '/dev/null' && cat '/etc/profile.d/editor-nano.sh' && mkdir -p ~/'.config/nano' && echo 'set nowrap' | tee ~/'.config/nano/nanorc' > '/dev/null' && cat ~/'.config/nano/nanorc'
  
-****+  exit
  
-  wsl --install --distribution "openSUSE-Tumbleweed" --web-download+  "wsl.exe" --distribution openSUSE-Tumbleweed --shutdown
  
-====== Ubuntu ======+====== Scripts ======
  
-===== WSL =====+  MKDIR "%SystemDrive%\www\scripts\wsl" 
 + 
 +  "explorer.exe" "%SystemDrive%\www\scripts\wsl" 
 + 
 +===== Updater ===== 
 + 
 +  "notepad.exe" "%SystemDrive%\www\scripts\wsl\openSUSE Updater.bat" 
 + 
 +<code> 
 +@echo off 
 + 
 +TITLE openSUSE Updater 
 + 
 +"wsl.exe" --update 
 + 
 +"wsl.exe" --distribution openSUSE-Tumbleweed --user root -- '/usr/bin/zypper' clean --all 
 +"wsl.exe" --distribution openSUSE-Tumbleweed --user root -- '/usr/bin/zypper' --non-interactive refresh --force --services 
 +"wsl.exe" --distribution openSUSE-Tumbleweed --user root -- '/usr/bin/zypper' --non-interactive dist-upgrade --auto-agree-with-licenses --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change 
 + 
 +"wsl.exe" --distribution openSUSE-Tumbleweed -- '/usr/bin/sync' 
 + 
 +:: End</code> 
 + 
 +  "%SystemDrive%\www\scripts\wsl\openSUSE Updater.bat" 
 + 
 +====== Task Scheduler ======
  
 **** ****
  
-  wsl+  taskschd.msc 
 + 
 +===== Updater =====
  
-===== Update =====+  * ''5:45:00 AM'' daily
  
-  sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt clean && sync+  openSUSE Update
  
-  sync && exit+  "%SystemDrive%\www\scripts\wsl\openSUSE Updater.bat"
  
-===== Folders =====+====== Update ======
  
 **** ****
  
-  mkdir -p ~/'Downloads'+  "wsl.exe" --distribution openSUSE-Tumbleweed --user root -- '/usr/bin/zypper--non-interactive refresh --force --services && "wsl.exe" --distribution openSUSE-Tumbleweed --user root -- '/usr/bin/zypper' --non-interactive dist-upgrade --auto-agree-with-licenses --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change
  
/var/www/wiki/data/attic/windows/opensuse_tumbleweed_wsl.1760100487.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki