Results 1 to 10 of 13
Hi everyone,
I was wondering if I can use binary packages with portage.
I ask because I have very crappy hardware and compiling the essentials (OpenOffice.org, KDE, Firefox) can take ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-04-2005 #1Just Joined!
- Join Date
- Feb 2005
- Location
- Colorado Springs, CO
- Posts
- 8
Can I Use Binaries?
Hi everyone,
I was wondering if I can use binary packages with portage.
I ask because I have very crappy hardware and compiling the essentials (OpenOffice.org, KDE, Firefox) can take several days.
I am using VidaLinux 1.1 BTW.
Thanks
- 05-04-2005 #2
Yup!
Make sure to add this line to the make.conf file, though:Code:emerge --usepkg <PACKAGE NAME>
Hope that helps!Code:PKGDIR=<DIRECTORY OF PACKAGES>
- 05-05-2005 #3Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
Another way which works with some big packages like openoffice + firefox is:
Code:emerge mozilla-firefox-bin openoffice-bin
- 05-05-2005 #4Just Joined!
- Join Date
- Feb 2005
- Location
- Colorado Springs, CO
- Posts
- 8
Thanks for the quick reply.
Originally Posted by Cabhan
I still need to know:
What packages do I need to put in the PKGDIR? And where is the make.conf file?
Thanks
- 05-05-2005 #5Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
The make.conf file is in /etc along with most other config-files (/etc/make.conf), and make.conf should bge experimented with since all the options like USE-flags and gcc-options lies there. Flags and options can be found by typing "man make.conf" in a terminal.
EDIT: In the man-file, here's whats on PKGDIR:That means that someone else must have created a binary-package before you can use it. The openoffice-bin and mozilla-firefox-bin are examples of binary ebuilds.PKGDIR = [path]
Defines the location where created .tbz2 binary packages will be
stored.
Defaults to ${PORTDIR}/package
- 05-05-2005 #6Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
also, you dont have to go through portage, you can just download the install binary from their site and install it yourself by running the binary...I think it would be better to just wait while portage emerges everything, but if you are stressed for time you can just do it yourself.
Operating System: GNU Emacs
- 05-05-2005 #7Just Joined!
- Join Date
- Feb 2005
- Location
- Colorado Springs, CO
- Posts
- 8
So can I tell portage to get the ebuilds and install them for me like in apt? Or do I just have to get them myself?
I also wondered if portage can use cvs or subversion instead of the prepackaged source tarballs. That'd be cool.
- 05-05-2005 #8Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
The ebuild is simply a file containing the dependencies and a link to the tarball, while some ebuilds instead contain a link to a .bin binary file. I dunno how to make portage use CVS, but I've heard about it and would really like to try it myself...
- 05-10-2005 #9Just Joined!
- Join Date
- Jan 2005
- Posts
- 28
What emerging really is.
I would like to correct a common misconception that was confirmed by another poster. Emerging a package is NOT like installing a binary! When you type in this:
Emerge looks through a collection of "ebuilds" known as "Portage," which is located on every Gentoo system. This ebuild references to the gaim source code (and it's dependencies), which are then downloaded from the gentoo servers, compiled, and installed on your system automatically.Code:emerge gaim
"Then what in the world is the PKGDIR?" Good question, I'll give an example. Let's say you downloaded the Gentoo packages cd for use with a computer without an internet connection. In order to emerge packages that are on the cd, you need to make /mnt/cdrom/packages or /mnt/cdrom your "PKGDIR." This is done so that an ebuild can reference source code that is on your packages cd before or instead of downloading the online package by using the command:
Although is entirely possible to emerge a binary ebuild, alomost nobody has one. Gentoo is known as the "from source" distribution for a reason.Code:emerge --usepkg gaim
- 05-10-2005 #10
also with the --usepkg or -k argument it will only use a pkg if there is one available ....if none is available then it will use it from source
~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


Reply With Quote
