View previous topic :: View next topic |
Author |
Message |
Verted Guru
Joined: 09 Apr 2004 Posts: 480 Location: London, England
|
Posted: Thu Nov 25, 2004 10:27 pm Post subject: Gentoo has spoiled me! |
|
|
Today, after searching portage for a program, I noticed that it wasnt there. Libnetmd. I was shocked! - Portage, not having something? Surely not!? Anyways, I rubbed my eyes, and surely it was true.
No problem I thought, I'll just download the tarball. Download finished. Then I realised, I dont know what the hell to do with it. I'm so used to just emerging stuff straight from portage, that I've only ever installed from a tarball once, a while ago, and cant remember how to do it.
Anyone able to remind me? _________________ Thanks,
-Verted |
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Thu Nov 25, 2004 10:29 pm Post subject: |
|
|
usually there is a file called INSTALL or README or whatever in the tarball.
anyway, unpack the tarball to /usr/local/src
go to the directory /usr/local/src/yourapp
./configure
make
make install
this is the most common behaviour. |
|
Back to top |
|
|
zenwhen n00b
Joined: 23 Nov 2004 Posts: 18
|
Posted: Thu Nov 25, 2004 10:56 pm Post subject: |
|
|
I thought Gentoo "taught you how linux works" unlike Redhat and the "newb distros".
I suppose that was BS. |
|
Back to top |
|
|
frippz Guru
Joined: 22 Aug 2002 Posts: 460 Location: Sweden
|
Posted: Thu Nov 25, 2004 10:57 pm Post subject: |
|
|
Uh, why unpack the tarball in /usr/local/src? Why not just unpack it in your home directory and configure and make the package as a non-root user, then switch to root and install it.
Better yet; read the guide on how to roll your own ebuilds. |
|
Back to top |
|
|
nightm4re Guru
Joined: 20 Jun 2004 Posts: 519 Location: Providence, RI, USA
|
Posted: Fri Nov 26, 2004 12:00 am Post subject: |
|
|
zenwhen wrote: | I thought Gentoo "taught you how linux works" unlike Redhat and the "newb distros".
|
yeah, cuz redhat teaches you how to do this too.. rpm -i something.rpm
(or whatevr it is, its been like 4 years since i've been on redhat)
_________________ Nitrogen - GtkMM based background setter/restorer, please test!
Minuslab | d.minuslab.net |
|
Back to top |
|
|
denstark l33t
Joined: 02 Jun 2003 Posts: 654 Location: sd.ca.us
|
Posted: Fri Nov 26, 2004 12:02 am Post subject: |
|
|
zenwhen wrote: | I thought Gentoo "taught you how linux works" unlike Redhat and the "newb distros".
I suppose that was BS. |
Go troll somewhere else. _________________ Blog
Code: | denstark> starbuck authorizes torture?
rokstar> sure they do, you tried their coffee?
|
|
|
Back to top |
|
|
Dud3! Tux's lil' helper
Joined: 19 Aug 2004 Posts: 93 Location: Boringville, Florida, USA
|
Posted: Fri Nov 26, 2004 2:32 am Post subject: |
|
|
Dude, you should have used slackware for a few months like I did, you'll NEVER forget how to compile from source.
Unpack somewhere (I had an "uncompressed" dir on another HDD), cd to it, ./configure, make, make install. Track down a dep when configure fails (or halfway through the compile), build that, track down another dep when it fails again, on and on until you get it installed. If you get it installed.... _________________ "There's no problem so large it can't be solved by killing the user off, deleting their files, closing their account and reporting their REAL earnings to the IRS" |
|
Back to top |
|
|
d4rk74m4 Arch/Herd Tester
Joined: 22 Feb 2004 Posts: 151
|
Posted: Fri Nov 26, 2004 5:54 am Post subject: |
|
|
Dud3! wrote: | Dude, you should have used slackware for a few months like I did, you'll NEVER forget how to compile from source.
Unpack somewhere (I had an "uncompressed" dir on another HDD), cd to it, ./configure, make, make install. Track down a dep when configure fails (or halfway through the compile), build that, track down another dep when it fails again, on and on until you get it installed. If you get it installed.... |
Ahh, I remember those days. It was Linux From Scratch for me though. Good times! |
|
Back to top |
|
|
nightm4re Guru
Joined: 20 Jun 2004 Posts: 519 Location: Providence, RI, USA
|
Posted: Fri Nov 26, 2004 9:25 am Post subject: |
|
|
don't forget to sudo make install (or su if you don't use sudo, but why not? )
a normal user can't write to /usr/local/whatever. _________________ Nitrogen - GtkMM based background setter/restorer, please test!
Minuslab | d.minuslab.net |
|
Back to top |
|
|
Athas Guru
Joined: 04 Sep 2003 Posts: 394 Location: Brøndby, Denmark
|
Posted: Fri Nov 26, 2004 2:34 pm Post subject: |
|
|
denstark wrote: | zenwhen wrote: | I thought Gentoo "taught you how linux works" unlike Redhat and the "newb distros".
I suppose that was BS. |
Go troll somewhere else. |
Dude, he's right! I find it amusing that a Gentoo user isn't reading the docs, though... the tarball should contain a lot of documentation. _________________ Emacs-optimized danish console keymap - My .emacs
Climacs - next generation Emacs. |
|
Back to top |
|
|
plbe l33t
Joined: 01 May 2004 Posts: 661
|
Posted: Fri Nov 26, 2004 2:43 pm Post subject: |
|
|
Its more like the forums spoil people not gentoo. The first problem someone runs into they come in here and ask before they even look in the man page or search google. Most of the problems I've helped people with took me a matter of seconds to figure out simply by typing man <program_name_here> |
|
Back to top |
|
|
denstark l33t
Joined: 02 Jun 2003 Posts: 654 Location: sd.ca.us
|
Posted: Fri Nov 26, 2004 2:47 pm Post subject: |
|
|
downpour wrote: | Its more like the forums spoil people not gentoo. The first problem someone runs into they come in here and ask before they even look in the man page or search google. Most of the problems I've helped people with took me a matter of seconds to figure out simply by typing man <program_name_here> |
Well, at least we don't come off saying
Quote: | RTFM YOU N00B!!!!!!!!1111oneoneoeneleven``~~~BBQ!!! |
Better to answer them nicely and point them to the correct source of documentation. _________________ Blog
Code: | denstark> starbuck authorizes torture?
rokstar> sure they do, you tried their coffee?
|
|
|
Back to top |
|
|
Dud3! Tux's lil' helper
Joined: 19 Aug 2004 Posts: 93 Location: Boringville, Florida, USA
|
Posted: Fri Nov 26, 2004 2:58 pm Post subject: |
|
|
d4rk74m4 wrote: | Dud3! wrote: | Dude, you should have used slackware for a few months like I did, you'll NEVER forget how to compile from source.
Unpack somewhere (I had an "uncompressed" dir on another HDD), cd to it, ./configure, make, make install. Track down a dep when configure fails (or halfway through the compile), build that, track down another dep when it fails again, on and on until you get it installed. If you get it installed.... |
Ahh, I remember those days. It was Linux From Scratch for me though. Good times! |
I started LFS in 2001, but I couldn't do it on dial-up. I got the very basics but the rest was too much for DU and I didn't have anywhere to go and download stuff (I was stuck in TN at the time). _________________ "There's no problem so large it can't be solved by killing the user off, deleting their files, closing their account and reporting their REAL earnings to the IRS" |
|
Back to top |
|
|
vonhelmet l33t
Joined: 06 Apr 2004 Posts: 770 Location: Somewhere in a school
|
Posted: Fri Nov 26, 2004 3:02 pm Post subject: |
|
|
Athas wrote: | denstark wrote: | zenwhen wrote: | I thought Gentoo "taught you how linux works" unlike Redhat and the "newb distros".
I suppose that was BS. |
Go troll somewhere else. |
Dude, he's right! I find it amusing that a Gentoo user isn't reading the docs, though... the tarball should contain a lot of documentation. |
He is indeed right. We get so used to portage doing it all for us! These days I find Gentoo is actually easier than a lot of other distros.
Anyway, it's pretty easy. Configure; make; make install. Job done.
And yes, you shouldn't su until the make install stage. _________________ My blog
nvtuner software - enhance your AGP Geforce 6800 or 6200! |
|
Back to top |
|
|
|