LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   how to install a tbz2 in Gentoo 2005.0 (https://www.linuxquestions.org/questions/linux-distributions-5/how-to-install-a-tbz2-in-gentoo-2005-0-a-327148/)

irfanhab 05-25-2005 09:34 PM

how to install a tbz2 in Gentoo 2005.0
 
Hi,


I installed gentoo 2005.0 recently and when I try to emerge kde it searches for a dependancy, in tar.gz format on the internet, now I also downloaded the packages CD for 2005.0 and it has the required dependancy called eject something.
but it is in tbz2 format.

When I write
emerge XXXXX.tbz2

it says somehting about PKGDIR variable
according the /etc/make.conf this variable is set to /usr/portage/packages

Now when I copy the tbz2 there and try to emerge it it still gives some error and does not install it.

How do I installed a tbz2 file???

and one more question, If I manually install from the sources a library, how do I make portage know that this file has been installed.

johnson_steve 05-25-2005 10:52 PM

hate to be the one to tell you this but you can't install the grp packages after you run an emerge sync these are suposed to be installed as soon as you finish the base install. you could try to force it with:

emerge --usepkgonly XXXXX.tbz2

but I don't think that this will work if the package is older than the ebuild in your portage tree.

and:

emerge --inject packagename

will fake out the system so you can install from the source.

irfanhab 05-25-2005 11:24 PM

I've just done the base-install some 2 days ago and and only emerged X11

irfanhab 05-25-2005 11:25 PM

I've never done an emerge sync! are you supposed too?

johnson_steve 05-25-2005 11:31 PM

emerge sync updates your portage tree

but for you it may be good that you didn't do this yet did you get the whole grp cd? if so you should follow the instructions off the gento page.

why are you trying to use packages? is it cause you have a slow conection? did you maybe try to emerge and it didn't work? 'cause not doing an emerge sync could do that.

I installed kde off the grp cd 'cause i have dial up at home but i could go somewhere else and get the cd off wifi with my mac. but I ended up having to rebuild kde after I changed my use flags so i had to download it again on my dialup anyway.

irfanhab 05-28-2005 10:42 PM

Thanks for everyone who replied,

I managed to fix everything,
I luv 'emerge', it is so much better than installpkg in slackware, where you take care of dependencies yourself.


All times are GMT -5. The time now is 07:29 PM.