how to add environment variable to .bashrc file
please can anyone help me to do the following step to install realplayer8 properly on red hat 9.0
--------------------------------------------------------------------------------------------------------------- add: export LD_ASSUME_KERNEL=2.2.5 to your .bashrc file. Then it will be set when you login to your machine (if your default shell is bash of course) |
Well, open up or use your favorite editor by opening up .bashrc in your users home directory, then add that line, then save. Can't be that hard right? Pretty self explanatory to me. Have you tried that so far or what kind of problems are you encountering?
|
tricky kid
the thing is i have no exposure to programming or scripting therefore i am lost not knowing what to do so u said i should open up an editor program and go into file menu and select open file and from there i should select the file .bashrc to open? and add that one line in there? please do let me know, i will b really gratefull !!! |
Quote:
|
one last question
that 1 line is to make real player 8 installation possible. i was told by the customer service [for real player on linux ] of real.com to do it this way for red hat 9.0 so, shouldn't it be in /root ? so that the effect is system wide why under /home ? |
this is how my .bashrc file looks like
how should i add the line in here, i mean where # .bashrc # User specific aliases and functions # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi ~ ~ ~ ~ |
Code:
# .bashrc Add it just like that. And no, if you put it in root, that doesn't mean its global. /root is root's home directory. You should not be logged in as root for regular use. Create another login and use them. Logged in as root for regular use is bad idea and bad security practice. The only reason you will put this in root's bashrc file is if your going to be installing as root. Go ahead and add if for that purpose only or just place this in your /etc/bashrc or /etc/global files which are the global directories, not /root. Regards. |
hey linux gurus
i added the line " export LD_ASSUME_KERNEL=2.2.5 " to /etc/bashrc realplayer is installed but its not playing .... whatever real audio/video file i click on mozilla 1.4 browser it does not play ... a dialog box opens saying open the file with default application " /usr/local/RealPlayer8/realplay " and click yes and then mozilla download manager dialog box opens showing the download and then nothing happens ...... why is that???? |
All times are GMT -5. The time now is 05:10 PM. |