LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-16-2007, 07:03 PM   #1
xnerdyxboyx
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Rep: Reputation: 0
installing software.


I'm not that new to Linux or Unix.
but my question is a newbie question.
I'm trying to install software by compiling the source codes.
I have no idea on how to do it. Everytime I try to do make or make install,
i get a message that says Linux Kernel Source not found or something along those lines.
I've followed the tutorials I've seen online to no avail.
I also read and reread the "readme" files that comes with the software packages.
Anyone able to help me out?
 
Old 01-16-2007, 07:06 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Depending on your distro and on what you are trying to install... I can figure out that you miss the kernel-source installed. Check them with your usual package manager.
 
Old 01-16-2007, 07:13 PM   #3
xnerdyxboyx
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Original Poster
Rep: Reputation: 0
i currently have suse 10.2 i'm pretty sure the kernel is 2.6.18.2

is there something else that i should have that did not get installed when i first installed suse?
 
Old 01-16-2007, 07:15 PM   #4
Michael_aust
Member
 
Registered: Aug 2005
Location: Lancashire (United Kingdom)
Distribution: Debian Etch, on 686 machine.
Posts: 509

Rep: Reputation: 31
in the package manager look for a package called kernel-header or soemthing similar. If you are wanting to compile a kde application make sure you installed the kde-dev package also.
 
Old 01-16-2007, 07:18 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
The default install very often does not include the source code. It will, however, be in your repository--or perhaps also on the install CD or DVD.
All you need to compile SW is the kernel headers that match the kernel you have installed. Most distros let you get this separately.
 
Old 01-16-2007, 07:21 PM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
On suse 10.2 you have to install
kernel-source-2.6.18.2-34
linux-kernel-headers-2.6.18.2-3
 
Old 01-16-2007, 07:28 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by colucix
On suse 10.2 you have to install
kernel-source-2.6.18.2-34
linux-kernel-headers-2.6.18.2-3
Only the headers, n'est-ce pas??
 
Old 01-16-2007, 07:34 PM   #8
xnerdyxboyx
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Original Poster
Rep: Reputation: 0
ok this is my last question. If I install a package and decide I no longer want to use it, how do I go about uninstalling it?
 
Old 01-16-2007, 07:51 PM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
If it is a package you installed using YaST, then you can search for it in the Software Manager, right click and select "Delete".

There is an rpm command "rpm -e <package name>" the will remove (erase) RPM packages.
 
Old 01-17-2007, 04:53 AM   #10
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by pixellany
Only the headers, n'est-ce pas??
Yeah! Sorry... to compile other software you will need the headers only! Touchè!
 
Old 01-17-2007, 03:44 PM   #11
opto
Member
 
Registered: Jun 2006
Location: Pennsylvania
Distribution: Slackware64 , OS X , OpenBSD
Posts: 56

Rep: Reputation: 15
Quote:
If I install a package and decide I no longer want to use it, how do I go about uninstalling it?
Sometimes there will be an uninstall file that comes with the tar.gz file (I am assuming it is a .tar.gz file). All you have to do is type:
Code:
$uninstall <*program name*>
Of course there are going to be some variations, and not all software comes with this.
 
Old 01-22-2007, 09:10 AM   #12
terrorisk
LQ Newbie
 
Registered: Jan 2007
Location: KUala lumPur Malaysia
Distribution: Debian
Posts: 10

Rep: Reputation: 0
sometime i try to install such program using

./configure
make
make install

but never done well....although i read a README file too many times
so im refer to package manager such adept
 
  


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
installing software dink27 Linux - Software 1 06-26-2005 10:16 PM
installing software michaeljh2000 Slackware 4 01-06-2005 10:50 PM
Installing software JoQ18 Linux - Newbie 1 10-24-2004 07:20 PM
installing software verynew Linux - Newbie 2 05-21-2002 07:02 AM
Question on installing software and starting software rootlinux Linux - Newbie 5 01-19-2002 11:40 AM


All times are GMT -5. The time now is 10:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration