Deploy Microchip Development Environments on VPS
Linux 32bit is required, Ubuntu i386 distribution is recommended.
-
Install 32bit runtime if you are running a 64bit OS.
sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libc6:i386 libx11-6:i386 libxext6:i386 libstdc++6:i386 libexpat1:i386
-
Download files
wget http://ww1.microchip.com/downloads/en/DeviceDoc/xc32-v1.43-full-install-linux-installer.run http://ww1.microchip.com/downloads/en/DeviceDoc/MPLABX-v4.01-linux-installer.tar
or
http://www.microchip.com/mplabx-ide-linux-installer
-
Install MPLAB X
Extract installer:
tar xf MPLABX-v4.01-linux-installer.tar
You will get a shell script file, excute it:
sudo ./MPLABX-v4.01-linux-installer.sh
Just follow the prompt to answer the requests to get installation done.
-
Install xc32 compiler
Give the installer excutive permission and run it:
chmod +x xc32-v1.43-full-install-linux-installer.run sudo ./xc32-v1.43-full-install-linux-installer.run
Just follow the prompt to answer the requests to get installation done. Installer will ask you to choose a license, ‘Workstation’ is recommended (you can get a license for trial later).
-
Activate xc32
Get license from here, with your host ID which is showed to you during previous xc32 installation. Download a license script from web site, copy to your server and execute:
chmod +x 42010a8c0002-xc32-demo.sh ./42010a8c0002-xc32-demo.sh
Tips
You should replace 42010a8c0002 with your host ID
-
Install java runtime (JRE, required by IDE)
Almost done, since MPLAB X is based on NetBeans, which is required a Java runtime to run, and MPLAB X does not ship with a Java runtime, we need to get one.
sudo apt-get install java
-
Install harmony if necessary
wget http://ww1.microchip.com/downloads/en/DeviceDoc/harmony_v2_01b_linux_installer.run chmod +x harmony_v2_01b_linux_installer.run sudo ./harmony_v2_01b_linux_installer.run