![how to start using mplab xc8 how to start using mplab xc8](https://i.stack.imgur.com/AdN84.png)
#How to start using mplab xc8 install#
Finally, enter Y to proceed with the installation.Choosing to install with -mode text was the key for me.Note that the installer is smart enough not to proceed if you make a mistake here.
![how to start using mplab xc8 how to start using mplab xc8](https://simple-circuit.com/wp-content/uploads/2018/10/pic16f887-ds18b20-lcd-circuit.png)
However, it was wrong in my case, so please see Step 1, above. When prompted for the XC8 installation directory, the program may display a default value.From your download directory, type chmod +x to make the "run file" executable.Download PIC18F Legacy Peripheral Libraries v2.0 - Linux.Scroll down to Legacy Peripheral Libraries.Download the peripheral library (steps follow).On my system it installed into /opt/microchip/xc8/v1.38 (PREREQUISITE) Install the XC8 compiler.They have been tested with 64-bit Linux Mint v18 AKA "Sarah" NOTE: These steps apply to Linux installations. After some debugging, I determined that the problem is likely related to attempting to open an X session (not sure about this, but text mode installation succeeded - see instructions below.) I am not sure why, but the installer (which is distributed as a "run" file), crashed with a segmentation violation. Installing the legacy libraries on Linux was not exactly straightforward for me. The program will display a message indicating lack of support if this is the case. Then, once the project is opened, try to launch MCC by clicking on the icon in the task bar. If you're not sure if your chip is supported, create a new project in MPLAB for your chip.
![how to start using mplab xc8 how to start using mplab xc8](https://i.ytimg.com/vi/mUofSucHx_E/maxresdefault.jpg)
For this, you need to install the legacy libraries. However, it does *not* support the older PICs such as the PIC 18F6420. Here's the deal: MCC (Microchip Code Configurator) is the preferred tool for new designs. (And by all means, someone with more knowledge, feel free to correct me.) Thanks, Dario! I took a look at this in more detail this evening.