Go to /usr/bin/ using cd /usr/bin/.
Then use ls | grep spark command to see if there's any executable containing "spark".
Ask Fedora is community maintained and Red Hat or Fedora Project is not responsible for content. Content on this site is licensed under a CC-BY-SA 3.0 license.