1

I was taking a terminal course, when the teacher used Nautilus (he uses Ubuntu on his laptop), so I did too. However I use WSL and it seems I can use different commands to manage files. However, Nautilus installed a lot of dependencies I'll not use. I tried to follow this question. However, it worked with some dependencies, I still have most of them.

  • Try `sudo apt autoremove`. That's a general suggestion, since "*most of them*" is too vague to offer specific advice. – user535733 Feb 15 '22 at 18:20
  • Autoremove will only remove files that are unnecessary and are not called by any other programs. – Logan Feb 15 '22 at 19:03

1 Answers1

1

As @user535733 said, sudo apt autoremove will remove unecessary packages and files. It will not remove Nautilus, because that is considered to be detrimental if you use a GUI. Nautilus is the application that allows you to graphically view, edit, and move files. I do not recommend removing Nautilus.

To remove nautilus, run sudo apt-get update and then run sudo apt-get remove nautilus and then you can run sudo apt autoremove to remove Nautilus dependencies. Only dependencies that are called by Nautilus and only by Nautilus will be removed by the autoremove command. Again, I do not recommend removing Nautilus.

Logan
  • 472
  • 3
  • 22
  • 1
    Good advice in general, but on WSL, it's just fine to remove Nautilus. As the OP mentioned, it's not installed by default, and Windows Explorer is the primary way of browsing files (even those in WSL). – NotTheDr01ds Feb 15 '22 at 19:34