how do i add gcc to the Path list?
Hi, the problem is i'm trying to install a mp3 plugin and get the following message
Code:
./configure and then searched for gcc using / -name gcc. it said gcc was in /usr/lib64/gcc how do i add this to my path? many thanks chris |
On Debian linux, you edit the file /etc/profile. You would add /usr/lib64 to the PATH line.
Or export PATH=$PATH:/usr/lib64 Which you'll also want to add to your .bash_profile or .bashrc so that it's available at boot. Here's a link: http://www.troubleshooters.com/linux/prepostpath.htm |
hi should of said before i'm running suse 10 64bit as root user.
after reading your post and the guide what i understand that i have todo is add the following code to the .bash_profile in my root directory "/root/.bash_profile". one problem i don't have this file, is it just a case of adding it? i have a file called ".bash_history". PATH=$PATH:/usr/lib64 export PATH thanks again chris |
Well, the commands you typed should add it for this session only. I don't know SuSE, but root's path is taken from /root/.profile, I believe.
|
With SuSE, I believe all you have to do is use YaST to install gcc and make if it hadn't been part of the original install. That's all I did and /lib64 was created by YaST.
|
There is no .profile in /root in SuSE.
I need to add /home/realplay to my path and don't know how. |
My SuSE does have a /home/fragos/.profile. All files or directories that start with a "." are hidden. konqueror - View - Show Hidden will make them visible. .profile is read when logging in.
test -z "$PROFILEREAD" && . /etc/profile Was the only executable line in it. As to /home/realplay. If I'm not mistaken, the only directories in /home are user directories. konqueror - Edit - Create New can create directories. |
All times are GMT -5. The time now is 11:55 PM. |