Question & Answer
Question
How do I install an XL Fortran update on Mac OS X?
Answer
Download and double-click the disk image (.dmg) that makes up the update. The disk image will be mounted and the Finder will open its contents. Proceed to installation using one of the following methods:
GUI Installation
1. In the "packages" directory of the disk image, double-click the xlf.cmp.mpkg meta-package.
2. Follow the installation instructions.
Command Line Installation
1. Mount the .dmg from the command line using the hdiutil command (administrator privileges required). For example:
hdiutil mount <dmg-package>
2. Use the command-line version of the Installer - the command /usr/sbin/installer - to apply the update. For example:
/usr/sbin/installer -pkg <mpgk-package> -target / -dumplog
where <mpkg-package> can be:
- "/Volumes/ibmxlfptf/packages/xlf.cmp.mpkg" for compiler updates, or
- "/Volumes/ibmxlfrte/packages/xlf.rte.mpkg" for runtime environment updates.
If the above command fails due to insufficient privileges or incorrect authentication, then you can use the sudo command. The sudo command will let you execute commands as another user - system administrator by default. You should type the command as follows (be prepared to provide the system administrator password):
sudo /usr/sbin/installer -pkg <mpkg-package> -target / -dumplog
Note for 10.2 users: If the base compiler product was relocated (i.e. installed in a location other than /opt/ibmcmp/xlf/8.1), the update packages must be installed to the same location. This can only be done by specifying the destination path with the GUI installer. The command line installer cannot be used to update relocated compiler installations.
For detailed instructions about XL Fortran installation refer to the Installation Guide.
Runtime Environment Deinstallation
If you do not have any applications that require the IBM XL Fortran Advanced Edition V8.1 Runtime Environment for Mac OS X component, you can deinstall the packages as follows:
/bin/rm -rf /Library/Receipts/xlf.msg.rte.pkg
/bin/rm -rf /Library/Receipts/xlf.rte.pkg
/bin/rm -f /opt/ibmcmp/msg/en_US/xrfmsg90.cat
/bin/rm -f /opt/ibmcmp/lib/libxlf*.dylib
End of Service
IBM XL Fortran Advanced Edition V8.1 for Mac OS X has been withdrawn from support effective April 30, 2007. For further details please see the Withdrawal Announcement 905-182.
Related Information
Was this topic helpful?
Document Information
Modified date:
24 February 2022
UID
swg21220923