LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-18-2009, 08:18 AM   #1
boon3232
LQ Newbie
 
Registered: May 2009
Posts: 4

Rep: Reputation: 0
Installing drivers/application


Hi All,
After downloading some application or drivers which are on desktop,how do i install them?
How to get the location(desktop)from command prompt and how to run the application?
should that file must be copied in location like bin ....etc
 
Old 05-18-2009, 08:25 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
What distribution are you using?
Which files did you download?

Quote:
How to get the location(desktop)from command prompt
Code:
cd Desktop
Can't you install the application using the packet manager from your distribution?
 
Old 05-18-2009, 08:48 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Yeah using a package manager to install something is best way to avoid dependency problems.
If you already have downloaded files, that is the type of extension of the files?
What is the distribution you are using? Are the files in the distribution package format?
 
Old 05-18-2009, 09:56 AM   #4
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,506

Rep: Reputation: 100Reputation: 100
Hi

You'll need to usually "untar" or "unbzip2" them first.

Then you need to configure them.

Then you need to compile them.

Then you need to install them.

For example, if I have "ra816bdriver.tar.bz2" which I got from Real Tek to drive my 8168b Ethernet LAN card, I'd need to do the following to get it installed.

Quote:
1. Copy or move the file with the GUI to my home directory.

This is usally located in /usr/home/yourusername

where "yourusername" is the Linux username you are using.

2. Open a terminal

A "terminal" is a user interface environment where, contrasting with the GUI, you don't use the mouse you type commands to the system for execution. On most distros with KDE, "konsole" is a good terminal choice, or if you are feeling hardcore "xterm" will suffice as well. How you start these are up to you, it differs from distro to distro and version to version.

3. In the terminal, assuming your driverfile is called "ra8168bdriver.tar.bz2" you can now "unbzip2" it:

# bunzip2 ra8168bdriver.tar.bz2
Note that the ".bz2" disappears after you "unbzip2" the file.

Now, "untar" the file:

# tar xvf ra8168bdriver.tar

Now you should end up with a new folder in your home directory that contains the driver source code. In this case it might be called 8168bdriver.

4. Now we need to "configure" the driver. This means customising it for your specific system and environment.

Still in the terminal, change into the new /home/yourusername/8168bdriver folder that you got as a result of step 3.

# cd 8168bdriver

To configure the driver, you usually just type the following:

# ./configure

but this can vary from driver to driver and application to application.

5. Now you need to "compile" the driver. This means translating its readable source code into machine code that your computer can execute.

To compile the driver, you usually just type the following:

# make

6. Now you need to "install" the driver. This means moving the machine code file (in the case of a driver some new file with a .ko extension, and maybe some other files too) to your kernel's modules folder. Don't worry too much about this, usually, for supported kernels or kernel versions, the driver's install script "knows" where to put the resulting .ko you got from step 5.

To install the driver, you usually type the following

# make install
The driver is now installed in the -system- but you might still need to install it into your running kernel.

Note that the above is very vague, and since you provide very little information as to which drivers or applications you want to install, the above is also very generalised. But in general this is what you need to do.

Last edited by rylan76; 05-19-2009 at 02:40 AM.
 
Old 05-19-2009, 12:13 AM   #5
boon3232
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks a lot rylan

Quote:
Originally Posted by rylan76 View Post
Hi

You'll need to usually "untar" or "unbzip2" them first.

Then you need to configure them.

Then you need to compile them.

Then you need to install them.

For example, if I have "ra816bdriver.tar.bz2" which I got from Real Tek to drive my 8168b Ethernet LAN card, I'd need to do the following to get it installed.



The driver is now installed in the -system- but you might still need to install it into your running kernel.

Note that the above is very vague, and since you provide very little information as to which drivers or applications you want to install, the above is also very generalised. But in general this is what you need to do.
it was helpful
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Update OpenGeu application menu after installing an application silencer07 Linux - Desktop 0 10-20-2008 10:19 PM
Device drivers : How to insmod and mknod through an application program? shendeswanand Linux - Newbie 0 02-08-2006 12:28 PM
problems in installing drivers for myson mtd80x fast based ethernet card drivers pop_harish Linux - Hardware 0 02-12-2005 06:27 AM
Installing an application Pleiades Linux - Newbie 7 04-07-2004 04:47 PM
Installing new application in Fedora afertis Linux - Software 1 12-13-2003 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration