Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-03-2003, 12:05 AM
|
#1
|
Member
Registered: Oct 2003
Distribution: N/A
Posts: 77
Rep:
|
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)
|
|
|
10-03-2003, 12:12 AM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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?
|
|
|
10-03-2003, 01:49 AM
|
#3
|
Member
Registered: Oct 2003
Distribution: N/A
Posts: 77
Original Poster
Rep:
|
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 !!!
|
|
|
10-03-2003, 01:59 AM
|
#4
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
Quote:
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?
|
exactly. the .bashrc is in your home directory and is hidden (that's what . at the beginning does).
|
|
|
10-03-2003, 02:26 AM
|
#5
|
Member
Registered: Oct 2003
Distribution: N/A
Posts: 77
Original Poster
Rep:
|
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 ?
|
|
|
10-03-2003, 02:35 AM
|
#6
|
Member
Registered: Oct 2003
Distribution: N/A
Posts: 77
Original Poster
Rep:
|
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
~
~
~
~
|
|
|
10-03-2003, 09:05 AM
|
#7
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Code:
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export LD_ASSUME_KERNEL=2.2.5
~
~
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.
Last edited by trickykid; 10-03-2003 at 09:08 AM.
|
|
|
10-03-2003, 05:43 PM
|
#8
|
Member
Registered: Oct 2003
Distribution: N/A
Posts: 77
Original Poster
Rep:
|
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:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|