08-08-2008
export PATH=/some/path:/some/other/path:/and/another/path:.....
The PATH variable is a list of directory names separated by colons. The list of directories is searched in the order in which they appear in this list. Find out where gcc 3.3 is and add this directory to the beginning of the current value of $PATH:
PATH=/some/new/directory:$PATH
Display the $PATH variable to make sure everything was done correctly:
echo $PATH
You might get a list which reads like:
/some/new/directory:/bin:/etc:/usr/bin:/usr/bin/X11:/usr/ucb:....
or something such. This should do it. Probably you have to change the library paths and other parts of the environment too when you change the compiler version.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to install this driver: http://www.asus.com/support/download/selectftp.aspx?l1_id=1&l2_id=15&l3_id=15&m_id=1&f_name=5702_558.zip~zaqwedc hoping it will correct my problem with my ethernet card. I am following the instructions in the text file that came with download...
it says to... (7 Replies)
Discussion started by: Minnesota Red
7 Replies
2. Solaris
I've been researching minimizeing Solaris 8 and found that on the web page http://www.sun.com/bigadmin/content/packagelist/s8u7PkgList/p2.html the package SUNWglmr
is listed as "rasctrl environment monitoring driver for i2c, (Root) (32-bit)" while in the document "Solaris 8 minimize-updt1.pdf"... (1 Reply)
Discussion started by: roygoodwin
1 Replies
3. Solaris
Hi All,
Just completing my second Solaris installation, in the previous one which was on a Dell X64 machine, I went through the Network configuration setting, on the current computer which I am installing Solaris on, its a custom built machine and for some reason, I didnt see the screen where I... (1 Reply)
Discussion started by: platforminc
1 Replies
4. UNIX for Dummies Questions & Answers
I am installing an lin_tape-1.38.0-1.src.rpm file but it won't install
Linux version
Linux 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:41:04 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
but I am getting issues when installing
# rpmbuild --rebuild lin_tape-1.38.0-1.src.rpm
Installing... (1 Reply)
Discussion started by: karlochacon
1 Replies
5. UNIX for Dummies Questions & Answers
Help, suspect hacked via serial or electric! any ideas on error "Pid:1, comm:swapper Tainted:G W 2.6.35-22 generic #33 -unbutu device = "(null)" or unknown-blocklist(8.1) please append a correct "root"boot option Available partitions 0b00 1048575 sr0 driver:sr 0800 488386584 sda driver:sd. Thanks... (3 Replies)
Discussion started by: kryclear
3 Replies
6. Ubuntu
I'm planning to install the Ubuntu OS on my laptop(currently has windows Vista), but I don't know if Ubuntu is good. Do you need to install any drivers for Ubuntu? Can I send stuff to my printer in Ubuntu? Is it compatible with my printer driver? (1 Reply)
Discussion started by: Anna Hussie
1 Replies
7. Hardware
In general terms what are the differences platform driver,codec driver and Machine driver? (1 Reply)
Discussion started by: rupeshkp728
1 Replies
8. Red Hat
I use lspci and dmesg command and find out that i have ipw2000 wireless card on my laptop. I want to install driver for that but i'm not getting proper driver for that.My linux version is el5 and architecture is i386. (0 Replies)
Discussion started by: amitbharad
0 Replies
9. Red Hat
Am using Toshiba Satellite C850-l5212 Laptop . I have installed RHEL6 server on it ( Linux 2.6.32-220.el6.x86_64 )
Now ethernet eth0 is no working .Am not able to find eth0 when i do ifconfig -a . Later found that ethernet driver was not installed.
tar jxvf compat-drivers-2013-03-15-u.tar.bz2... (2 Replies)
Discussion started by: senthilcaesar
2 Replies
10. Shell Programming and Scripting
So I have a canon printer I'm trying to set it up I've gotten the driver from here;
wget -c http://gdlp01.c-wss.com/gds/1/0100005511/01/cnijfilter-mg7100series-4.00-1-rpm.tar.gz
I try and run the script thats below; But I know where i have to copy the driver too. I was wonder what file i have... (10 Replies)
Discussion started by: jtsmith90
10 Replies
LEARN ABOUT DEBIAN
filecap
FILECAP:(8) System Administration Utilities FILECAP:(8)
NAME
filecap - a program to see capabilities
SYNOPSIS
filecap [ -a | -d | /dir | /dir/file [cap1 cap2 ...] ]
DESCRIPTION
filecap is a program that prints out a report of programs with file based capabilities. If a file is not in the report or there is no
report at all, no capabilities were found. For expedience, the default is to check only the directories in the PATH environmental variable.
If the -a command line option is given, then all directories will be checked. If a directory is passed, it will recursively check that
directory. If a path to a file is given, it will only check that file. If the path to the file includes capabilities, then they are written
to the file.
OPTIONS
-a This tells the program to show all capabilities starting from the / directory. Normally the PATH environmental variable is used to
show you capabilities on files you are likely to execute.
-d This dumps all capabilities for reference.
EXAMPLES
To check file capabilities in $PATH:
filecap
To check file capabilities of whole system:
filecap -a
To check file capabilities recursively in a directory:
filecap /usr
To check file capabilities of a specific program:
filecap /bin/passwd
To list all possible capabilities:
filecap -d
To set a file capability on a specific program:
filecap /bin/ping net_raw net_admin
SEE ALSO
pscap(8), netcap(8), capabilities(7).
AUTHOR
Steve Grubb
Red Hat March 2009 FILECAP:(8)