LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Can't install anything (https://www.linuxquestions.org/questions/debian-26/cant-install-anything-4175654417/)

Zia0313 05-22-2019 07:56 PM

Can't install anything
 
i have Debian 9.7 on a virtual box and it dos not have sudo command
and also i cant install anything i have tried the above but still nothing works and i am getting the same error message

frankbell 05-22-2019 08:35 PM

Debian does not configure sudoers out of the box.

You assume root privileges by using su. See this: https://wiki.debian.org/Root

hydrurga 05-22-2019 08:37 PM

Hi Zua0313, and welcome to LQ.

I asked for your post to be separated off to a new thread because the thread you posted on was quite old, things may have changed, and your issue will also get better exposure here.

Can you please paste here an example of a command that you issue and the error message it generates (within CODE tags if possible). Many thanks.

fatmac 05-23-2019 04:11 AM

Without sudo priviledges being set up, you use the root account.

At a command prompt, enter su, it wil ask for your root user password, enter it, & you will have all the powers you need, (but don't stay as the root user longer than necessary, as it can be detrimental to your system, as you may make an unrecoverable mistake), use exit to return to your normal user profile.

To install software, as the root user, first update the database of programs, (then usually, also upgrade your system too), then install programs you want.


All times are GMT -5. The time now is 10:36 AM.