0

This question already has an answer here:

I want to install some additional software through command line, but I received access denied, I tried with su command and entered the password assigned when I start Ubuntu, but doesn't worked.

marked as duplicate by Thomas Ward Jan 16 '18 at 16:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    Just use sudo in front of the install commands. DO NOT use su to gain root privileges as the root account is disabled by default in Ubuntu, with no login. – Thomas Ward Jan 16 '18 at 16:27
  • So, I assume you're able to log in into Ubuntu, and you have a password assigned which you use for login? su alone wont do you any good as it would ask for "root's" password which is not existent. you should simply use sudo for your commands to run in the case you need administrative rights. – Videonauth Jan 16 '18 at 16:29

Browse other questions tagged or ask your own question.