2 questions about emerge & equery in Gentoo linux

Viewed 11


Nowadays I am analyzing media-libs/mesa in Gentoo system. Already the system has mesa. But I wanna analyze it to debug.


first question:
I wanna install mesa on certain path (/tmp/my_mesa) beside of default path (/build/amd64-generic). So I tried emerge --root=/tmp/my_mesa media-libs/mesa then It worked well.
But I don't want to install other dependency packages on the path (/tmp/my_mesa), since this is for debugging.
How to exclude other pakages and install ONLY mesa binaries on the path?

Second question:
I wanna check the installed mesa package which is on the path (/tmp/my_mesa) by equery. But when I do equery uses mesa or equery files mesa I don't know whether the result refers the path (/tmp/_my_mesa) or not.
How to make equery points certain path?

0 Answers
Related