Installation of RSYNC on Solaris

Installation of RSYNC on Solaris

RSYNC

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:


# su
Remove one or more packages from the system:


# /usr/sbin/pkgrm pkgid
Where 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 pkgid
If 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 SUNWrsync
The following package is currently installed:
   SUNWrsync       ..
 
Do you want to remove this package? y
.
.
.
Removal of <SUNWrsync> was successful.
# pkgchk -v SUNWrsync
WARNING: 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 SUNWrsync
The following package is currently installed:
   SUNWrsync       ..
 
Do you want to remove this package? y
.
.
.
Removal of <SUNWrsync> was successful.
# pkgchk -v SUNWrsync
WARNING: 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.gz
pkgadd -G -d libgcc-3.4.6-sol10-sparc-local
When prompted for the packages to be processed, enter all or press Enter.
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.gz
pkgadd -G -d popt-1.16-sol10-sparc-local
When prompted for the packages to be processed, enter all or press Enter.
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.gz
pkgadd -G -d libiconv-1.14-sol10-sparc-local
When prompted for the packages to be processed, enter all or press Enter.
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.gz
pkgadd -G -d libintl-3.4.0-sol10-sparc-local
When prompted for the packages to be processed, enter all or press Enter.
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.gz
pkgadd -G -d rsync-3.0.9-sol10-sparc-local
When prompted for the packages to be processed, enter all or press Enter.
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 Response to "Installation of RSYNC on Solaris"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel