$ sudo apt-get install ros-kinetic-map-server
If anything is missing, replace the latter map-server with something.