When running sudo -i i get sudo: 5.8: command not found, sudo su outputs su: failed to execute 5.8: No such file or directory and su outputs su: Authentication failure. Fire up the terminal and complete the below-given steps to install the software-properties-common package. That's how it works, so you'll need to find some way around using "sudo cd", like by using complete paths in your commands or just doing "sudo bash". Docker images typically do not have sudo, you are already running as root by default. Execute the given-below command … I am having trouble getting the sudo command to work, as seen in the attached. To check whether the sudo package is installed on your system, open up your console, type sudo, and press Enter. i'm trying to load a kernel module and i can't cause the insmod command is not found. Step 1: Update the repository. 0. I am having trouble getting the sudo command to work, as seen in the attached. apt-get update && apt-get install -y build-essential curl git libfreetype6-dev libpng12-dev libzmq3-dev pkg-config python-dev python-numpy python-pip software-properties-common swig zip zlib1g-d So sudo can't find any "cd" command. And it ansswered me conda: command not found Running mint 20. Precisely because "cd" is a shell builtin and not a binary, and sudo is not bash (nor even a shell). Try. sudo command not found. If I run sudo by itself, it finds it, but not with the file I put after it, which is a zulu java script. bash /Download/Anaconda2-4.0.0-Linux-x86_64.sh I had to create a new conda environment with Python 2.7.x (I don't now why they didn't moved to python 3 but it seems that it is the way the teachers do its thing on) conda create -n gl-env python=2.7 anaconda=4.0. Installing Sudo (sudo command not found) # The sudo package is pre-installed on most Linux distributions. If you have sudo installed the system, will display a short help message. Installing Sudo (sudo command not found) # The sudo package is pre-installed on most Linux distributions. To check whether the sudo package is installed on your system, open up your console, type sudo, and press Enter. I want to run it with elevated privileges. [ec2-user@ip-172-31-33-121 ~]$ sudo -i -bash: id: command not found -bash: tty: command not found [root@ip-172-31-33-121 ~]# uname -a Linux ip-172-31-33-121 3.14.44-32.39.amzn1.x86_64 #1 SMP Thu Jun 11 20:33:38 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux UPDATE Probably it is due command make is not present in system PATH, so remove and reinstall it. But I get "command not found". Run command: sudo apt-get update to update package lists. Add a comment | 8. If I run sudo by itself, it finds it, but not with the file I put after it, which is a zulu java script. git sudo findPort 3306 sudo: findPort: command not found I presume the reason is that the root user either runs as a non-interactive shell (thus does not refer to a .zshrc), or refers to a different.zshrc. sudo apt-get install --reinstall make ... 16.4k 16 16 gold badges 70 70 silver badges 114 114 bronze badges. Join Stack Overflow to learn, share knowledge, and build your career. Please advise. I have no idea what may have caused this, this is the first time I'm running these commands since I'm following a Linux course. ... Not a sudo problem. Make Command Not Found.