LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-26-2009, 03:23 AM   #1
SHENGTON
Member
 
Registered: Sep 2008
Posts: 93

Rep: Reputation: 15
Exclamation What is build-essential and xorg-dev?


Hello guys, good afternoon.

I'll just create a separate topic for this. The other day I downloaded a program. Unfortunately I was not able to install it because I have to install the KDE before it will work. Some members were trying to help and advice me to install the "build-essential" and "xorg-dev".

My question is:
1. What does these two have to do with installing?

Hope to hear your answers guys.

Take care and God bless.
 
Old 03-26-2009, 03:50 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I think that build-essentials is how ubuntu likes to name a "virtual" package that will install the basic stuff needed to compile C programs (namely gcc, glibc, autotools, and probably many others). xorg-dev are the devel packages for xorg, containing probably all the headers and such stuff, that will be needed to compile programs that link against xlib or any other piece of xorg.

If people told you to install these, it usually will be because there's no binary deb package for the tool you wanted to install, so you have to compile it from source by hand, and to compile it yourself you need the compiler, libs and that stuff.
 
Old 03-26-2009, 07:29 AM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Let me take a guess, where you trying to install a nVidia or ATI Driver by chance ? so yep those packages would be needed to compile the driver module for your system.
 
Old 03-26-2009, 08:03 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by SHENGTON View Post
Some members were trying to help and advice me to install the "build-essential" and "xorg-dev".
I could not find where you were getting this advice.......Normally, you should not start new threads like this. If someone was trying to help you and said you needed "build-essential", then you should simply reply to that message and ask for clarification.

Now that this is started, please tell us what you are trying to install.

Note that "build-essential" is required if you are trying to install a program which must be compiled. Before attempting this, it's always good to check the package manager to see if it's there.
 
Old 03-26-2009, 11:51 PM   #5
SHENGTON
Member
 
Registered: Sep 2008
Posts: 93

Original Poster
Rep: Reputation: 15
Thanks for your replies guys.

I'm trying to install Kregedit which is I already posted few days ago but it's already solved. The Kregedit program is compressed by .tar.gz. But seems the program is for KDE only not for gnome since I'm using Ubuntu. Althoug I can install the KDE but it's just a hassle.

I just want to know what's with build-essentials and xorg-dev. I mean what's inside with that softwares and why I'm gonna need it when installing tarballs files?

Last edited by SHENGTON; 03-26-2009 at 11:59 PM.
 
Old 03-27-2009, 12:12 AM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I already told you.

build-essentials will install the compiler and base libs, xorg-devel will install the xorg libraries. You need both to compile X based programs, I assume that the tarball you downloaded contains source code, and that's why people told you to install these two packages first. It's simple maths: if you intend to compile, you need a compiler.

However, since you still haven't directed us to wherever they told you to do so, I can only speculate which is never a good thing, and might render this thread completely invalid and senseless. You haven't directed us to the package you intend to install or compile either, so to start with we can't even know if it contains source code as we suppose or if it contains any other thing, which would mean that you don't need the build stuff at all.
 
Old 03-27-2009, 09:00 AM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
http://freshmeat.net/projects/kregedit/

Actually you could run that in gnome, but you would have to have the KDE Libraries installed.. you would probably need the KDE-dev packages in order to build it from source as well..
 
Old 03-27-2009, 02:05 PM   #8
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
SHENGTON:

Kregedit is intended to view native NT reg files: this leads me to assume you are running wine? If so you are capable of running registry editors other than Kregedit, like "regcrawler" which is much much better or the simplistic "regedit" by microsoft: these you can install and run by a right click at their "exe" under Wine. This method is easier than compiling from source. Jelmer Vernooij the author has dropped maintaining this software.

Installing wine for the sake of running regeditors is more practical, wine is well maintained and in fact ubuntu has taken care of its "dependencies" right in the synaptic manager.

Granting you are able to compile make install kregedit from source there is still probability you will face headache later when library dependency is wanting or pointers (links) are needed to locate a misplaced file.

Time is precious.

Hope this helps.

Last edited by malekmustaq; 03-27-2009 at 02:07 PM.
 
  


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
Installing build-essential with no cd Mogwai808 Ubuntu 3 09-11-2008 12:30 AM
Ubuntu 7.04 - Error Apt-Getting Build-Essential Peatmoss Ubuntu 5 12-11-2007 06:42 PM
Impossible dependencies for build-essential?? gvp87 Linux - Software 1 05-31-2007 01:01 PM
gnome-devel | build-essential Branta Linux - Software 1 02-22-2007 02:57 AM
build-essential broken Phyrtech Linux - Software 5 02-21-2006 10:42 PM

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

All times are GMT -5. The time now is 06:18 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
Open Source Consulting | Domain Registration