[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: post-install questions



On Sun, Aug 11, 2013 at 02:21:33PM -0400, Stephen Powell wrote:
> On Sun, 11 Aug 2013 12:49:36 -0400 (EDT), François Patte wrote:
[...]
>
> > 3- Is it possible to install a package without its dependencies  with
> > apt-get?  I wanted to install auctex but apt-get wants to install a lot
> > of TeX packages which I don't want.
> >
> > I know, auctex is made for TeX, but I install texlive directly from CTAN
> > and don't want to have 2 TeX installations.
>
> Maybe, but in general, you shouldn't.  There are three levels of "dependency".
> A package can DEPEND on another package, RECOMMEND another package, or
> SUGGEST another package.  By default, aptitude, and I think apt-get as well,
> installs all packages that are dependencies or recommendations.  You can
> suppress the installation of recommended packages with
>
>    aptitude -R install <package_name>
>
> or
>
>    apt-get --no-install-recommends install <package_name>
>
> This may help.  But if the extra packages are truly dependencies of the
> package you want to install, it probably won't work without the dependent
> packages, even if you can get it installed.

If it's possible for the package to work without its dependencies
(because the package uses/expect paths that match your manually
installed stuff) you can force install via dpkg

    dpkg --force-depends package.deb

A

Attachment: signature.asc
Description: Digital signature


Reply to: