Installing MPLAB® XC8 C Compiler

1 Download MPLAB® XC8 Installer

Download the installer appropriate to your operating system.

2 Run the Installer

Choose your operating system from the tabs below:

1

Run Installer

WinInstall.png
Go to the location where you downloaded the installer. Unzip the downloaded file and run the installer:
xc8-vX.XX-windows-installer.exe.

Depending on your Windows security settings, you may get a window asking if you are sure you want to run this program. AnswerYes.

2

Setup

ClickNext >

install1w.png
Click image to enlarge.

3

Accept License Agreement

Click on the radio button next toI accept the agreement.

ClickNext >

install2w.png
Click image to enlarge.

4

Choose Installer

If you are installing the compiler for use on your machine only, click on the radio button next toInstall compiler.

If you have a network license and are installing on a server, click on the radio button next toInstall the Network License Server.

ClickNext >

install3w.png
Click image to enlarge.

5

Installation Type

If you selected a network license server, provide the name of the network license server.

ClickNext >

install4w.png
Click image to enlarge.

6

Installation Directory

Use the default installation location or choose a different one, if you prefer.

ClickNext >

install5w.png
Click image to enlarge.

7

Compiler Settings

  • Apply settings to all users of this machine
    • Leave checked or uncheck if required in your environment.
  • Add xc8 to the PATH environment variable
    • Not generally required unless you plan to use XC8 from the command line (terminal or script).


ClickNext >

install6w.png
Click image to enlarge.

8

Ready to Install Compiler

ClickNext >

install7w.png
Click image to enlarge.

9

Setup

Wait while the installer unpacks and installs all the files.

install8w.png
Click image to enlarge.

10

Licensing Information

ClickNext > if you:

  • Have activated a license on a previous version of MPLAB XC8.
  • Wish to use the free version of the compiler (some optimization features disabled).


Otherwise, choose to:

  • Purchase a license (to receive an activation key that will unlock the Standard or Pro optimization features).
  • Use the Pro evaluation version (reverts to free version after 60 days).
  • Provide an activation key.


ClickNext >

install9w.png
Click image to enlarge.

11

Installation Complete

ClickFinish

install10w.png
Click image to enlarge.

1

Run Installer

You may need to make the file executable. In a terminal, go to the directory where you downloaded the installer and run the command:

chmod u+x xc8-vX.XX-linux-installer.run


Then asroot or usingsudo, run the installer:

sudo ./xc8-vX.XX-linux-installer.run

2

Setup

ClickNext >

install1a.png
Click image to enlarge.

3

Accept License Agreement

Click on the radio button next toI accept the agreement.

ClickNext >

install2a.png
Click image to enlarge.

4

Choose License Type

If you are installing the compiler for use on your machine only, click on the radio button next toInstall Compiler.

If you have a network license and are installing on a server, click on the radio button next toInstall the Network License Server.

ClickNext >

install3a.png
Click image to enlarge.

5

Network Installation

If you are not using a network license server, leave this unchecked. Otherwise, check the box and provide the name of the network license server.

ClickNext >

install4a.png
Click image to enlarge.

6

Installation Directory

Use the default installation location, or choose a different one if you prefer.

ClickNext >

install5a.png
Click image to enlarge.

7

Compiler Settings

  • Apply settings to all users of this machine
    • Leave checked or uncheck if required in your environment.
  • Add xc8 to the PATH environment variable
    • Not generally required unless you plan to use XC8 from the command line (terminal or script).


ClickNext >

install6a.png
Click image to enlarge.

8

Ready to Install Compiler

ClickNext >

install7a.png
Click image to enlarge.

9

Setup

Wait while the installer unpacks and installs all the files.

install8a.png
Click image to enlarge.

10

Licensing Information

If you:

  • Have activated a license on a previous version of MPLAB xc8.
  • Wish to use the free version of the compiler (some optimization features disabled).

simply clickNext >

Otherwise, choose to:

  • Purchase a license (to receive an activation key that will unlock the Standard or Pro optimization features).
  • Use the Pro evaluation version (reverts to free version after 60 days).
  • Provide an activation key.


ClickNext >

install9a.png
Click image to enlarge.

11

Installation Complete

ClickFinish

install10a.png
Click image to enlarge.

1

Run Installer

MacInstall.png
Go to the location where you downloaded the installer. Double click on the downloaded file to unpack it and run the installer:xc8-vX.XX-osx.app.

You may get a warning message window. You can click onOpen to continue.

install0b.png
Click image to enlarge.

Your computer's login and password need to be entered if you have enabled that protection for new installations. If you don't have a password enabled you can just click onOK to continue.

install0a.png
Click image to enlarge.

2

Setup

ClickNext >

install1a.png
Click image to enlarge.

3

Accept License Agreement

Click on the radio button next toI accept the agreement.

ClickNext >

install2a.png
Click image to enlarge.

4

Choose License Type

If you are installing the compiler for use on your machine only, click on theFree radio button. SelectWorkstation if you have a workstation setup.

If you have a network license and are installing on a server, click on the radio button next toNetwork Client.

ClickNext >

install3a.png
Click image to enlarge.

5

Network License

If you are not using a network license server, provide the name of the network license server.

ClickNext >

install5b.png
Click image to enlarge.

6

Installation Directory

Use the default installation location, or choose a different one if you prefer.

ClickNext >

install4a.png
Click image to enlarge.

7

Compiler Settings

  • Apply settings to all users of this machine
    • Leave checked or uncheck if required in your environment.
  • Add xc8 to the PATH environment variable
    • Not generally required unless you plan to use XC8 from the command line (terminal or script).


ClickNext >

install6a.png
Click image to enlarge.

8

Ready to Install Compiler

ClickNext >

install7a.png
Click image to enlarge.

9

Setup

Wait while the installer unpacks and installs all the files.

install8a.png
Click image to enlarge.

10

Licensing Information

ClickNext > if you:

  • Have activated a license on a previous version of MPLAB XC8.
  • Wish to use the free version of the compiler (some optimization features disabled).


Otherwise, choose to:

  • Purchase a license (to receive an activation key that will unlock the Standard or Pro optimization features).
  • Use the Pro evaluation version (reverts to free version after 60 days).
  • Provide an activation key.


Then, clickNext >

install9a.png
Click image to enlarge.

11

Installation Complete

ClickFinish

install10a.png
Click image to enlarge.