issue121:labo_linux
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue121:labo_linux [2017/05/29 16:59] – créée auntiee | issue121:labo_linux [2017/06/06 11:04] (Version actuelle) – auntiee | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | While I was translating the News column for the French version of Full Circle, one particular item caught my eye. It was actually about openSUSE running on Windows 10 rather than Ubuntu, because, the developers argue, openSUSE has been around for a long time and is very stable. But it did contain the following sentence : “In its Anniversary Update, Microsoft launched Windows Subsystem for Linux (WSL). This allowed the Windows 10 users to run Bash on Ubuntu on Windows 10.” I thought I'd try to find out more about this: how to install it, what can be done with it, by me in particular, just because the newness of the idea – running bash, on Ubuntu, on the Windows 10 kernel – sounded completely extraordinary. In addition, I must be among only a few Ubuntu users who actually use Windows 10 as their main operating system. So I can try the thing out with no extra effort... or very little. As the saying goes, “Fools rush in where angels fear to tread.” | + | **While I was translating the News column for the French version of Full Circle, one particular item caught my eye. It was actually about openSUSE running on Windows 10 rather than Ubuntu, because, the developers argue, openSUSE has been around for a long time and is very stable. But it did contain the following sentence : “In its Anniversary Update, Microsoft launched Windows Subsystem for Linux (WSL). This allowed the Windows 10 users to run Bash on Ubuntu on Windows 10.” I thought I'd try to find out more about this: how to install it, what can be done with it, by me in particular, just because the newness of the idea – running bash, on Ubuntu, on the Windows 10 kernel – sounded completely extraordinary. In addition, I must be among only a few Ubuntu users who actually use Windows 10 as their main operating system. So I can try the thing out with no extra effort... or very little. As the saying goes, “Fools rush in where angels fear to tread.” |
My first move was to look up “WSL” with Bing on Edge, the Windows 10 browser. At first, that just got me a long list of various organizations (Spanish learners?), with, at the very bottom of the page, “Windows Subsystem for Linux.” Even using DuckDuckGo on Firefox, I got White Star Line, World Surf League, Westwood Shipping, and, finally, Bash on Ubuntu on Windows. Here's the link: https:// | My first move was to look up “WSL” with Bing on Edge, the Windows 10 browser. At first, that just got me a long list of various organizations (Spanish learners?), with, at the very bottom of the page, “Windows Subsystem for Linux.” Even using DuckDuckGo on Firefox, I got White Star Line, World Surf League, Westwood Shipping, and, finally, Bash on Ubuntu on Windows. Here's the link: https:// | ||
“Important note | “Important note | ||
- | This is the first release of this brand new technology and it is branded “beta” deliberately – it’s not yet complete! We know there are issues and incomplete features, you should expect some things to work, and many things to fail. But we appreciate you playing with this feature and helping us identify the issues we need to fix in order to deliver a great experience.” | + | This is the first release of this brand new technology and it is branded “beta” deliberately – it’s not yet complete! We know there are issues and incomplete features, you should expect some things to work, and many things to fail. But we appreciate you playing with this feature and helping us identify the issues we need to fix in order to deliver a great experience.”** |
- | You, meaning all people, but particularly developers, are definitely being invited to try it out and report back to Microsoft so they can fix whatever problems you come across. Basically, you can run “common command-line utilities, […], navigate the file system [apparently even your C: Windows], and run Bash shell scripts which rely on supported command-line utilities.” | + | En traduisant la rubrique des Actus pour la version française du Full Circle, un article en particulier m'a interpellée. En fait, c' |
+ | |||
+ | J'ai commencé par chercher « WSL » avec Bing sur le navigateur de Windows 10, Edge. Au début, le résultat n' | ||
+ | |||
+ | « Note importante | ||
+ | |||
+ | « Ceci est la première publication de cette toute neuve technologie et elle est appelée " | ||
+ | |||
+ | **You, meaning all people, but particularly developers, are definitely being invited to try it out and report back to Microsoft so they can fix whatever problems you come across. Basically, you can run “common command-line utilities, […], navigate the file system [apparently even your C: Windows], and run Bash shell scripts which rely on supported command-line utilities.” | ||
After this enticing beginning, you can watch a 17-minute long video (on the same page) where two Microsoft Senior Program Managers insist that it's not a Virtual Machine, but Bash on Ubuntu on Windows, and show that you can do sudo apt-get install git. You can also do apt-date update and upgrade, which I did after my install. If you want to know... I've been writing all of this to put off having to install the thing, even though, on this same page, we are told that it's “just a few clicks”! We'll see about that. | After this enticing beginning, you can watch a 17-minute long video (on the same page) where two Microsoft Senior Program Managers insist that it's not a Virtual Machine, but Bash on Ubuntu on Windows, and show that you can do sudo apt-get install git. You can also do apt-date update and upgrade, which I did after my install. If you want to know... I've been writing all of this to put off having to install the thing, even though, on this same page, we are told that it's “just a few clicks”! We'll see about that. | ||
- | The Install Guide is here: https:// | + | The Install Guide is here: https:// |
+ | |||
+ | Vous, ce qui signifie tous les gens, mais surtout les développeurs, | ||
+ | |||
+ | Après ce début bien attrayant, vous pouvez regarder une vidéo de 17 minutes (sur la même page) où deux gestionnaires de projet principaux de Microsoft insistent sur le fait qu'il ne s'agit aucunement d'une machine virtuelle, mais que c'est vraiment Bash sur Ubuntu sur Windows. En outre, ils démontrent qu'il est possible de faire sudo apt-get install git. Faire sudo apt-get update et sudo apt-get upgrade est également possible et je l'ai fait après mon installation. Si vous voulez connaître la vérité, je suis en train d' | ||
+ | |||
+ | Le Guide d' | ||
- | Looks like my five- or six-year-old Toshiba fills the bill (previous page, bottom right), but please excuse the French... | + | **Looks like my five- or six-year-old Toshiba fills the bill (previous page, bottom right), but please excuse the French... |
Next, you must turn on the Developer Mode (below) by hand. Go to Settings > Update and Security > For Developers, and select Developer Mode. But when I did, I got this rather daunting message: | Next, you must turn on the Developer Mode (below) by hand. Go to Settings > Update and Security > For Developers, and select Developer Mode. But when I did, I got this rather daunting message: | ||
Ligne 18: | Ligne 32: | ||
Or, in plain English, “In Developer Mode, you can, among other things, install and run applications without going through the Windows Store. You will be exposing your machine and your personal data to security risks and may damage your machine. Are you sure you really want to do this?” When I clicked on Yes, a package began installing. The purple circle continued turning until after I'd saved the pictures above and below. | Or, in plain English, “In Developer Mode, you can, among other things, install and run applications without going through the Windows Store. You will be exposing your machine and your personal data to security risks and may damage your machine. Are you sure you really want to do this?” When I clicked on Yes, a package began installing. The purple circle continued turning until after I'd saved the pictures above and below. | ||
- | Question: will it be possible to get out of Developer Mode? Heaven only know, but sufficient unto the day is the evil thereof… | + | Question: will it be possible to get out of Developer Mode? Heaven only knows, but sufficient unto the day is the evil thereof…** |
- | Okay, next: you must enable the Windows Subsystem for Linux feature in the graphical interface by going to Start > and down to the T's, for “Turn Windows Features on and off.” At least, that's what the instructions on the Install Page say. But, on my list of things, there' | + | Il semblerait que mon Toshiba de cinq ou six ans a tout ce qu'il faut (page précédente, |
+ | |||
+ | Puis, il faut activer le mode développeur (ci-dessous) manuellement. Allez à Paramètres > Système > Mise à jour et Sécurité > Pour les développeurs, | ||
+ | |||
+ | « En mode développeur, | ||
+ | |||
+ | « Activer le mode développeur ? Oui Non » | ||
+ | |||
+ | Quand j'ai cliqué sur Oui, l' | ||
+ | |||
+ | Question : Sera-t-il possible de sortir du Mode développeur ? Dieu seul le sait, mais à chaque jour suffit sa peine... | ||
+ | |||
+ | **Okay, next: you must enable the Windows Subsystem for Linux feature in the graphical interface by going to Start > and down to the T's, for “Turn Windows Features on and off.” At least, that's what the instructions on the Install Page say. But, on my list of things, there' | ||
+ | |||
+ | Bon, ensuite : il faut activer la fonction Windows Subsystem for Linux dans l' | ||
- | It's true that the Install instructions say “you must restart when prompted.” But: | + | **It's true that the Install instructions say “you must restart when prompted.” But: |
• Windows rebooted without asking, and | • Windows rebooted without asking, and | ||
• I was supposed to be prompted to reboot after going into the Power Shell as administrator (open the menu of Windows Power Shell in the list of programs and right-click on Windows Power Shell, then choose Run as administrator), | • I was supposed to be prompted to reboot after going into the Power Shell as administrator (open the menu of Windows Power Shell in the list of programs and right-click on Windows Power Shell, then choose Run as administrator), | ||
Ligne 30: | Ligne 58: | ||
Now, theoretically, | Now, theoretically, | ||
- | Yesssss!! | + | Yesssss!!** |
- | Or, in English (bottom): | + | Il est vrai que les instructions d' |
+ | • Windows a redémarré sans me demander quoi que ce soit et | ||
+ | • une invite à redémarrer était censée s' | ||
+ | |||
+ | Ce que j'ai tout de suite fait. Au moins, mon ordinateur fonctionne toujours ! ET, après RestartNeeded était marqué False ! (Pas besoin de redémarrer). | ||
+ | |||
+ | À ce stade, théoriquement, | ||
+ | |||
+ | Ouaouh, ça fonctionne !! Le résultat était : | ||
+ | |||
+ | **Or, in English (bottom): | ||
-- Beta feature – This will install Ubuntu on Windows, distributed by Canonical and licensed under its terms available here… Type “y” to continue: | -- Beta feature – This will install Ubuntu on Windows, distributed by Canonical and licensed under its terms available here… Type “y” to continue: | ||
Ligne 41: | Ligne 79: | ||
I've just done an update-upgrade (below) that seemed to work normally except that execution was denied to several things and “Upstart” couldn' | I've just done an update-upgrade (below) that seemed to work normally except that execution was denied to several things and “Upstart” couldn' | ||
- | “Bash on Ubuntu on Windows” has recently been added to my list of programs! | + | “Bash on Ubuntu on Windows” has recently been added to my list of programs!** |
+ | |||
+ | « -- Fonctionnalité bêta -- | ||
+ | Cette opération va installer Ubuntu sur Windows, un produit distribué par Canonical et sous licence, selon les conditions disponibles ici : | ||
+ | https:// | ||
+ | |||
+ | « Taper " o " pour continuer : » | ||
+ | |||
+ | C'est ce que j'ai fait et, après, Ubuntu s'est téléchargé à partir du Windows Store ! (Canonical a fourni le code d' | ||
+ | |||
+ | Bon, ensuite il extrayait le système de fichiers, ce qui a nécessité quelques minutes. Une fois l' | ||
+ | |||
+ | J'ai tout de suite fait un update-upgrade (ci-cessous) qui semblait tout à fait normal sauf que l' |
issue121/labo_linux.1496069977.txt.gz · Dernière modification : 2017/05/29 16:59 de auntiee