If you compile - remember build-essential

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

If you compile - remember build-essential

Postby Husse on Mon Feb 04, 2008 4:27 pm

For compiling to work build-essential must be installed
Code: Select all
apt install build-essential

note that code only works in Daryna. "Normal code" is
Code: Select all
sudo apt-get install build-essential
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Linux Mint is funded by ads and donations.
 

Re: If you compile - remember build-essential

Postby JohnH on Fri Feb 22, 2008 7:32 am

Hi Husse,

I'm sure this is important, but what does it do and why do we need it?

Regards

John
User avatar
JohnH
Level 4
Level 4
 
Posts: 215
Joined: Wed Nov 22, 2006 4:15 am
Location: Caboolture, Oz

Re: If you compile - remember build-essential

Postby MagnusB on Sun Feb 24, 2008 5:32 pm

build-essentials is just a meta package, it depends on all the most common tools used when compiling. So instead of having to manually install them as you need them, build-essentials does that for you. You will not need it if you do not compile anything yourself.. :)
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
MagnusB
Level 6
Level 6
 
Posts: 1255
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: If you compile - remember build-essential

Postby McLovin on Mon Mar 24, 2008 1:58 am

I've actually been trying to compile everything lately, makes for a more customized install.
For those who don't know, when you run an install from Synptic, a .deb., or even apt-get from console, you get a pre-configured set-up, great if you have pretty standard hardware, but if you are like me, (lets hope you're not, cause I like to "break" my system, just to learn how to fix it) and add new hardware, or have some odd hardware, this can create problems. Compiling from source, (as I understand it, please correct me if I'm wrong) scans your set-up, (hardware, kernel, drivers, etc.) and then compiles the program according to your particular system, making for an install more customized to you and your computer. Also compiling from source allows you to decide where to install something, by default everything (well, almost everything) gets installed in /usr/bin, but compiling from source lets you add some option inputs to install wherever you like.
User avatar
McLovin
Level 5
Level 5
 
Posts: 788
Joined: Thu Aug 23, 2007 6:53 pm

Re: If you compile - remember build-essential

Postby MagnusB on Mon Mar 24, 2008 3:00 pm

Gentoo uses this with their package manager (Portage) where you more or less compile each installation. This could be great for some, and a good way to learn how Linux works etc, but what you gain from it is nothing more than a personalized system and a tiny bit of performance boost.
However, if you want to compile, Debian based systems are not the best way to go. Slackware, Arch Linux and of course Gentoo are much better for those purposes..
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
MagnusB
Level 6
Level 6
 
Posts: 1255
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: If you compile - remember build-essential

Postby McLovin on Mon Mar 24, 2008 4:06 pm

MagnusB wrote:Gentoo uses this with their package manager (Portage) where you more or less compile each installation. This could be great for some, and a good way to learn how Linux works etc, but what you gain from it is nothing more than a personalized system and a tiny bit of performance boost.
However, if you want to compile, Debian based systems are not the best way to go. Slackware, Arch Linux and of course Gentoo are much better for those purposes..

I've thought about trying Arch, Slackware just seems like it's software selection is too old, and for some reason Gentoo, which is the one I really want to try, can't see any of my hard drives, I've tried minimal, live cd, and live dvd, both the graphical and cl installs, and none of them seem to want to see my drives.
I mainly use use the compile to further my knowledge in Linux, and how to get things the way I want.
So I guess what I'm saying, or rather asking, is Arch worth a look?
User avatar
McLovin
Level 5
Level 5
 
Posts: 788
Joined: Thu Aug 23, 2007 6:53 pm

Re: If you compile - remember build-essential

Postby MagnusB on Mon Mar 24, 2008 4:11 pm

Arch is great, way easier to configure that most distro's if you know a bit about your hardware and what you need. Follow the New user guide, and you should make it to the finish line without any major issues, I would think :) However, it is text based installer that only installs kernel and a shell, all other software needs to be added manually after installation (GNOME/KDE, GDM/KDM etc etc). Be prepared to use the CLI if you want to install it...
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
MagnusB
Level 6
Level 6
 
Posts: 1255
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: If you compile - remember build-essential

Postby McLovin on Mon Mar 24, 2008 4:15 pm

CLI is not much of an issue for me, (if I can compile, I think I can make it through a cl install, besides that's I installed Debian Lenny), I think I'll give it a shot, Hardy's not bad, but I think I can wait for Mint to adopt the new features as they aren't that radical that I have to have them now. So I'll remove Hardy and try Arch, and see how it is.
User avatar
McLovin
Level 5
Level 5
 
Posts: 788
Joined: Thu Aug 23, 2007 6:53 pm

Re: If you compile - remember build-essential

Postby kwatson512 on Sat Apr 26, 2008 4:53 pm

Okay, then where should I place the new driver? What directory? And how do I navigate there to run the installer? Should I also copy the installer there?

Very frustrated.
Mint 16 64-bit Cinnamon, Lenovo ThinkPad T430s, 8GB RAM
kwatson512
Level 4
Level 4
 
Posts: 203
Joined: Sun Apr 20, 2008 7:16 pm

Re: If you compile - remember build-essential

Postby Husse on Sat Apr 26, 2008 5:06 pm

kwatson512 wrote:Okay, then where should I place the new driver? What directory? And how do I navigate there to run the installer? Should I also copy the installer there?

Very frustrated.

???
And what's the relevance of this post in this topic? :x
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: If you compile - remember build-essential

Postby kwatson512 on Sat Apr 26, 2008 5:14 pm

Hesse,
The relevance is that I followed the link you sent me in another topic. Sorry. I'm new and just trying to figure things out.
Mint 16 64-bit Cinnamon, Lenovo ThinkPad T430s, 8GB RAM
kwatson512
Level 4
Level 4
 
Posts: 203
Joined: Sun Apr 20, 2008 7:16 pm

Re: If you compile - remember build-essential

Postby kwatson512 on Sat Apr 26, 2008 5:17 pm

Husse,

And I apologize again. I realize I misspelled your name in the last reply. :?
Mint 16 64-bit Cinnamon, Lenovo ThinkPad T430s, 8GB RAM
kwatson512
Level 4
Level 4
 
Posts: 203
Joined: Sun Apr 20, 2008 7:16 pm

Re: If you compile - remember build-essential

Postby Husse on Sat Apr 26, 2008 6:13 pm

The relevance is that I followed the link you sent me in another topic.

OK but how do you think we would know that and know which topic and where to find it.
However put in the first topic this would make sense
(Oh don't expect me to remember any posts - I can write close to a hundred posts some days)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: If you compile - remember build-essential

Postby Mapleblack on Mon May 12, 2008 12:35 pm

When I setup a new system I always install the following packages:
build-essential & automake for compiling
subversion, well for downloading from subversion.
alien & fakeroot, installing RPM packages (fakeroot not really needed but comes in handy)

With these I can install most things :)
Mapleblack
Level 1
Level 1
 
Posts: 44
Joined: Sat May 10, 2008 5:24 pm
Location: The Netherlands

Re: If you compile - remember build-essential

Postby Cubby on Fri Jul 18, 2008 11:05 am

McLovin wrote: Compiling from source, (as I understand it, please correct me if I'm wrong) scans your set-up, (hardware, kernel, drivers, etc.) and then compiles the program according to your particular system, making for an install more customized to you and your computer. .


I don't know if this is how it works, but I was recently thinking how it would be great if installing packages through the package manager/apt would scan your computers hardware and os when you chose to install anything, like it does when you initially install the os. I'm asking too much here, but I can dream. :)
Cubby
Level 2
Level 2
 
Posts: 72
Joined: Mon Apr 07, 2008 11:05 am
Location: Arkansas

Re: If you compile - remember build-essential

Postby piratesmack on Sun Dec 07, 2008 7:36 am

If the software you want to compile is in the repositories (maybe you want to build a newer version or want to apply some patches), the apt-get build-dep command is userful for getting all the build dependencies.

Code: Select all
sudo apt-get build-dep PROGRAM
piratesmack
Level 5
Level 5
 
Posts: 710
Joined: Mon May 26, 2008 3:08 pm

Re: If you compile - remember build-essential

Postby gychang on Wed Dec 24, 2008 12:30 am

is this necessary for tar.gz?

gychang
--
cruising the desert
--
User avatar
gychang
Level 3
Level 3
 
Posts: 143
Joined: Tue Dec 09, 2008 12:24 pm

Re: If you compile - remember build-essential

Postby McLovin on Fri Dec 26, 2008 2:55 am

if you are downloading tar.gz packages for compiling, yes.
User avatar
McLovin
Level 5
Level 5
 
Posts: 788
Joined: Thu Aug 23, 2007 6:53 pm

Re: If you compile - remember build-essential

Postby dutch1 on Mon Jan 26, 2009 5:02 am

hi, i do not really know if this item is in the right place in this discussion, but I am looking now for a long time for a simple list of (sudo)-commands if i have to deal with .gz, .gaz. rpm etc.
I am trying to install those files on my computer for a long time but for one or another reason it does not work.
Of course I do realise that with Synaptic I have the most progs I need, but nevertheless....

Hope one can he;lp me or direct m to a place where I can find it all

Hans
dutch1
Level 1
Level 1
 
Posts: 34
Joined: Sat Jan 03, 2009 3:37 pm

Re: If you compile - remember build-essential

Postby dutch1 on Mon Feb 23, 2009 4:19 pm

dutch1 wrote:hi, i do not really know if this item is in the right place in this discussion, but I am looking now for a long time for a simple list of (sudo)-commands if i have to deal with .gz, .gaz. rpm etc.
I am trying to install those files on my computer for a long time but for one or another reason it does not work.
Of course I do realise that with Synaptic I have the most progs I need, but nevertheless....

Hope one can he;lp me or direct m to a place where I can find it all

Hans




Please, can anybody give me a simple list, or

direct me to a page where i can fuind a list like that?


Hans
dutch1
Level 1
Level 1
 
Posts: 34
Joined: Sat Jan 03, 2009 3:37 pm

Linux Mint is funded by ads and donations.
 
Next

Return to Newbie Questions

Who is online

Users browsing this forum: Google [Bot], wgn and 42 guests