Results 1 to 10 of 10
I read that the gentoo command "emerge" installs programs, well I was wondering if you can install any kind of file using emerge like if it is a .tar.gz file ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-26-2005 #1Linux Enthusiast
- Join Date
- Dec 2004
- Posts
- 577
Gentoo Command
I read that the gentoo command "emerge" installs programs, well I was wondering if you can install any kind of file using emerge like if it is a .tar.gz file or a .rpm file and so on.
- 06-26-2005 #2Linux User
- Join Date
- Nov 2003
- Location
- Brooklyn, NY
- Posts
- 347
No you can not.
Portage (emerge) uses ebuilds which are located at /usr/portage, the ebuild file tells portage where to download the source of the program and how to compile it.
You may write an ebuild, they have a great guide on the website in the Documents section. Or you can simply compile it like you would on any other Linux box.
- 06-26-2005 #3Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
if you want to search for an ebuild the you could emerge --search programname. There is also a webpage that lists all of the ebuilds in a very easy to follow order. There are ebuilds out there for almost everything you may want...you may have to read about unmasking unstable and other keywords or specific packages if they are not finished yet or if the ebuild hasn't been sufficiantly tested...you should go to the gentoo site and read the section in the handbook on "portage", it is a very good package management system.
Operating System: GNU Emacs
- 06-26-2005 #4Linux Enthusiast
- Join Date
- Dec 2004
- Posts
- 577
How do you compile a program
- 06-26-2005 #5Linux Enthusiast
- Join Date
- Jun 2005
- Location
- Odessa, FL
- Posts
- 586
do you mean one you've downloaded not using emerge or when using emerge?
Originally Posted by Dude500
emerge automatically compiles the program and does all the other necessary things for it to run if you're using emerge (besides adjust your configuration files if, for example, you've emerged x11-xorg).
if you mean compile a file you've downloaded as source (usually with the extension of either tar.gz or tar.bz2), go here: http://www.tuxfiles.org/linuxhelp/softinstall.html
this link will give you very good instructions on compiling from source
- 06-27-2005 #6Linux Engineer
- Join Date
- Jul 2003
- Location
- Uppsala, Sweden
- Posts
- 1,278
you can install allmost all software with the command
emerge packagenamehere
the command will download the tar.gz from the internet, unpack it, configure and compile it - all automaticaly with no user intervention needed at all.
So in answer to your question, Yes emerge can install tar.gz's and somtimes it will download rpm's which it will change into tar.gz. you dont need to know anything about the tar.gz or rpm or anything. you dont need to look for software on the net and manualy download anything.
just type "emerge gimp" or "emerge kde" or "emerge mplayer" into a command window. its totaly automated and deals with dependancies automaticaly in the same way too.
there must be an "ebuild" for the aplication stored on your hard disk (this is taken care of during gentoo installation) an ebuild is just a "script" written by gentoo devs which tells "emerge" where to get the source code (tar.gz) from and what to do with it.Proud to be a GNU/Gentoo Linux user!
- 06-27-2005 #7Linux Enthusiast
- Join Date
- Dec 2004
- Posts
- 577
Thanks for the help
- 06-28-2005 #8
another place to search for packages is http://gentoo-portage.com
~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
http://loft306.org
- 06-29-2005 #9Linux Enthusiast
- Join Date
- Dec 2004
- Posts
- 577
so I have to be on the internet to use emerge or something like that
- 06-29-2005 #10
If you want to get the packages fr m the net yes. But you can settup gentoo to look for packages on a cd iirc.


Reply With Quote
