Solaris 11.3 Download
Solaris 11.3 Download 3,8/5 7009 votes

This chapter describes how to obtain and install MySQL. A summary of the procedure follows and later sections provide the details. If you plan to upgrade an existing version of MySQL to a newer version rather than install MySQL for the first time, see Section 2.11, “Upgrading MySQL”, for information about upgrade procedures and about issues that you should consider before upgrading. Python for AIX. Python 3 and Python 2 are available for free for AIX in installp format at AIXTOOLS. See the AIXTOOLS website for general info. Currently, there are no additional pre-requisites other than a recent version of openssl.base for Python3-3.6.5.

Active15 days ago

i recently got Oracle Solaris on my VM to test some code on it, i was unable to install gcc since i dont really know how, i googled alot but all info is about oracle compilers, i needed GCC, any idea where can i get GCC or how to install it?

thanks

wkl
60.3k11 gold badges135 silver badges162 bronze badges
killercodekillercode
8383 gold badges22 silver badges39 bronze badges

9 Answers

The original answer applied to Solaris 11 Express/non-official release - if you're doing this today with a full release of Solaris 11.x, use the pkg install command like you see in xavier's response.

Run this command from your terminal to install GCC.

Solaris 11.3 Download

For GCC 3.4.x

For GCC 4.5.x

For GCC 4.7.x

For GCC 4.8.x

The gcc command should then already be placed in your path /usr/bin/gcc, which is a symlink).

Old AnswerSolaris 11 should already have gcc installed in /usr/sfw/bin/, but it's probably not in your PATH. Try this at the prompt: /usr/sfw/bin/gcc

Community
wklwkl
60.3k11 gold badges135 silver badges162 bronze badges

Two steps:

  1. pkg install gcc-45
  2. pkg install system/header

that is all

if you see more infohttp://blog.csdn.net/zjg555543/article/details/8217769

Pedryk
1,5201 gold badge11 silver badges27 bronze badges
xavierxavier

Solaris 10 and prior version :

/usr/sfw/bin/gcc works.

Solaris 11 :

pkg install gcc-3

Solaris 11.3 Download2sb2sb
3941 gold badge9 silver badges25 bronze badges

Just download gcc from its homepage, follow one of the mirror links to fetch the latest binary package (in .tar.gz or tar.bz2 format), and use traditional steps to build:

  1. ./configure --<> // give your options
  2. make
  3. make install

The good news is you can customize what you need and always stay with the latest, while bad part is you may lose the power to debug with mdb/adb - we are facing such problems with latest GCC 4.6.x

FeiFei

You can install gcc 4.3 from OpenCSW:

I also had to run mkheaders manually after the install.

Gene VincentGene Vincent
2,8056 gold badges36 silver badges78 bronze badges

I had the same problem and 'pkg install gcc-3' worked for me.

Chamila WijayarathnaChamila Wijayarathna
1,0043 gold badges22 silver badges38 bronze badges

worked for me

This will install entire gcc collection on your machine. Which anyways will be required

Vijay YandeVijay Yande

My Solaris 2.11 does NOT have internet access :/

What work for me:

(1) I use this link as guideline
(2) From my windows machine, download gcc at one of their mirror sites, i used here, normally the closer the better
(3) Upload gcc-9.2.0.tar.gz to target /tmp directory using WinSCP
(4) tar -xvf gcc-9.2.0.tar.gz
(5) cd gcc-9.2.0
(6) mkdir /usr/local/gcc
(7) cd /usr/local/gcc
(8) /tmp/gcc-9.2.0/configure -v --program-suffix=9.2

At this point, you might get this error:
Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.

(9) Manually download the required files here.
Note: To know what files are required, check contrib/download_prerequisites
(10)Copy over the files in (9) to /tmp/gcc-9.2.0
(11)Extract, then create shortcuts: ln -s gmp-6.1.0 gmp, ln -s mpc-1.0.3 mpc, ln -s mpfr-3.1.4 mpfr, ln -s isl-0.18 isl
(12)/tmp/gcc-9.2.0/configure -v --program-suffix=9.2 --enable-languages=c,c++ -v
(13) nohup gmake & (At this point it's going to take some time..mine took ~6 hours. Use -j option if you can, to gmake it faster )
(14) gmake install
(15) /usr/local/bin# ./gcc9.2 --version
gcc9.2 (GCC) 9.2.0Copyright (C) 2019 Free Software Foundation, Inc.

Voila! :-)

Solaris
jumping_monkeyjumping_monkey

I'll quote the answer from unix.stackexchange.com.

On Solaris 11 gcc is not installed by default. Normally you'll want more than just the compiler itself so my answer will include all the usual suspects for building open source software on Solaris that you've downloaded from somewhere in source code format.

By far the easiest is to use IPS to install it using the commands below (while being root or other superuser):

(I use fully qualified package names here, that is not really necessary)

Note that some of the packages are available in the official repo in various versions. If you just reference developer/gcc then you'll at the time of writing this get GNU C v4.8.2, but you may explicitly ask for a prior version, e.g. by using package name such as developer/gcc-45.

Community
peterhpeterh
10.5k8 gold badges56 silver badges86 bronze badges

Not the answer you're looking for? Browse other questions tagged oraclegccsolaris or ask your own question.

Updating an Oracle Solaris 11.3 System to Oracle Solaris 11.4

This article explains how to update an Oracle Solaris 11.3 system to Oracle Solaris 11.4.

To transition from Oracle Solaris 10 to Oracle Solaris 11, you must either do a fresh installation of Oracle Solaris 11 or migrate Oracle Solaris 10 OS instances or zones to an Oracle Solaris 10 zone on an Oracle Solaris 11 system. For more information, see Creating and Using Oracle Solaris Zones.

How to Update from Oracle Solaris 11.3 to Oracle Solaris 11.4

Before You Begin

Review Installation Considerations in Oracle Solaris 11.4 Release Notes for system memory and disk space requirements and for platform support, including firmware and device support.

Review Update Considerations in Oracle Solaris 11.4 Release Notes for work that you might need to do such as check the setterm package, check the java mediated link, remove files from /var/tmp, or export the OpenLDAP database to LDIF format.

  1. Update the system to Oracle Solaris 11.3 SRU 23 or newer.

    If the system to be updated is running Oracle Solaris 11.3 SRU 23 or newer, continue to Step 2.

    If the system to be updated is running a release of Oracle Solaris 11.3 that is older than SRU 23, update to at least Oracle Solaris 11.3 SRU 23.

    1. Check configured publishers.

      Ensure that the configured publishers provide Oracle Solaris 11.3 SRU 23 or a newer Oracle Solaris 11.3 SRU. The following command lists all Oracle Solaris 11.3 SRUs that are available from the publishers that are configured on the system:

    2. Update to Oracle Solaris 11.3 SRU 23 or a newer Oracle Solaris 11.3 SRU.

      The following example shows updating to Oracle Solaris 11.3 SRU 27:

    3. Boot to the boot environment (BE) that was created in the previous step.
  2. Check that the system supports Oracle Solaris 11.4.
    1. Run the Oracle Solaris 11.4 readiness checker.

      Super mario pc game free download. If you are running Oracle Solaris 11.3 SRU 35 or newer, see How to Install and Run the Pre-Update Enterprise Health Check Tool.

    2. Fix any check failures that are documented in the report.
  3. Update the system to Oracle Solaris 11.4.
    1. Get access to Oracle Solaris 11.4 packages.

      Use one of the following methods:

      • Use the Oracle Solaris support package repository.

        Configure the https://pkg.oracle.com/solaris/support/ location for the solaris publisher.

      • Provide a local Oracle Solaris 11.4 package repository.

        Download the repository files and installation script from the “Oracle Solaris 11.4 Support Repository Updates (SRU) Index (Doc ID 2433412.1)” page on My Oracle Support (MOS).

        See Creating Package Repositories in Oracle Solaris 11.4 for information about downloading and installing a local package repository, configuring the solaris publisher to use the local repository, and providing access to the local repository from other systems.

    2. Check configured publishers.

      Confirm that the system can access Oracle Solaris 11.4 packages:

      If you do not see Oracle Solaris 11.4 packages, make sure you did not skip solaris publisher location configuration in the previous step.

    3. View the Oracle Solaris 11.4 license.

      The license associated with Oracle Solaris 11.4 must be accepted in order to perform the update. View the contents of this license prior to acceptance, to ensure that you understand it. The following command shows the summary license:

      The full license is available at http://www.oracle.com/technetwork/licenses/solaris-ea-license-4255446.html. This is the same license that you viewed on OTN or on the pkg-register site. If you agree to accept this license, then proceed with the update.

    4. Test the update.

      If any software on the system has been obsoleted in Oracle Solaris 11.4, that software will be removed when you upgrade to Oracle Solaris 11.4, as noted in Platform Support in Oracle Solaris 11.4 Release Notes. To see the list of packages that will be removed on upgrade, use the pkg update -nv command. The –n option shows what will be done but does not actually perform the update. The –v option shows what packages will be removed, and shows the full package versions. For software that will be removed, check the End of Features (EOF) Planned for Future Releases of Oracle Solaris 11 list for a suggested replacement or other workaround.

      If the test update fails, check whether your platform is supported for Oracle Solaris 11.4 (Installation Considerations in Oracle Solaris 11.4 Release Notes) or whether you need to check the setterm package as described in Pre-Update Checks in Oracle Solaris 11.4 Release Notes. Techstream software key.

    5. Update to Oracle Solaris 11.4.

      Using the –-accept option signals your legal acceptance of the above license.

      Note - If the boot environment that you are updating is running Oracle Solaris SRU 35, then you must update to Oracle Solaris 11.4 SRU 1, as shown in the following command:
    6. Boot to the new Oracle Solaris 11.4 BE.

Troubleshooting

Check that your new BE is updated as expected:

Next Steps

Review Update Considerations in Oracle Solaris 11.4 Release Notes for steps that you might need to take after update.

Solaris 11.3 Ga Download

How to Install and Run the Pre-Update Enterprise Health Check Tool

Sun Solaris 11.3 Download

Oracle provides a pre-update checker to help you determine whether a system that is running Oracle Solaris 11.3 is ready to update to Oracle Solaris 11.4. The report generated by this checker identifies superseded software versions and unsupported hardware. This procedure describes how to install and run the Pre-Update Enterprise Health Check (EHC) tool and how to generate the Oracle Solaris 11.4 readiness report.

Before You Begin

To install this tool, the system must be running at least Oracle Solaris 11.3 SRU 35.

To conduct this assessment, the user must be assigned the Compliance Assessor rights profile or have all zone privileges and the solaris.compliance.assess authorization.

  1. Install the required packages.

    On a system that is running at least Oracle Solaris 11.3 SRU 35, install the following packages:

  2. Verify that the ehc-update check is available.
  3. Run the ehc-update check.
  4. Verify that an assessment was generated.
  5. Create the report.

    The HTML report can be viewed on any browser. For failed checks, the report provides a description of the corrective action to be taken.