This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
other:win10wsl [2022/09/19 12:21] jypeter [Package management] Improved |
other:win10wsl [2022/10/14 09:21] jypeter [Hyper-V requirements] Added Hyper-V misc section |
||
---|---|---|---|
Line 144: | Line 144: | ||
<WRAP center round tip 60%> | <WRAP center round tip 60%> | ||
- | You can skip reading this WSL //requirement// if you are installing WSL for the first time, and are therefor directly installing WSL 2 | + | You can skip reading this WSL //requirement// if you are installing WSL for the first time, and are therefore directly installing WSL 2 |
- | Come back later if you have problems | + | Come back here later (only) if you have problems |
</WRAP> | </WRAP> | ||
Line 167: | Line 167: | ||
* <code> Virtualisation activée dans le microprogramme : Oui</code> | * <code> Virtualisation activée dans le microprogramme : Oui</code> | ||
+ | === Hyper-V related information === | ||
+ | |||
+ | Miscellaneous technical links and information, in case we need this later... | ||
+ | |||
+ | * [[https://learn.microsoft.com/en-us/virtualization/|Virtualization documentation]] | ||
+ | * [[https://learn.microsoft.com/en-us/virtualization/api/|Hyper-V APIs]] | ||
+ | * ''hcsdiag list'' and ''hcsdiag kill <ID>'' | ||
===== Base installation ===== | ===== Base installation ===== | ||
Line 425: | Line 432: | ||
=== Terminals started from Linux === | === Terminals started from Linux === | ||
- | You can install additional //graphical// terminals inside the Linux running in WSL, but **you will need to have a running [[other:x_conf#using_an_x_server_on_windows|X server]] if you want to open them**. In these terminals, the //usual// Linux copy/paste rules will apply! | + | You can [[other:win10wsl#adding_useful_packages|install additional graphical terminals in the Linux installation]], but **you will need to have a running [[other:x_conf#using_an_x_server_on_windows|X server]] if you want to open them**. In these terminals, the //usual// Linux copy/paste rules will apply! |
- | == xterm == | + | * ''xterm'' package |
- | + | * ''xfce4-terminal'' package | |
- | * Install with: ''apt-get install xterm'' | + | |
- | * Start from another terminal with: ''xterm &'' | + | |
- | + | ||
- | == xfce-terminal == | + | |
- | + | ||
- | * Install with: ''apt-get install xfce4-terminal'' | + | |
- | * Start from another terminal with: ''xfce4-terminal &'' | + | |
==== Where are the files? ==== | ==== Where are the files? ==== | ||
Line 716: | Line 716: | ||
* FIXME **//X server// and WSL2** : check ''export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0.0'' in [[https://solvercube.com/how-to-install-ubuntu-20-04-on-windows-using-wsl/|How to install Ubuntu 20.04 on Windows using WSL]] | * FIXME **//X server// and WSL2** : check ''export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0.0'' in [[https://solvercube.com/how-to-install-ubuntu-20-04-on-windows-using-wsl/|How to install Ubuntu 20.04 on Windows using WSL]] | ||
- | |||
- | ==== Adding useful packages ==== | ||
- | |||
- | Reminder: you need to use the ''root'' account (with ''sudo -s'') in order to use the following commands | ||
- | |||
- | <code>$ apt-get install gcc libglu1-mesa mesa-utils libsm6 x11-apps | ||
- | |||
- | # Check the "Terminals started from Linux" section | ||
- | # if you need to install extra terminals | ||
- | |||
- | # Install emacs | ||
- | $ apt-get install emacs | ||
- | |||
- | # Install pdf (evince) and image (eog) viewers | ||
- | $ apt-get install evince eog | ||
- | |||
- | # Install wslu to improve the Windows<->Linux communication | ||
- | $ apt-get install wslu | ||
- | |||
- | # The packages below are useful for dealing with climate data | ||
- | # in netCDF files (and are also requirements of CLIMAF) | ||
- | $ aptitude install imagemagick nco cdo netcdf-bin ncview exiv2</code> | ||