Illegal websites should not initiate any form of manual service requests to our staff. It is strictly prohibited to use honmau Media's technical support services and products to engage in any illegal activities. If discovered, no technical support will be provided.×
Current location:home> news > help and support

Solution to the emergence of-bash: sudo: command not found in Debian system

I believe that many students have encountered problems like-bash: sudo: command not found when executing commands after installing a new server. The following is a tutorial. The following actions can be solved. First of all, let's make sure and execute the following command to see if the file exists:

find /etc/sudoers.d

If you return No such file or directory, it means that your system does not have sudo installed.

Here are the installation commands:

apt-get install sudo

If you are prompted for an error that Unable to locate package sudo, execute the following command first:

apt-get update

Then execute sudo apt-get install.

© Website copyright and disclaimer

1.[honmau Media] independently owns the copyright of all materials on relevant pages of this website;

2. No one is allowed to copy it without the express written permission of [honmau Media];

3. The articles that do not indicate "honmau Media" on this website are all from the Internet and are only for everyone to learn and refer;

4. If there is any infringement/violation/irregularity, please contact customer service QQ or email to delete it, please understand;

5.[honmau Media] reserves the right to correct, modify and update this statement at any time.legal notice

Message Board
* Contact customer service for urgent issues
submitted
submission
Working days: 8:30 - 22:00 Online QQ

customer service

Company Introduction
top