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 how to get help

Re: If you compile - remember build-essential

Postby Husse on Mon Feb 23, 2009 5:09 pm

I think you will find some interesting info here
http://www.linuxmint.com/wiki/index.php ... eb_package
For rpm packages look up alien
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: 19703
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 rizzeh on Sat Apr 18, 2009 5:30 am

i had to get build-essential, kernel source and headers for 180.44 nVidia drivers install, worked like charm with 2x8600GTs in AFR mode. Even gamers love Mint :D
User avatar
rizzeh
Level 1
Level 1
 
Posts: 15
Joined: Fri Apr 17, 2009 3:26 pm

Re: If you compile - remember build-essential

Postby gcampton on Sat Oct 03, 2009 11:07 am

Husse is the build essential list constantly changing? or can you post a list with which packages get installed and version numbers to date?

I would just like to know if downloading and compiling the packages needed for compiling would be better.
eg m4 -> make -> Patch -> Perl -> Sed -> Texinfo -> Binutils-2.12 -> Bison-1.875 -> Coreutils-5.0 -> Diffutils-2.8 -> Findutils-4.1.20
Gawk-3.0 -> Gcc-4.4.1 -> Glibc-2.2.5 -> Grep-2.5.
gcampton
Level 2
Level 2
 
Posts: 85
Joined: Tue Sep 08, 2009 7:59 pm

Re: If you compile - remember build-essential

Postby Husse on Sat Oct 03, 2009 2:19 pm

apt depends build-essential
and
apt rdepends build-essential
answers the question
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: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: If you compile - remember build-essential

Postby gcampton on Mon Oct 05, 2009 7:24 am

Husse wrote:apt depends build-essential
and
apt rdepends build-essential
answers the question



gcampton@g-laptop ~ $ apt depends build-essential
<build-essential>
gcampton@g-laptop ~ $ apt rdepends build-essential
<build-essential>
gcampton@g-laptop ~ $

how do I probe that red package? Those commands don't seem to do anything else beside print that red <build-essential>
gcampton
Level 2
Level 2
 
Posts: 85
Joined: Tue Sep 08, 2009 7:59 pm

Re: If you compile - remember build-essential

Postby Husse on Tue Oct 06, 2009 4:29 am

Those commands don't seem to do anything else beside print that red <build-essential>

In that case something is wrong or your version of apt needs sudo for that - can't remember if a "normal" apt would need that
We have tweaked apt - it is not the standard apt if you have the newest in Gloria
I get
$ apt depends build-essential
build-essential
|Depends: libc6-dev
Depends: <libc-dev>
libc6-dev
Depends: g++
Depends: make
Depends: dpkg-dev
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: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: If you compile - remember build-essential

Postby orlin on Mon Dec 14, 2009 12:54 pm

Husse,
I'd like to compile some c programs which need the ncurses library and the header file. How do I install the required files.
I tried "sudo apt-get install build-essential" with no luck.
Thanks.
orlin
Level 1
Level 1
 
Posts: 2
Joined: Sun Dec 13, 2009 11:02 pm
Location: USA

Re: If you compile - remember build-essential

Postby Husse on Tue Dec 15, 2009 6:51 am

Was it not installed or did it not contain what you need?
From memory I think the ncurses are in there but no headers
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: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: If you compile - remember build-essential

Postby piratesmack on Tue Dec 15, 2009 7:36 pm

IIRC,
Code: Select all
sudo apt-get install libncurses5-dev

to get the headers
piratesmack
Level 5
Level 5
 
Posts: 710
Joined: Mon May 26, 2008 3:08 pm

Re: If you compile - remember build-essential

Postby Husse on Wed Dec 16, 2009 7:02 am

Thanks for that - time ....
It's even simpler in Mint
Code: Select all
apt install libncurses5-dev
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: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: If you compile - remember build-essential

Postby orlin on Wed Dec 16, 2009 9:36 am

Thanks Hasse and piratesmack
The problems is solved.

Mint is cool! :D
orlin
Level 1
Level 1
 
Posts: 2
Joined: Sun Dec 13, 2009 11:02 pm
Location: USA

Re: If you compile - remember build-essential

Postby tw04l124 on Mon Mar 29, 2010 8:10 am

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..


Hello I use gentoo and I am new here to mint, because I want to try mint.

Gentoo install all from source, exept binary packages, e.g. adobe-flash, acrobat reader, nvidia-drivers, ati-drviers
But there are some binary pre-compiled packes, because they took very long to compile: eg. openoffice-bin, mozilla-firefox-bin

The power of gentoo is, to rip everything out, which you dont like. E.g. tomboy, evince, brasero and so on out of gnome
The power of gentoo is also its useflag, if you disable the mp3 use flags, you wont get mp3 support build in the packages. You can customize it how you like it.

I have my root parititon encrypted and a software raid also for my root partiton.

Gentoo is about choice. Many binary distros are installed very fast, but thats all. If you need a working compiler environment, a custom kernel and so on, its difficult.

The speed improfement in gentoo, is nearly null today. In the early ages, you get a speed improfement, because most binary distros where compiled for the 486 architecure.

A sad thing what I have to say, gentoo is 95 % stable, 2 years ago it was 100 % for me. That was the reason why I went to unstable branch, because the stable argument is gone for me. I run now on my gentoo box, gnome 2.29.92 which is really a nice software, but full of bugs sometimes. Therefore overlays exists to get e.g. the newest gnome.

One year ago, in January I used ubuntu for 3 months, Sadly my vga card has a vga bios bug, and the only way to solve that problem was using a more in deep linux, like gentoo, because I had to manually change every kernel. Since 2 months, this bug is covered in closed source nvidia binary. I didnt find a way to change the kernel or any good guide about custom kernel configuration in ubuntu. well after that I used arch-linux, which is something more prune and easier to maintain for me.

If you have gentoo questions ask me, pls. I use gentoo for 4 years now.
tw04l124
Level 1
Level 1
 
Posts: 4
Joined: Mon Mar 29, 2010 7:02 am

Re: If you compile - remember build-essential

Postby tw04l124 on Mon Mar 29, 2010 8:14 am

McLovin wrote:
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?


Well for installing, you need a recent livecd which has your sata drivers enabled for your mobo. OR::

But its much more easier, if you chroot from your existing mint installation and go from there. You dont need a livecd to install gentoo. Use the alternative instruction guide and chroot from your existing mint installation.
tw04l124
Level 1
Level 1
 
Posts: 4
Joined: Mon Mar 29, 2010 7:02 am

Re: If you compile - remember build-essential

Postby tw04l124 on Mon Mar 29, 2010 8:16 am

dutch1 wrote:
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



man command => and read the man page then carefully. Sudo is only here to get root rights.
tw04l124
Level 1
Level 1
 
Posts: 4
Joined: Mon Mar 29, 2010 7:02 am

Re: If you compile - remember build-essential

Postby Oscar799 on Mon Mar 29, 2010 10:20 am

Hello tw04l124,
Welcome to Mint Forum.
If you want to discuss Mint and Gentoo please feel free to start a thread in the Chat About Linux & Other Distributions sub-forum.
This is a very old thread and new posts here could well go unseen.
oscar799
Forum Moderator
Image
"Don't fix it if it ain't broken,don't break it if you can't fix it" Husse
Registered Linux User #511789
User avatar
Oscar799
Level 18
Level 18
 
Posts: 8942
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Linux Mint is funded by ads and donations.
 
Previous

Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], BiohaZd, dexl, WharfRat, Yahoo [Bot] and 49 guests