2

I need to install pymol on Ubuntu 20.04 and when I am using sudo apt-get install -y pymol it gives an error:

username isn't in the sudoers file. This incident will be reported.

Does anyone know how to solve this problem?

Lorenz Keel
  • 8,905

1 Answers1

1

It seems like that the user you are using cannot use sudo because the user is not in the sudoers-file (/etc/sudoers on some systems). So you should have another user who is in that file. It should be the one you created when you installed ubuntu. It is possible that your sudoers-file is corrupted, then nobody is allowed to use sudo. This can happen if you don't open the sudoers-file with visudo (which is the only program you should use). If your sudoers-file is corrupted you should do a backup and maybe reinstall ubuntu.

Luca R
  • 11