Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo has spoiled me!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Verted
Guru
Guru


Joined: 09 Apr 2004
Posts: 480
Location: London, England

PostPosted: Thu Nov 25, 2004 10:27 pm    Post subject: Gentoo has spoiled me! Reply with quote

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?:-P
_________________
Thanks,
-Verted
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Thu Nov 25, 2004 10:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
zenwhen
n00b
n00b


Joined: 23 Nov 2004
Posts: 18

PostPosted: Thu Nov 25, 2004 10:56 pm    Post subject: Reply with quote

I thought Gentoo "taught you how linux works" unlike Redhat and the "newb distros".

I suppose that was BS. :P
Back to top
View user's profile Send private message
frippz
Guru
Guru


Joined: 22 Aug 2002
Posts: 460
Location: Sweden

PostPosted: Thu Nov 25, 2004 10:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
nightm4re
Guru
Guru


Joined: 20 Jun 2004
Posts: 519
Location: Providence, RI, USA

PostPosted: Fri Nov 26, 2004 12:00 am    Post subject: Reply with quote

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)

:twisted:
_________________
Nitrogen - GtkMM based background setter/restorer, please test!
Minuslab | d.minuslab.net
Back to top
View user's profile Send private message
denstark
l33t
l33t


Joined: 02 Jun 2003
Posts: 654
Location: sd.ca.us

PostPosted: Fri Nov 26, 2004 12:02 am    Post subject: Reply with quote

zenwhen wrote:
I thought Gentoo "taught you how linux works" unlike Redhat and the "newb distros".

I suppose that was BS. :P


Go troll somewhere else.
_________________
Blog
Code:
denstark> starbuck authorizes torture?
rokstar> sure they do, you tried their coffee?
Back to top
View user's profile Send private message
Dud3!
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2004
Posts: 93
Location: Boringville, Florida, USA

PostPosted: Fri Nov 26, 2004 2:32 am    Post subject: Reply with quote

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.... :lol:
_________________
"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
View user's profile Send private message
d4rk74m4
Arch/Herd Tester
Arch/Herd Tester


Joined: 22 Feb 2004
Posts: 151

PostPosted: Fri Nov 26, 2004 5:54 am    Post subject: Reply with quote

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


Ahh, I remember those days. It was Linux From Scratch for me though. Good times!
Back to top
View user's profile Send private message
nightm4re
Guru
Guru


Joined: 20 Jun 2004
Posts: 519
Location: Providence, RI, USA

PostPosted: Fri Nov 26, 2004 9:25 am    Post subject: Reply with quote

don't forget to sudo make install (or su if you don't use sudo, but why not? :D)

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
View user's profile Send private message
Athas
Guru
Guru


Joined: 04 Sep 2003
Posts: 394
Location: Brøndby, Denmark

PostPosted: Fri Nov 26, 2004 2:34 pm    Post subject: Reply with quote

denstark wrote:
zenwhen wrote:
I thought Gentoo "taught you how linux works" unlike Redhat and the "newb distros".

I suppose that was BS. :P


Go troll somewhere else.


Dude, he's right! :wink: 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
View user's profile Send private message
plbe
l33t
l33t


Joined: 01 May 2004
Posts: 661

PostPosted: Fri Nov 26, 2004 2:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
denstark
l33t
l33t


Joined: 02 Jun 2003
Posts: 654
Location: sd.ca.us

PostPosted: Fri Nov 26, 2004 2:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dud3!
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2004
Posts: 93
Location: Boringville, Florida, USA

PostPosted: Fri Nov 26, 2004 2:58 pm    Post subject: Reply with quote

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


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
View user's profile Send private message
vonhelmet
l33t
l33t


Joined: 06 Apr 2004
Posts: 770
Location: Somewhere in a school

PostPosted: Fri Nov 26, 2004 3:02 pm    Post subject: Reply with quote

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


Go troll somewhere else.


Dude, he's right! :wink: 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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum