Installing MPLAB X IDE 5.25 on 64-bit Ubuntu 19.04

While I love seeing companies provide Linux version of their software, it still annoys me when they do it as lazily as possible. For example Microchip not only doesn’t provide repository for their software, making you download and install every version separately, but they also don’t provide up-to-date instructions. Their section describing Ubuntu 14.04 and above simply doesn’t work.

To install MPLAB X on newer Ubuntu one must first explicitly add architecture:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt install libc6:i386 libx11-6:i386 libxext6:i386 libstdc++6:i386 libexpat1:i386

Only once those are up you can proceed installing MPLAB IDE X itself:

tar -xvf MPLABX-v*-linux-installer.tar
chmod +x MPLABX-v*
sudo ./MPLABX-v*

Of course, installing compiler follows (XC8 in this case):

chmod u+x xc8-v*
sudo ./xc8-v*

And now MPLAB X IDE is installed.

PS: I won’t even go into the need for 32-bit compatibility libraries in 2019…

2 thoughts to “Installing MPLAB X IDE 5.25 on 64-bit Ubuntu 19.04”

  1. Thank you very much.

    It’s direct, simple & final direction to install MPLAB on UBUNTU.

    With Metta,

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.