1 |
On Friday, 27 November 2020 07:24:57 GMT thelma@×××××××××××.com wrote: |
2 |
> I need to install old: php-5.6.33 on my new system. One program I have |
3 |
> depends on it. Is it possible and what is the easiest way to go about it? |
4 |
> |
5 |
> I have the "php-5.6.33.ebuild" (and all other files) on my old system in |
6 |
> dir: |
7 |
> /var/db/pkg/dev-lang/php-5.6.33 |
8 |
> |
9 |
> Is it possible to copy it to my: /usr/local/portage/dev-lang/ |
10 |
> and build it on my new system? |
11 |
|
12 |
There's two ways to go about it. Since the MoBo is the same, I would run |
13 |
quickpkg then copy it over and emerge it on the new disk. |
14 |
|
15 |
Alternatively, copy over the ebuild and any associated files, then copy over |
16 |
the source from distfiles and emerge it as you would normally emerge a |
17 |
package. |
18 |
|
19 |
However, dependencies ... |
20 |
|
21 |
There are build time and run time dependencies. The emerge will fail if build |
22 |
time dependencies are no longer available on the current portage tree and/or |
23 |
fail to run if run time dependencies are missing. In this case you'll have to |
24 |
fish these ebuilds out of the attic and try again. Some packages will create |
25 |
conflicts with the currently installed versions, which may become impossible |
26 |
to resolve. Which is why I originally suggested cloning an already working |
27 |
system with all its packages, rather than reinstalling. |
28 |
|
29 |
Either way, give quickpkg a spin and see where that gets you. |