Netstat is deprecated in almost all the newest versions of Linux, and other versions of Linux simply do not incorporate the library.
@awwad provided a link for netstat deprecation:
https://dougvitale.wordpress.com/2011/12/21/deprecated-linux-networking-commands-and-their-replacements/#netstat
A few alternatives to netstat are:
• ip
• ss
• procfs