Quote:
Originally posted by LinuxPadawan
What do you mean by this "set the bin and lib paths accordingly"? Do I create those folders or are they files?
|
Okay lets say you decide to put realplayer into /opt/realplay. Where I would put it also. Now, you will have /opt/realplayer/bin and /opt/realplay/lib directories. If it's only one bin and you are not going to link anything else to the realplay libs, i.e. other apps, then you could do as was suggested... "ln -s /opt/realplayer/bin/realplayer_app_name /usr/bin/. Me I set my path and libs accordingly.
Let's say you put a biggy in the /opt like kde or gnome. Creating a thousand sym links is not optimal. So I edit my bin PATH in my bash profile. In slack I've created a script /etc/profile.d/extra.sh to set these kinds of things and do other customizations. Like different colors for root and user prompts, CFLAGS, aliases, manpages etc. The /etc/profile will look into /etc/profile.d directory and run any executable script.
export PATH=$PATH:/opt/realplayer/bin
and then I add the lib directory to the /etc/ld.so.conf file. Then run ldconfig.
I've probaly confused you. So for realplayer just do what the other people recommended and create the sym link.