Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Software on Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
sunburned.surveyor@gmail.
n00b
n00b


Joined: 25 Mar 2005
Posts: 35
Location: Stockton, California

PostPosted: Wed Apr 06, 2005 7:19 pm    Post subject: Installing Software on Gentoo Reply with quote

I am brand new to Gentoo and also Linux, so please be patient with me. :D I hope I've got the right forum for this question.

I have been reading all about ebuild/emerge and package management on Linux. Despite this reading, I'm still a little confused about how to install software on Gentoo. (As your typical Windows user, I'm used to just double clicking an .exe file. I do a little programming, however, so there may still be hope for me.)

I need to learn how to install software on my Gentoo OS. My Gentoo computer doesn't have a network/internet connection, so I've got to install everything from disk.

My first question is this: What type of data do I download to install a particular software on Gentoo. Do I grab a certain binary package, or do I have to get the source code for the program?

Let's say I want to install the latest version of GRASS on Gentoo. Which of the binaries or source packages would I grab from this link?:

http://www.hpcc.nectec.or.th/grass/download/index.php

What commands would I use to install GRASS?

I'm not looking for an easy idiot-proof solution. I'm really trying to figure out how to get the specific software I want on my Gentoo box. I don't mind working a little to achieve this goal.

I appreciate any information or tips on this.

The Sunburned Surveyor

P.S. - I'm running the Gentoo 2.4.26 Kernel on an HP I686.
Back to top
View user's profile Send private message
masteroftheuniverse
Apprentice
Apprentice


Joined: 20 Jan 2005
Posts: 259

PostPosted: Wed Apr 06, 2005 7:25 pm    Post subject: Reply with quote

in your case i'd just download the binary tarball, untar, and install. yeah, wihout portage. i say that, although i didn't check to see if it is in portage, in which cas you could download a source tar for the ebuild and emerge it...
just checked, grass is in portage.
Back to top
View user's profile Send private message
sunburned.surveyor@gmail.
n00b
n00b


Joined: 25 Mar 2005
Posts: 35
Location: Stockton, California

PostPosted: Wed Apr 06, 2005 7:40 pm    Post subject: Reply with quote

Now I see why they call you the master of the universe......:D

You said:"in your case i'd just download the binary tarball, untar, and install"

So if Grass wasn't in Portage, you would grab the Generic GNU/Linux tarball. (grass5.4.0_i686-pc-linux-gnu_bin.tar.gz)

Then you would untar it....You use the "tar" command for this, correct?

Then you would install it....What commands would you use to do this? Could you follow the steps described here, under Compiling and installing software from source?:

http://www.linuxforums.org/tutorials/1/tutorial-19957.html

Thanks,

The Sunburned Surveyor
Back to top
View user's profile Send private message
Legoguy
Apprentice
Apprentice


Joined: 22 Dec 2003
Posts: 166
Location: Edmonton, Alberta, Canada

PostPosted: Wed Apr 06, 2005 8:35 pm    Post subject: Reply with quote

In my opinion it is definitley best to keep as many programs managed by portage as possible. Chances are, most software you want to install is in portage. GRASS is too.
Just do an "emerge grass" and portage will download the sourcecode, compile it, and then install it. It's that easy. Read the emerge man page (by doing "man emerge") for more emerge commands.

Late edit:
Didn't notice you mentioned that it was a networkless install. In that case, just download the file that portage wants on another computer, put it on some sort of portable media (cd, usb drive, etc), and then put it in /usr/portage/distfiles, and continue installing on your merry way.


Last edited by Legoguy on Sun Apr 10, 2005 4:09 am; edited 1 time in total
Back to top
View user's profile Send private message
hybrid
Apprentice
Apprentice


Joined: 22 Dec 2003
Posts: 224
Location: Lyon, France

PostPosted: Thu Apr 07, 2005 11:39 am    Post subject: Reply with quote

you can also take a look at
Code:
emerge -fav grass
, which will just download the required files to install grass, once downloaded (you can then stop the connection, in case you've got a 56k modem), you just issue
Code:
emerge -av grass
to get it installed, since all required files are already downloaded, portage will skip the downloading step and emerge (install) grass :)

and as said before, better check the gentoo portage manual pages, it's the best way to learn ...

i hope this clarify a little, and welcome on gentoo planet ;)
Back to top
View user's profile Send private message
ExZombie
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 170

PostPosted: Thu Apr 07, 2005 6:52 pm    Post subject: Reply with quote

As you are running a networkless install, hybrid's first example will be even more useful to you. The -f flag tells emerge to only download the files required. Since it will be unable to do so, it will spit out a bunch of errors. They contain the names and locations of all files portage needs, so you can then download them elsewhere. After that, just put them into /usr/portage/distfiles so portage can pick them up, and emerge normally.
Back to top
View user's profile Send private message
Grillo
n00b
n00b


Joined: 16 Mar 2005
Posts: 9
Location: Modena, Italy

PostPosted: Mon May 30, 2005 8:17 pm    Post subject: Reply with quote

I am experiencing the same issue, specifically with GRASS-GIS and R-2.1.0
I cant get the 56K modem to work on my gentoo (x86 kernel-2.6.11), even if I have the linux modem from the modem company...anyway, getting sick of trying to make this modem working I downloaded elsewhere all the packages I wanted from a gentoo mirror and then put it on my gentoo-pc, but...
someone says they should go in /usr/portage/distfiles, someone says /usr/portage/packages. None of them worked. I manged to emerge stuff from the packages cd, but there are not all the packages I want on it...

I updated my portage (tar -xjf portageblah.tar. in /usr/portage) and used export PGDIR="/usr/portage/distfiles" (or ".../PACKAGES") but it did not work (obviously I used "emerge -K blah blah")

The packages I needed were:
dev-lang/R-2.1.0 (ebuild exists and I have it!)
vmware-workstation-5.0.0.13124 (I have also this ebuilds)
ifc_8.1.024 (intel fortran compiler: there is no ebuild for this version, only for older non-easy-to-be-found versions)
OOo_1.9

NOte that I downloaded them all from a gentoo mirror, besides the ifc_8.1

I did not even tried yet with GRASS, because I got stuck with the basic stuff already...
Please help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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