Mircea Luca wrote:
>
> Holger Rauch wrote:
> >
> > Hi!
> >
> > How can I make Apt automatically follow recommendations and/or
> > suggestions? This feature would be useful to me since I would like to
> > obtain the documentation to a package as well as the package itself. So,
> > for instance, when doing
> >
> > apt-get install libtool
> >
> > I also would like to get libtool-doc. In addition, I have a similar
> > request for installing libraries. When installing a new library using
> > Apt, I also would like to obtain the *-dev version (which also
> > contains the corresponding header files. Are such requests taken care
> > of by Apt and/or the dependency system? If so, which options/commands do I
> > have to use to make this work? I was looking in the documentation on Apt
> > being shipped with Debian Potato, but I could not find anything regarding
> > this issue. In case I was overlooking something, I apologize.
> >
> > Thanks in advance for any advice!
> >
> > Greetings,
> >
> > Holger
>
> What I do,note that there may be better ways is:
> I install the package with apt,then
>
> apt-get install `dpkg -s package | grep Suggests | sed s/Suggests:// |
> sed s/,//g`
>
> It works quite well unless you have a virtual package,then you have to
> install
> first the one you pick then do the same thing.