![]() This example is similar to the previous example, except that it uses the # pkgadd -d /net/package-server/latest-packages SUNWpl5uĮxample 22-3 Installing Software Packages From a Remote Package Server by Specifying an Administration File Instead, use the automounter path, in thisĬase, /net/package-server/latest-packages, as the argument to the -d option. To mount the remote package server manually. If the automounter is running at your site, you do not need # mount -F nfs -o ro package-server:/latest-packages /mnt Pkgadd command installs the SUNWpl5u package. The mount command mounts the packages locally on /mnt. In this example, assume that the remote system named package-server has software packages in The following example shows how to install software packages from a remote system. System, you can manually mount the directory that contains the packages (in package format)Īnd install packages on the local system. If the packages you want to install are available from a remote # pkgadd -d /cdrom/cdrom0/s0/Solaris_10/Product SUNWpl5uĮxample 22-2 Installing Software Packages From a Remote Package Server This example shows the path to use if you are not running at # pkgadd -d /cdrom/cdrom0/Solaris_10/Product SUNWpl5u The example also shows how to verify that the packageįiles were installed properly. ![]() The following example shows how install the SUNWpl5u package from a mounted Oracle ![]() Otherwise, theĮxample 22-1 Adding Software Packages From a Mounted CD If no errors occur, a list of installed files is returned. Verify that the package has been installed successfully.The pkgadd command continues to install the other packages. If more than one package hasīeen specified, type no to stop the installation of the package being installed. If the pkgadd command encounters a problem during installation of the package, itĭisplays a message related to the problem, followed by this prompt: Do you want to continue with this installation? If omitted, the pkgadd command installs all available packages from the specified device, directory, or spool directory. (Optional) Is the name of one or more packages, separated by spaces, to be installed. If the package is not there, the package installation fails. If you do not specify the path where the package resides, the pkgadd command checks the default spool directory ( /var/spool/pkg ). device-name can be the path to a device, a directory, or a spool directory. Specifies the absolute path to the software packages. For details about using an administration file, see Using an Administration File. (Optional) Specifies an administration file that the pkgadd command should check during the installation. # pkgadd -a admin-file -d device-name pkgid. For task information, see How to Remove Software Packages ( pkgrm ). See Guidelines for Removing Packages ( pkgrm). For strategies on maintaining multiple software copies, Sometimes, you might want to maintain multiple versions This step ensures that the system keeps a proper record of software that Remove any already installed packages with the same names as the packages you. ![]() For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services. Roles contain authorizations and privileged commands. Become superuser or assume an equivalent role.The following procedures explain how to manage software packages by using package commands. Using Package Commands to Manage Software Packages
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |