how to check the program's installation path in linux/fedora

Use following commands: [root@localhost ]# which php /usr/bin/php [root@localhost ]# which ruby /usr/bin/ruby [root@localhost ]# php –version PHP 5.2.9 (cli) (built: Apr 17 2009 03:42:25) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies with … Continue reading