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...

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

  1. It works! :-D
    Thank you very much, it’s a great help for a greenhorn like me.

  2. Thank you very much.

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

    With Metta,

    1. First I am still a newbie to Linux. I am using a 64bit version of Ubuntu Studio 20.04. I am trying to download and install MPLAB X IDE. I tried using all the preparatory downloads suggested in this article above. I get several messages, here is a sample :
      E: Failed to fetch 404 Not Found [IP: 80]
      E: Failed to fetch 404 Not Found [IP: 80]
      E: Failed to fetch 404 Not Found [IP: 80]
      E: Failed to fetch 404 Not Found [IP: 80]
      E: Failed to fetch 404 Not Found [IP: 80]
      E: Failed to fetch 404 Not Found [IP: 80]
      E: Failed to fetch 404 Not Found [IP: 80]
      E: Failed to fetch 404 Not Found [IP: 80]
      E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?
      I tried using –fix-missing after each attempt, it gave me a different response but, still failed. What am I doing wrong. Thanks in advance….Godfrey P.S. Like I said I am a ‘newbie’ I am 72 years old and am trying to get away from Microsoft so, do not assume that I know what to do next . . . .

  3. Thanks for sharing!
    It worked perfectly with MPLABX IDE v5.40 on my Linux Mint 18.2 (KDE Edition, Ubuntu 16.04.1 based).


  4. Top Work !

    can you email this to microchip so they can put it in the readme file plz ;)

  5. His work was the best reference for installing on Linux that I found. Thank you!

  6. I’m relatively new to both using MPLAB X IDE and installing (on Ubuntu 20.04lts) the tar files from Microchip’s archive site, found at
    I’ve downloaded the older archived versions of IDE and then followed the Microchip Developer site instructions, found at and then select the Linux install instructions
    to install the MPLAB X IDE. I’ve installed MPLAB X IDE v5.05; v5.05 and v5.35 using the tar packages from the archive site. My old laptop is a Samsung R522 with the original Windows 7 Home Premium installed. Ive then partitioned the HDD for Ubuntu installation and currently running 20.04lts. I’ve not yet used MPLAB X IDE much on the Ubuntu partition, I had to first get going on Windows and follow the tutorials from for the starter kits for PIC and AVR for Assembler projects… I still have a way to go but now am working on using the Ubuntu version of IDE to run and test the tutorials on a safe OS…

  7. I’m having to install the dependencies mentioned on link
    and found at for the installation of MPLAB X IDE version 5.05
    I do not recall having to do this for version 5.35. Reason I’m loading the v5.05 IDE is to be able to compile the Assembler tutorials which has the MPASM assembler installed with 5.05 I found that v5.35 run on Windows did not have the MPASM so could not build assembler code with the XC8 compiler. I know XC8 can work with assembler code, apparently there are two techniques to use assembler code if using the XC8 compiler but I’ve not delved into this.

  8. I try this method on Kali Linux 2020.4, but it didn’t work. when running “Sudo ./” it shows some error like this =”Verifying archive integrity…Error in MD5 checksums: 9eb84837c501a22466bc88f555d809f9 is different from ee7d03612df5f94d3c25088bef8f7392

    please help me to fix this…

    1. If the checksums don’t match, I believe it could mean the download file has been tampered with, best try another download location and advise the mirror site of the potential file integrity issue. I’ve usually taken the files directly from Microchip’s archives or latest releases which have the SHA256 info which I check once download has completed. I’m not sure if this SHA256 info changes if file is saved locally and moved around as needed.

  9. Hi, I’m playing around with this in my retirement. And have just spent two days on and off trying to install mplabx on my linux machine. My linux knowledge is very patchy still but increasing slowly. When I found your website and read this page, some of the mystery cleared up and I now have mplab installed. Weather it works is another matter. If I can I’ll let you know the results.
    Thanks for being there,

  10. My linux knowledge is also not that good. But I noticed that the names are different now.
    For XC8 package:
    chmod u+x
    sudo ./
    Thank you.

  11. Pingback: Mplabx 6 - Newbjav

Leave a Reply

Your email address will not be published. Required fields are marked *