which config file stores the application names to run in bash???
I ve got a problem..
I installed mplayer first from the source then from rpm because the former installation is not working... but now i want to run the later ...and for that everytime i have to go to the /usr/bin directory and then run ./mplayer to run the later mplayer [installed by rpm].... plz tell me the configuration file to edit and remove the entry of the mplayer installed from source.... Also if any other alternative plz do tell me Thanks in advance... |
hi,
sounds like eaither the file 'mplayer' is not executable or your PATH is busted. check your path by typing 'export' and make sure /usr/bin is there. other than that sorry dude i dunno. |
Quote:
Code:
PATH=~/bin:/opt/bin:"${PATH}" |
If you are asking how to uninstall the mplayer compiled from source then usually this is done by 'make uninstall'. Then you will probably need to install the rpm again.
If you want to check what your PATH is do 'echo $PATH' and check that /usr/bin is there. |
Maybe the problem is not to have an entry for /usr/bin in your PATH (usually on a working system is already there). You have to check the order in which directories are stored in PATH: when you run a command like simply
Code:
mplayer Also, the already suggested "make uninstall" from the installation source can solve the problem (further re-installation of the RPM is useful only if the two installation had common places for libraries, configuration files and so on...). Another solution, if you don't want to uninstall, is to remove the executable bit from the first binary executable. Suppose you have installed it in /usr/local/bin, just do Code:
chmod -x /usr/local/bin/mplayer |
All times are GMT -5. The time now is 02:46 PM. |