MPLAB IDE Installation guide for Linux
Tools required to be installed
●
MPLAB X IDE (Development Evnvironment)
●
MPLAB® XC8 Compiler (Cross Compiler)
●
PICSimLab Simulator (Simulating tool)
Installing MPLAB X IDE
●
Step 1 – Download MPLAB X IDE v5.35for Linux / Ubuntu
>Open any browser and search for MPLAB X IDE
>Click on the very first link and download MPLAB X IDE v5.35
appropriate for your OS.
> Otherwise click on the below link to download MPLAB X IDE
v5.35 for Ubuntu OS.
https://ww1.microchip.com/downloads/en/DeviceDoc/MPLABX-v5.35-linux-
installer.tar
Installing MPLAB X IDE
●
open the below link
https://www.microchip.com/de
velopment-tools/pic-and-dspi
c-downloads-archive
Click here
Installing MPLAB X IDE
-> File size is 958
MB so it may take
time to download
-> Once
dowloading is
completed open
terminal and move
to downloads
directory
Installing MPLAB X IDE
-> It is an archive
so extract the file
which is inside the
archive using tar
command as
shown in the
screen shot.
-> After extracting it
you will get .sh file.
Installing MPLAB X IDE
-> Now you need
to execute the
script which you
downloaded.
-> You cannot
directly execute the
file you need root
access to execute
this script.
Installing MPLAB X IDE
-> Execute with
sudo command as
shown in the
figure.
-> Here some erros
you see. It is
showing some
libraries are
missing.
-> We need to
install those
libraries to install
MPLAB X.
Installing MPLAB X IDE
-> To install those
libraries click on
the website link.
Installing MPLAB X IDE
-> To install those
libraries click on
the website link.
-> Scroll down till
reaching the
command which
selected in image.
-> Copy that
command.
Installing MPLAB X IDE
-> Paste the copied
command and
press enter. It will
start installing the
missing libraries.
Installing MPLAB X IDE
-> After installing
the libraries run the
script.
-> Dialog box will
open. Click on
next.
Installing MPLAB X IDE
-> No need to
change anything
here. Just click on
next.
Installing MPLAB X IDE
-> If enough
memory is
available to install
for all bits (8, 16,
32) then select all,
otherwise select
only 8-bit MCUs.
Click on next.
Installing MPLAB X IDE
-> Click on next.
Installing MPLAB X IDE
-> It started
installing MPLAB X
IDE v5.35
Installing MPLAB X IDE
-> It will ask to
reboot the device
click on OK.
Installing MPLAB X IDE
-> Click on Finish.
Installation
success.
MPLAB XC Compiler Installation
Installing XC8
-> Open any browser and search
for XC8 complier
Installing XC8
-> Open any browser and search
for XC8 complier
-> Click on the link shown in the
figure.
Installing XC8
-> Scroll down till reaching the
downloads which shown in the
figure.
Installing XC8
-> Select compiler download.
Installing XC8
-> Open terminal and move to
downloads directory.
Installing XC8
-> Add executable permission for
xc8 compiler.
Installing XC8
-> Execute the .run file.
-> If you execute without sudo you
will get error as shown in the
figure.
Installing XC8
-> Add sudo and execute the .run
file.
-> Dialog box will open and click
on next.
Installing XC8
-> Accept the agreement.
Installing XC8
-> Click on next.
Installing XC8
-> Click on next.
Installing XC8
-> Select both.
-> Click on next.
Installing XC8
-> Click on next.
Installing XC8
-> Started installing.
Installing XC8
-> Click on next.
Installing XC8
-> Click on Finish. Compiler
installed successfully.
MPLAB IDE Installation guide for Linux