Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change default package installation path

Status
Not open for further replies.

Yasser sabro

Systems Engineer
Oct 19, 2020
1
MA
I'm new to Solaris system, i have only worked before on linux systems.

My question is can i change the default installation path of a package ?

For example, i want to install php-73 from solaris repository, so i type the command #pkg install php-73 and it work fine and install php.

But my client want the package to be installed on specific directory (/opt/php7.3) and not /

Is this possible ?

Note: The package must be installed from solaris repository.

Thank you all!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top