0

How to be an adminstrator? How to save the file? It will not let me save it there.

"As an administrator create a new file called /usr/share/applications/eclipse.desktop using any text editor eg." 

taken from the Install eclipse instructions: https://linuxconfig.org/eclipse-ide-for-c-c-developers-installation-on-ubuntu-20-04

I cannot save this file with my one and only account that I am greeted to on the logon screen:

Is there more accounts?

2
  • well, there should be root. To to anything out of your home directory you should use (at least) "sudo". (that means super user do). So to create a file there (which is empty) you could do something like sudo touch /usr/share/applications/eclipse.desktop - but that wont' help you. You have to fill that desktop file. Better copy an existing one - also using sudo
    – kanehekili
    Oct 12, 2020 at 20:42

1 Answer 1

1

The following uses vi but you can use another text editor:

cd /usr/share/applications/   
sudo vi eclipse.desktop
1
  • thanks bloozguy... are you a player a player or listener? Oct 12, 2020 at 21:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .