1 |
On 08/09 09:48, Mateusz Lenik wrote: |
2 |
> Turns out emerge has this nice flag (excerpt from emerge(1) manpage): |
3 |
> |
4 |
> --buildpkgonly, -B |
5 |
> Creates binary packages for all ebuilds processed without |
6 |
> actually merging the packages. This comes with the caveat that all |
7 |
> build-time dependencies must already be emerged on the system. |
8 |
> |
9 |
> Best, |
10 |
> mlen |
11 |
> |
12 |
> On Thu, Aug 9, 2018 at 9:29 AM Andreas Fink <finkandreas@×××.de> wrote: |
13 |
> |
14 |
> > On Wed, 8 Aug 2018 19:12:37 +0200 |
15 |
> > tuxic@××××××.de wrote: |
16 |
> > |
17 |
> > > Hi, |
18 |
> > > |
19 |
> > > is it possible to go through process of installing a not-installed |
20 |
> > > package from source to executable ... without actually install the |
21 |
> > > package - so the system as such is not touched? |
22 |
> > > |
23 |
> > > Cheers |
24 |
> > > Meino |
25 |
> > > |
26 |
> > > |
27 |
> > > |
28 |
> > |
29 |
> > You can use ebuild for that. The commands to build without merging |
30 |
> > would be |
31 |
> > ebuild /usr/portage/my-package/my-ebuild-file.ebuild install |
32 |
> > |
33 |
> > This will download, unpack, build, and install the package into your |
34 |
> > temporary portage build directory (usually /var/tmp/portage). It will |
35 |
> > not resolve any dependencies though, this has to be done beforehand. |
36 |
> > |
37 |
> > The temporary install directory is called "image" in the temporary |
38 |
> > directory. |
39 |
> > |
40 |
> > You can also go through the whole process step by step, |
41 |
> > ebuild /usr/portage/my-package/my-ebuild-file.ebuild unpack |
42 |
> > ebuild /usr/portage/my-package/my-ebuild-file.ebuild compile |
43 |
> > ebuild /usr/portage/my-package/my-ebuild-file.ebuild install |
44 |
> > ebuild /usr/portage/my-package/my-ebuild-file.ebuild qmerge |
45 |
> > ebuild /usr/portage/my-package/my-ebuild-file.ebuild clean |
46 |
> > |
47 |
> > the qmerge command will install it into your system, so this is the |
48 |
> > step, that you do not want to execute ;) |
49 |
> > |
50 |
> > Cheers |
51 |
> > Andreas |
52 |
> > |
53 |
> > |
54 |
|
55 |
Hi, |
56 |
|
57 |
thanks a lot for the info...I hadn't thought it would be THAT easy! :) |
58 |
|
59 |
Cheers! |
60 |
Meino |