Installing Altera Modelsim on 64-bit Ubuntu 14.04 – Linux

I downloaded and the ModelSim-Altera Starter Edition for Linux from Altera (now part of Intel) website at the following webpage:

http://dl.altera.com/?product=modelsim_ae#tabs-2

I then installed it on the 64-bit Ubuntu-14.04. After which I ran the following command from within the bin directory of the installed Modelsim and despite the executable present I got the following error:

command$> ./vsim: No such file or directory

I investigated further on internet and found that I require 386 – 32-bit libraries for Ubuntu since the Modelsim seems to be 32-bit. So I took the following steps on the Linux command prompt:

$>sudo dpkg –add-architecture i386
$>sudo apt-get update
$>sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
$>sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

After installing the above, and invoking vsim, I got the following error:

libXft.so.2: cannot open shared object file

So I took the following steps:

$>sudo apt-get install libxft2 libxft2:i386 lib32ncurses5

Then I got the following error and to fix that I took the following steps

libXext.so.6: cannot open shared object file. libXext.so.6 not found

$>sudo apt install libxext6

$>sudo apt install libxext6:i386

And finally, this solved the problem. I was able to invoke Modelsim using ./vsim command.

Share Button