I'm running Ubuntu and trying to install Ajax Push Engine:
This is everything I do since opening the terminal to getting the error:
lisandrov@lisandrov-Satellite-L655:~/Desktop$ ssh [email protected]
Password:
Last login: Fri Sep 9 22:03:07 2011 from 190.220.54.6
-bash-3.2$ ls
ape.deb backup data html scc tmp
-bash-3.2$ sudo dpkg -i ape.deb
-bash: sudo: command not found
I don't think I'm doing anything wrong, but I just started learning to use the terminal 10 minutes ago so I have no idea why I'm getting this error. Also dpkg works perfectly outside SSH.
What could be the cause for this error?
/usr/bin/dpkg
exists and if yourPATH
variable is set properly. Unless you've seriously mucked around with your system, I don't think you're running a Debian based distro.sudo
first. It seems as if it's missing.sudo
installed and might even not be a Ubuntu machine as far as I know. I suggest that you read up on how to use a Unix system from the command line, for example from the Ubuntu documentation UsingTheTerminal and AptGetHowto.