Does the "sudo" command work in Debian?

-1

I tried to run sudo in python and it 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 installing it, running:

sudo apt-get build-dep python-matplotlib

My python is 2.7.9, is this the problem?

    
asked by anonymous 18.04.2018 / 09:16

1 answer

1

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

apt-get install sudo -y

But before you need to be root, then:

su -

Also check that you do not have sudo here:

/usr/bin/sudo
    
18.04.2018 / 09:55