Gentoo Archives: gentoo-user

From: Nils Holland <nholland@×××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to install a pkg without all dependencies?
Date: Thu, 18 Dec 2014 15:25:46
Message-Id: 20141218152537.GB310@triton374.startdedicated.com
In Reply to: [gentoo-user] How to install a pkg without all dependencies? by Harry Putnam
1 On Thu, Dec 18, 2014 at 01:18:25PM -0500, Harry Putnam wrote:
2 > Setup: very new install of gentoo
3 >
4 > I want to install emacs-w3m without most of the dependencies:
5 >
6 >
7 > Calculating dependencies... done!
8 > [ebuild N ] app-admin/eselect-emacs-1.17 0 KiB
9 > [ebuild N ] virtual/w3m-0 0 KiB
10 > [ebuild N ] app-emacs/emacs-common-gentoo-1.4-r1 USE="X -games" 40 KiB
11 > [ebuild N ] app-editors/emacs-24.4-r1:24 USE="X acl alsa dbus gif gpm gtk gtk3 inotify jpeg png svg tiff xpm zlib -Xaw3d (-aqua) -athena -games -gconf -gfile -gnutls -gsettings -gzip-el -hesiod -imagemagick -kerberos -libxml2 -livecd -m17n-lib -motif -pax_kernel (-selinux) -sound -source -toolkit-scroll-bars -wide-int -xft" 38804 KiB
12 > [ebuild N ] virtual/emacs-24 0 KiB
13 > [ebuild N ] app-emacs/emacs-w3m-1.4.528_pre20140213 LINGUAS="-ja" 734 KiB
14 >
15 > I don't want to install another (older) version of emacs.
16 >
17 > I installed emacs outside portage from bzr sources. I'd sooner track
18 > emacs development my way.
19 >
20 > I vaguely remember some way to tell portage about that... but not
21 > enough to do it...
22
23 Reading your question again I see that I might have misunderstood it.
24 So, it seems that you want to install an ebuild from portage for which
25 you have satistied a dependency by manually installing some piece of
26 software. In that case /etc/portage/package.provided is the file you
27 want to edit. You add lines in there that describe which packages the
28 system should assume are already in place, as you've dealt with them
29 by hand. portage(5) has more details about the purpose of that file.
30
31 Greetings,
32 Nils

Replies

Subject Author
[gentoo-user] Re: How to install a pkg without all dependencies? Harry Putnam <reader@×××××××.com>