LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-13-2013, 10:37 PM   #1
nuttynibbles
Member
 
Registered: Apr 2010
Posts: 59

Rep: Reputation: 0
download linux package header


hi, i would like to know where can i get headers file for compiling software in linux. for example, i wanna get gd-devel, libjpeg-devel, libpng-devel so that i can compile and install icinga on suse linux enterprise. i cant find it on the installation cd.
 
Old 03-14-2013, 12:10 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Which distro is this?
Code:
uname -a

cat /etc/*release*
Normally you'd get them over the net using the pkg mgr eg in RHEL/Centos related systems
Code:
yum install libjpeg-devel

# try also
yum info libjpeg-devel

# or
yum provides libjpeg-devel
#which replies
libjpeg-turbo-devel-1.2.1-1.el6.x86_64 : Headers for the libjpeg-turbo library
Repo        : base
Matched from:
Other       : libjpeg-devel



libjpeg-turbo-devel-1.2.1-1.el6.i686 : Headers for the libjpeg-turbo library
Repo        : base
Matched from:
Other       : libjpeg-devel



libjpeg-turbo-devel-1.2.1-1.el6.x86_64 : Headers for the libjpeg-turbo library
Repo        : installed
Matched from:
Other       : Provides-match: libjpeg-devel
These would also work if they are available from the install media and that repo is enabled.
 
Old 03-14-2013, 01:32 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Searching a package # zypper se <name> ( Or part of name )

Installing packages : # zypper in gd-devel libjpeg-devel libpng-devel

SLE 10, 11 are commercial OS's. No free packages.
So generally packages cannot be downloaded.
A Suse license / subscription is required to get packages / updates.

A few packages are available. Please show the outputs from the commands:
1) cat /etc/SuSE-release
2) uname -m

-

Last edited by knudfl; 03-14-2013 at 01:34 AM.
 
Old 03-14-2013, 09:48 PM   #4
nuttynibbles
Member
 
Registered: Apr 2010
Posts: 59

Original Poster
Rep: Reputation: 0
hi, with uname i get linux-abed 2.6.32.12-0.7-default #smp 2010-05-20 11:14:20 +2000 x86_64 x86_64 gnu/linux
i find it difficult to source for header packages file online using suse linux enterprise. even with yast, not all of the libraries are available
 
Old 03-15-2013, 04:08 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#4 : OK, 2.6.32.12 is SLE 11, I guess.

What is the output from : $ cat /etc/*release*

And you don't know if you have bought a license ? Please confirm.

( A limited selection in Yast may indicate a DVD only repo.)


-

Last edited by knudfl; 03-15-2013 at 05:08 AM.
 
Old 03-19-2013, 03:16 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
x86_64 packages for SLE 11 : There are two times "SLE11 SP2" repos available.

These two files can be added to /etc/zypp/repos.d :
SLE11-SP2.repo, SLE11-SP2-SDK.repo .
Then you can get the packages: # zypper in gd-devel libjpeg-devel libpng-devel
Code:
[SLE11SP2]
name=SLE11SP2
type=yast
baseurl=http://demeter.uni-regensburg.de/SLES11SP2-x64/DVD1/
path=/
gpgcheck=1
gpgkey=
enabled=1
priority=100
Code:
[SLE11SP2-SDK]
name=SLE11SP2-SDK
type=yast
baseurl=http://demeter.uni-regensburg.de/SLE11SP2-SDK-x64/DVD1/
path=/
gpgcheck=1
gpgkey=
enabled=1
priority=100
 
  


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
What Is The Best Linux Package And Where Can I Download It? inforeading Linux - Newbie 3 12-01-2009 11:03 AM
How to install JBoss on Linux? which package to download? kevintse Programming 2 04-01-2008 12:21 AM
Problem with package library (no Package: header etc) robertri Ubuntu 0 10-09-2007 03:02 PM
Download dpkg and dependencies of a package FROM a non linux PC mfrangos79 Linux - Software 4 11-06-2006 03:47 AM

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

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