LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing drivers (https://www.linuxquestions.org/questions/linux-newbie-8/installing-drivers-251986/)

mos definitely 11-06-2004 09:55 PM

installing drivers
 
i am using Fedora core 1 on a asus p4p800 motherboard

the problem i am having is that i need to install lan drivers so my ethernet port will work.i am installing them from a cd. but i do not know the directory to place the drivers and how to install them. can anyone help me wit this problem.:newbie:

masand 11-06-2004 09:59 PM

hi there

please speciify the package that u have for installing ur drivers..(is it .rpm or .tar format)
and the lan card u hav

regards

mos definitely 11-06-2004 10:09 PM

they are in tar.bz2. i noe sum of the basic tar unpackaging commands. but not wit the bz2 ending. and it is an onboard marvell card

note: due to this i cannot get on net with fedora so i am using the windows partiton of my machine.

masand 11-06-2004 11:37 PM

hi
this is from the the document which i wrote for my USer group

------------------------------
Source packages generally come in 2 compressed formats

xmms-1.2.10.tar.bz2 --compressed with bunzip(bzip)
xmms-1.2.10.tar.gz --compressed with gunzip(gzip)

and others also

1.)first of all we need to extract these packages .
so copy the packages in your Linux partition. for example in /plugins directory.
go to that directory and extract them as follows

[root@gaurav root]# cd /plugins/
[root@gaurav plugins]# tar xjf xmms-1.2.10.tar.bz2
[root@gaurav plugins]#

OR

[root@gaurav root]# cd /plugins/
[root@gaurav plugins]# tar xvzf xmms-1.2.10.tar.gz
[root@gaurav plugins]#

here we pass the arguments
xjf --for uncompressing packages of the type (.tar.bz2)
xvzf --for uncompressing packages of the type (.tar.gz)

more on these attributes can be found by

[root@gaurav root]# man tar

if the packages are in some another format then u can extract them also by
a.)copy the package in your Linux partition
b.)Right click on the package
c.)choose extract here
this method surely takes some time more that the command line version but if you are having any problems in extracting with the command line then u may proceed in this manner

2.)after packages have been extracted then u need to compile them and then install these.
you can go through a file Readme or INSTALL
in all the install readme files you will find the procedure for installing source packages
I am briefing the procedure down here

a.) go to the directory containing the extracted packages

[root@gaurav root]# cd /plugins/xmms-1.2.10
[root@gaurav xmms-1.2.10]#

b.) './configure' will check if the files necessary for installation are available or not

[root@gaurav xmms-1.2.10]# ./configure

c.)' make' will compile the package

[root@gaurav xmms-1.2.10]# make

d.)'make install' will install the executable in '/usr/local/bin' (generally)

after these you can run your new packages by their name only or by giving the full path
[root@gaurav xmms-1.2.10]# xmms

OR

[root@gaurav xmms-1.2.10]# /usr/local/bin/xmms
-------------------------------

hope it helps

regards

mos definitely 11-07-2004 12:10 AM

thx for your help. i ended up rebuilding kernal with the card and then activating the device. but your info was still helpfull in me understanding linux


All times are GMT -5. The time now is 06:10 PM.