Ubuntu App for Windows 10 - University of Hawaiiesb/2018fall.ics332/ubuntu-app.pdf · Check Windows...

Preview:

Citation preview

Ubuntu App for Windows 10

What is it?

This Application is a barebones Ubuntu Terminal

Perform all command line utilities

Pictures from Windows Store

There are more Linux systems!

(But I have not tested it.)

System Requirements

Multiple Versions of Ubuntu are available but all have the same requirements● OS: Windows 10

○ If you have windows 8 or 8.1, may be able to download Windows 10 for free still

○ If you are using Windows 10 S, you cannot download it. Go to this link to switch out of Windows S.

● Architecture○ ARM○ X64

That’s it!

Go to Windows Store

1. Go to this linka. https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6#activetab=pivot:overviewtab

2. Click Get3. Click Open Microsoft Store

Install Ubuntu

1. Click Get or Installa. If you are not signed in, sign in first.

2. Monitor in Downloads Tab3. Click Windows Key 4. Type Ubuntu5. Right click app, and pin to start

Turn on Windows Subsystem

1. Click Windows Key2. Type Control Panel and Open it3. Click Programs4. Click Program Features5. On the left side, click Turn

Windows Feature On.6. Check Windows Subsystem for

Linux7. Click Ok

Finished!

1. Open the Ubuntu2. It will install

a. If you are stuck at the install, just press enter.

3. Make an admin username and password

Terminal is now ready to use!

If you are still having errors refer to this microsoft article

https://docs.microsoft.com/en-us/windows/wsl/install-win10

Extra

Useful features

● Can have multiple terminals open

● Can install any application using sudo apt get

○ Java and C

● Can use SSH to transfer files between Ubuntu App and Local Machine

● Can Access root folder at ○ C:\Users\<username>\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState

● To download browsers see next slides!

Browser: Install Programs

● In order to make the browser display in a separate window, download third party Xming.

● Type sudo apt get update● Recommended browser is Firefox

○ Type sudo apt-get install firefox

● If asks, click yes to confirm installation

Important: Always run Xming and define the DISPLAY variable before launching the browser on ubuntu.

Set up DISPLAY with Xming

1. You will get a “cannot open display” error if you do not open Xming firsta. error

2. Run Xming3. Make sure Display is set to 04. Do not change settings, click next until click finish5. In ubuntu, type export DISPLAY=:06. Finally, launch the browser.

a. Type firefox

Always perform all this before using browser

Recommended