How do I install nmap?
First day ever in the Linux world. I hit a road block right away.
Networkchuck on youtube seems to be able to install nmap just by writing: "apt install nmap -y" Does not work at all for me. Any idea what I am missing?
Thanks
3 Replies
Are you using Ubuntu or Debian? Running apt requires super-user privileges.
What error are you getting?
— sw
Hey @krun17!
In order to run apt as a super user, you'll need use use the sudo command. If your limited user is not a member of the sudo user group, you will need to give them sudo privileges with the following command as root:
adduser <example_user> sudo
Of course, you'll need to change <example_user> to your username.
You can find more information on this example can be found in the Set-up and Secure guide. There's also a video all about sudo which should be really helpful.