LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-08-2007, 02:21 PM   #1
phoenix_wolf
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 177

Rep: Reputation: 30
installing .run files?


I am using debian and I need to install my drivers but there only in the .run format how do I install that (cant seem to find it in google)
 
Old 05-08-2007, 02:24 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
sudo sh xxx.run
 
Old 05-08-2007, 02:47 PM   #3
hashash
Member
 
Registered: Apr 2007
Posts: 31

Rep: Reputation: 15
did that work?
else, assuming its in the same dir..

chmod +x xx.run
./xx.run
 
Old 05-08-2007, 05:31 PM   #4
phoenix_wolf
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 177

Original Poster
Rep: Reputation: 30
it worked but now i came across another problem it after running the program (a driver prgram for my motherboard) it said that I do not have a kerneal source

how is this I know that cant be true becouse the kernel is the basic foundation of the Linux program. (or is that something else)?
 
Old 05-08-2007, 05:42 PM   #5
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Rep: Reputation: 31
you have a kernel, yes, but not the source code for the kernel. that is needed to compile modules (like drivers) for the kernel.

apt-get install kernel-source might well do the trick.

Last edited by edgjerp; 05-08-2007 at 05:45 PM.
 
Old 05-08-2007, 06:03 PM   #6
phoenix_wolf
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 177

Original Poster
Rep: Reputation: 30
ok I tried that apt=get install kernel=source and it did not work..

Reading package lists... Done
Building dependency tree... Done
Package kernel-source is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package kernel-source has no installation candidate

befor I install "apt-get install kernel" withoust "source"
I want to know if that would do any good or be safe or not

and here is the problme I get when runing the prgram itself


ERROR: Unable to find the kernel source tree for the currently running
kernel. Please make sure you have installed the kernel source files
for your kernel; on Red Hat Linux systems, for example, be sure you
have the 'kernel-source' rpm installed. If you know the correct
kernel source files are installed, you may specify the kernel source
path with the '--kernel-source-path' commandline option.
 
Old 05-08-2007, 09:55 PM   #7
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
The command you used for installing the kernel source is not right. It is supposed to be:

apt-get source linux-source-2.6.18

Check first the kernel version you are running with 'uname -r'. You should install the source of the same version you are running.

Be sure however that you have a line in your /etc/apt/sources.list which says:

deb-src http://ftp.debian.org/debian testing main contrib non-free

(Substitute "testing" for "stable" or "unstable" as needed)

Then when the download is succesful do:
ln -s /usr/src/name_of_the_folder_containing_the_source_now linux

Refer to this page to get all information I omitted or provided in error.

At the end you might want to build your own kernel to be sure that the source tree is really the source used for building the kernel. It is not scary as long as you double-check /boot/grub/menu.lst to see that your old kernel still is one of the boot options.

jlinkels
 
Old 05-10-2007, 08:05 PM   #8
phoenix_wolf
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 177

Original Poster
Rep: Reputation: 30
I did all you said put the line in the sources.list using vi eidtor

and this is what happend after i did that

apt-get source linux-source-2.6.18-4-amd64
Reading package lists... Done
Building dependency tree... Done
E: Could not open file /var/lib/apt/lists/ftp.debian.org_debian_dists_testing_main_source_Sources - open (2 No such file or directory)


an extra note: here is my source.list
#
# deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot amd64 NETINST Binary-1 20070501-20:39]/ lenny contrib main

deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot amd64 NETINST Binary-1 20070501-20:39]/ lenny contrib main

deb http://ftp.debian.org/debian/ lenny main
deb-src http://ftp.debian.org/debian/ lenny main
deb http://security.debian.org/ lenny/updates main contrib
deb-src http://ftp.debian.org/debian testing main contrib non-free

deb-src http://security.debian.org/ lenny/updates main contrib

Last edited by phoenix_wolf; 05-10-2007 at 08:29 PM.
 
Old 05-10-2007, 08:52 PM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
What driver for what motherboard/chipset are you trying to install ?
 
Old 05-10-2007, 09:02 PM   #10
phoenix_wolf
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 177

Original Poster
Rep: Reputation: 30
I have a amd64 asus m2npv-vm motherbord

chipset Nividia GeFource 6150 + nForce 430


I am trying to install all the drivers but mainly the sound right now
 
Old 05-10-2007, 10:37 PM   #11
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
according to nVidia you shouldn't have to install drivers to get that to work..
just load the proper module, which should already be included in your system.
unless I am reading that page wrong..

http://www.nvidia.com/object/linux_nforce_1.21.html
Code:
All of the following drivers are open-source and are included in most popular 
Linux distributions. In most cases, the Linux installer will select the 
appropriate driver for the detected nForce hardware.

Component 	Platform 	       Use this driver
Audio (AC97) 	nForce-1 – nForce-4 	intel8x0.c
Audio (HDA) 	nForce-430 and later 	hda_intel.c
 
Storage 	
SATA 	sata_nv.c
ACHI 	ahci.c
IDE 	amd74xx.c
 
Ethernet 	
All 	forcedeth.c
modprobe hda_intel
 
Old 05-10-2007, 10:47 PM   #12
unknownmosquito
Member
 
Registered: Dec 2005
Distribution: Fedora 8
Posts: 57

Rep: Reputation: 15
You're definitely fine.
My board has an NVidia chip, and it worked just fine with no extra drivers, and for crying out loud I'm using Gentoo, which comes with little more than the kernel.
Check your ALSA settings and make sure nothing is muted etc.
 
Old 05-13-2007, 01:51 PM   #13
phoenix_wolf
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 177

Original Poster
Rep: Reputation: 30
ok a few days ago becouse of some other reason put a soun card (sound blaster card in) 7.1 live I think it is 24bit I know any way is there somthing else I need to do to this to get that card running?
 
  


Reply



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
How do I run .run and .exe files? AAJJCC Linux - Newbie 8 03-24-2006 06:46 PM
How do I run those .run files? IanPappas Linux - Software 2 09-29-2005 05:18 PM
Help installing .run files the_sLiDe Linux - Software 1 10-02-2004 06:43 PM
.run files? elamigo2004 Linux - Software 3 05-09-2004 10:41 AM
How do you decompress files, or run files such as the Netscape 6 Uninstaller in RH7.2 oudent Linux - Newbie 1 11-19-2001 12:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:26 PM.

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
Open Source Consulting | Domain Registration