Ubuntu – sudo: apt-get: command not found

14.04aptcommand linegnome-terminal

When I run apt-get update as root user it's working well, but not working for apt-get install build-essential manpages-dev (showing apt-get command not found).

Best Answer

Check the PATH variable (echo $PATH) to see if there's something wrong there (please post the output here).

Also, try to copy a clean .bashrc file from /etc/skel (backup your current ~/.bashrc file before)

Hope this helps ;D

Related Question