Error: Solution: The net-tools package provides large number of utilities for managing networking on a system. Which is available under the default apt repositories. Open a terminal and execute following command: Press ‘y’ if prompt for the confirmation. That’s it, You have installed netstat command on your Ubuntu and Debian systems.