LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-31-2006, 03:00 AM   #1
cyberiapost
Member
 
Registered: Dec 2005
Location: 127.0.0.1
Distribution: slackware
Posts: 78

Rep: Reputation: 15
C header files- how to install?


am stuck trying to install vware tools in backtrack ...

Quote:
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]
... wat am i supossed to do now?
 
Old 12-31-2006, 04:17 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Generally you need to install the kernel development package (usually called kernel-devel) that matches your running kernel. I've never used backtrack so I can't tell you how to do it exactly, but if you look through the package manager you should be able to find the package you need.
 
Old 12-31-2006, 07:05 AM   #3
cyberiapost
Member
 
Registered: Dec 2005
Location: 127.0.0.1
Distribution: slackware
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by btmiller
Generally you need to install the kernel development package (usually called kernel-devel) that matches your running kernel. I've never used backtrack so I can't tell you how to do it exactly, but if you look through the package manager you should be able to find the package you need.

thanks btmiller
... what kindof package manager does this backtrack use... i tried apt-get but failed...??i think its tgz..

where can i download kernel-devel for 2.6.15.6 ??
 
Old 12-31-2006, 04:45 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
It looks like BackTrack is based on Slackware so it should use tgz packages. On vanilla Slackware the package is called kernel-source. You need to find the package, install it with installpkg, and then you should be OK.

BTW it looks like BackTrack is a specialized distro for security auditing. If you're a newbie you might have a bit more luck getting help with a more mainstream distro. If you like backTrack, why not give Slackware itself a try?
 
Old 01-01-2007, 02:15 PM   #5
cyberiapost
Member
 
Registered: Dec 2005
Location: 127.0.0.1
Distribution: slackware
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by btmiller
It looks like BackTrack is based on Slackware so it should use tgz packages. On vanilla Slackware the package is called kernel-source. You need to find the package, install it with installpkg, and then you should be OK.

BTW it looks like BackTrack is a specialized distro for security auditing. If you're a newbie you might have a bit more luck getting help with a more mainstream distro. If you like backTrack, why not give Slackware itself a try?
thanks , how do i find the exact kernel-source i need? when i did uname -r it showed 2.6.15.6 ..is that the version i should look for? but cant find the exact kernel source... are other versions ok to install?

i love backtrack.. it has all those pentest tools that other linux distros dont have... i cant even find a guide online to dual boot backtrack with xp...
 
Old 01-01-2007, 04:57 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
You need the source of the exact version of your running kernel. Since Slackware (and by extension I hope Backtrack) uses vanilla kernels, you could always try to just get the source from www.kernel.org and it should work.

BTW, I imagine all of the pentest tools you see in Backtrack could be easily installed in any other distro. In the Linux world apps don't tend to be written for a single distribution (with a few notable exceptions). I'm nopt trying to turn you away from backtrack, but understand that relatively few people use it so sometimes it might be a bit harder to get help on stuff. Though the fact that it's Slackware based will help.
 
Old 01-02-2007, 12:25 AM   #7
cyberiapost
Member
 
Registered: Dec 2005
Location: 127.0.0.1
Distribution: slackware
Posts: 78

Original Poster
Rep: Reputation: 15
i managed to install kernel-source and vmware tools in backtrack, but the mouse stoped functioning..i entered xorgconfig and tried to change the settings but it gives me a fatal error now...
 
Old 01-02-2007, 12:28 AM   #8
cyberiapost
Member
 
Registered: Dec 2005
Location: 127.0.0.1
Distribution: slackware
Posts: 78

Original Poster
Rep: Reputation: 15
am going to stick with ubuntu.. its so easy to use ubuntu... backtrack tech support sucks.. especialy ther own forum...thanks for the help btmiller
 
Old 01-02-2007, 12:56 AM   #9
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
No problem -- good luck with it. If you haven't switched back already you might want to look at the pointing device section of /etc/X11/xorg.conf and see if it is still set up right. I've run into trouble with the automated config tools myself, but they've gotten better in recent years.
 
  


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
how do i install linux header files jelgavchik Linux - General 2 01-02-2005 08:15 PM
how to install this header files?? knossoss Programming 2 12-29-2004 07:26 AM
C Header files (VMWare Install) mr.linux.noob Linux - General 2 04-05-2004 12:33 PM
c header files in linux in place of header files in windows? harun_acs Programming 1 03-17-2004 03:24 AM
RH8, vmware install asking for C header files s7nner Linux - Newbie 2 05-07-2003 08:20 PM


All times are GMT -5. The time now is 07:13 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