0

I downloaded Ubuntu from the Microsoft Store and I have installed it. I tried downloading gedit using

$ sudo apt install gedit

I got this problem:

enter image description here

How do I resolve this problem?

EDIT: Attempts to resolve the problem

Attempt 1: I used sudo after suggestion and it didn't work.

enter image description here

Simon Sudler
  • 3,771
  • 3
  • 20
  • 33
  • @Prvt_Yadv I tried sudo but it didn't work.Check the edit I did once – yashwanth alapati Sep 08 '19 at 11:31
  • 2
    Windows subsystem for Linux (WSL) does not support any GUI app such as `gedit`. It is text only interface. Try using `vim` or `nano` – user68186 Sep 08 '19 at 11:36
  • Installing an app in Ubuntu needs 2 commands. First, `sudo apt update`. Second, `sudo apt install nano`. You can use `apt-get` instead of `apt`. The `apt-get` is old syntax. – user68186 Sep 08 '19 at 11:44
  • 1
    Please do not post images of terminal windows. It's hard to read and someone who wants to help cannot copy-paste the commands you've run. Instead, [edit](https://askubuntu.com/posts/1171705/edit) your post to add the text from your terminal using the appropriate [code formatting](https://askubuntu.com/editing-help). – BeastOfCaerbannog Sep 08 '19 at 11:53

0 Answers0