NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
nsne
Dec 17, 2016Virtuoso
Why am I getting "sudo: command not found"?
I'm trying to update LMS on my 314 via the command line:
sudo dpkg -i /var/lib/squeezeboxserver/cache/updates/logitechmediaserver_7.9.0[...]amd64.deb
This method used to work just fine, but then I had to do a factory reset about a week ago. Now I'm getting the following error:
-bash: sudo: command not found
Googling the problem suggests that sudo isn't installed. But I don't remember ever having installed it before. Is sudo installation the problem? How exactly should this be remedied?
Just leave the sudo out, you shouldn't need it since you are logged in as root.
2 Replies
Replies have been turned off for this discussion
- StephenBGuru - Experienced User
Just leave the sudo out, you shouldn't need it since you are logged in as root.
- mdgm-ntgrNETGEAR Employee Retired
Exactly. sudo is used on some Linux systems and on Macs to allow a non-root user to perform some commands with root level access. To use sudo the user would need to know the root password (which may be the same as an administrator's password).
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!