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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-02-2003, 11:05 PM
|
#1
|
|
Member
Registered: Oct 2003
Distribution: N/A
Posts: 76
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-02-2003, 11:12 PM
|
#2
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
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, 12:49 AM
|
#3
|
|
Member
Registered: Oct 2003
Distribution: N/A
Posts: 76
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, 12: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, 01:26 AM
|
#5
|
|
Member
Registered: Oct 2003
Distribution: N/A
Posts: 76
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, 01:35 AM
|
#6
|
|
Member
Registered: Oct 2003
Distribution: N/A
Posts: 76
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, 08:05 AM
|
#7
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
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 08:08 AM.
|
|
|
|
10-03-2003, 04:43 PM
|
#8
|
|
Member
Registered: Oct 2003
Distribution: N/A
Posts: 76
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????
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:07 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
|
|