Installation of RSYNC on Solaris
1. Download Solaris Update 13.
2. Mount ISO.
Install the SUNWrsync package.
# /usr/sbin/pkgadd -d /cdrom/sol_10_sparc/Solaris_10/Product SUNWrsync.
Installation of <SUNWrsync> was successful.
# pkgchk -v SUNWrsync
x86: Example: Installing Software From a Mounted CD
The following example shows how to use pkgadd to install the SUNWrsync package from a mounted Solaris 10 update 3 Software 1 of 2 CD.
# /usr/sbin/pkgadd -d /cdrom/sol_10_sparc/Solaris_10/Product SUNWrsync
.
.
Installation of <SUNWrsync> was successful.
# pkgchk -v SUNWrsync
#
To Remove Packages With pkgrm
Log in to the installed or updated system and become superuser:# suRemove one or more packages from the system:
# /usr/sbin/pkgrm pkgidWhere pkgid is the name of the software package you want to remove from the installed system. For example, SUNWrsync.
At each prompt, type y, n, or q to specify that you want to remove the package, not remove the package, or quit.
When you're done, use the pkgchk command to verify that the package was removed correctly:
# /usr/sbin/pkgchk -v pkgidIf the package was not removed correctly, pkgchk returns a warning message.
SPARC: Example: Removing Software From a System
The following example shows how to use pkgrm to remove the SUNWrsync package from a system.
# /usr/sbin/pkgrm SUNWrsyncThe following package is currently installed:
SUNWrsync ..
Do you want to remove this package? y
.
.
.
Removal of <SUNWrsync> was successful.
# pkgchk -v SUNWrsyncWARNING: no pathnames were associated with <SUNWrsync>
#
x86: Example: Removing Software From a System
The following example shows how to use pkgrm to remove the SUNWrsync package from a system.# /usr/sbin/pkgrm SUNWrsyncThe following package is currently installed:
SUNWrsync ..
Do you want to remove this package? y
.
.
.
Removal of <SUNWrsync> was successful.
# pkgchk -v SUNWrsyncWARNING: no pathnames were associated with <SUNWrsync>
#
Alternative Method:
Download the following software packages from the website https://unixpackages.com/packages/:libgcc-3.4.6-sol10-sparc-local.gz
popt-1.16-sol10-sparc-local.gz
libiconv-1.14-sol10-sparc-local.gz
libintl-3.4.0-sol10-sparc-local.gz
rsync-3.0.9-sol10-sparc-local.gz
Copy each file to the /usr/local/bin directory on the Solaris host.
Unzip and install the file libgcc-3.4.6-sol10-sparc-local.gz from the /usr/local/bin directory, as follows:
Enter the following commands to unzip the file and start the installation:
gunzip libgcc-3.4.6-sol10-sparc-local.gzWhen prompted for the packages to be processed, enter all or press Enter.
pkgadd -G -d libgcc-3.4.6-sol10-sparc-local
When prompted if you want to create the base directory, enter y.
When installation is complete, the following message appears:
Installation of <SMClgcc346> was successful.
Unzip and install the file popt-1.16-sol10-sparc-local.gz from the /usr/local/bin directory, as follows:
Enter the following commands to unzip the file and start the installation:
gunzip popt-1.16-sol10-sparc-local.gzWhen prompted for the packages to be processed, enter all or press Enter.
pkgadd -G -d popt-1.16-sol10-sparc-local
When installation is complete, the following message appears:
Installation of <SMCpopt> was successful.
Unzip and install the file libiconv-1.14-sol10-sparc-local.gz from the /usr/local/bin directory, as follows:
Enter the following commands to unzip the file and start the installation:
gunzip libiconv-1.14-sol10-sparc-local.gzWhen prompted for the packages to be processed, enter all or press Enter.
pkgadd -G -d libiconv-1.14-sol10-sparc-local
When installation is complete, the following message appears:
Installation of <SMCliconv> was successful.
Unzip and install the file libintl-3.4.0-sol10-sparc-local.gz from the /usr/local/bin directory, as follows:
Enter the following commands to unzip the file and start the installation:
gunzip libintl-3.4.0-sol10-sparc-local.gzWhen prompted for the packages to be processed, enter all or press Enter.
pkgadd -G -d libintl-3.4.0-sol10-sparc-local
When installation is complete, the following message appears:
Installation of <SMClintl> was successful.
Unzip and install the file rsync-3.0.9-sol10-sparc-local.gz from the /usr/local/bin directory, as follows:
Enter the following commands to unzip the file and start the installation:
gunzip rsync-3.0.9-sol10-sparc-local.gzWhen prompted for the packages to be processed, enter all or press Enter.
pkgadd -G -d rsync-3.0.9-sol10-sparc-local
When installation is complete, the following message appears:
Installation of <SMCrsync> was successful.
Make sure that RSYNC is in the /usr/bin directory. To check, enter the command which rsync. You will get one of two responses:
/usr/bin/rsync—RSYNC is in the correct directory.
<install directory/rsync>—RSYNC is not in the correct directory; enter cp <install directory/rsync> /usr/bin to copy it to the correct directory.
Repeat this procedure, starting at step 2 for each Solaris host.
0 Comments