Does the "sudo" command work in Debian?

Asked

Viewed 59 times

-1

I tried to execute the sudo in python and returned me "bash: sudo: command not found", what’s the problem?

I’m trying to use matplotlib and I’m not getting it, so I tried to install, running:

sudo apt-get build-dep python-matplotlib

My python is 2.7.9, that will be the problem?

1 answer

2


Usually sudo is already installed, if you are not trying:

apt-get install sudo -y

but first you need to be as root, then:

su -

Also check if you don’t have sudo here:

/usr/bin/sudo
  • 1

    That’s right, sudo wasn’t installed. Thank you!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.