To extract the currently installed package on SLES 12 SP4 and install it on another machine running SLES 12 SP3, follow these steps:
-
First, identify the package you want to install. You can use the YaST package manager or the RPM command to list installed packages.
zypper list-installedor
rpm -qa -
Once you have identified the package, use the RPM command to extract the package on the source machine.
rpm -e --nodeps <package-name>Replace
<package-name>with the name of the package you want to extract. The--nodepsoption is used to ignore dependencies. -
After extracting the package, copy the RPM file to the target machine.
-
On the target machine, use the RPM command to install the package.
rpm -i <package-name>.rpmReplace
<package-name>.rpmwith the name of the RPM file you copied over.
Here is a summary of the steps:
- Identify the package to install.
- Extract the package on the source machine using RPM command.
- Copy the RPM file to the target machine.
- Install the package on the target machine using RPM command.
References:
- Books: "Novell SUSE Linux Enterprise Server 11 SP3 Administration" by Gerhard Wiesbeck, Thomas Fischer, and Markus Kempter.
- Articles: SUSE Linux: Using RPM Commands
- Online Resources: SUSE Linux: RPM Commands