For example, I can't install package qcad
because of error: "can't find qdict.h".
How can I find the package which provides the file qdict.h
so I can install the package qcad
?
Asked
Active
Viewed 1.1k times
19

Nikos Alexandris
- 1,470

Eddy_Em
- 1,323
1 Answers
18
You may use the e-file
command from the pfl
package (emerge -av app-portage/pfl
) to search by package contents.
e-file YOURFILE
Alternatively, you may use an online database.
Regarding the qcad
package specifically, you probably need the Qt4 package. IIRC, use emerge -av x11-libs/qt-gui
(If that doesn't work out, try searching for QT packages. Use this query: emerge -s qt
.)

daveloyall
- 228

daisy
- 54,555
-
5
-
1FYI, the
e-file
command simply queries the very same online database linked in the answer. It's called the Portage File List. – daveloyall Jan 16 '20 at 23:26
qdict.h
. I want to know which package contains that file. I've tried to google, but found nothing. – Eddy_Em Mar 28 '13 at 07:45qt
. BTW QCad needs qt3, but there's no qt3 in official packages. I don't understand how it's possible. – Eddy_Em Mar 28 '13 at 07:56app-portage/pfl
: itse-file
helps me. This isqt-meta
. – Eddy_Em Mar 28 '13 at 08:09