This guide outlines the process of installing Mentor Graphics Questasim 2021.2 on Ubuntu 24.04LTS (or any modern debian distro).
*Note: This guide makes use of unofficial ways of activating license which is not recommended. If you have access, or can purchase the official license from Siemens, would be the best way. Otherwise, if you are an individual who plans to use it for non commercial use and or for learning purposes, you are more than welcome to follow.
sudo apt install libxft2 libxft2:i386 lib32ncurses6
sudo apt install libxext6
sudo apt install libxext6:i386
sudo python2 mgclicgen.py <your-pc-mac-address>
# Note: You need python2 to be precise/questa_sim-2021.2_1.aol
sudo chmod +x ./questa_sim-2021.2_1.aol
sudo ./questa_sim-2021.2_1.aol
- Copy the
license.dat
file from /Crack and paste into /Install_dir - Copy the
pubkey_verify
file from /Crack and paste into /Install_dir
cp license.dat pubkey_verify /install_dir
- Run the ./pubkey_verify -y to apply patch. You should get
FTW done with ret code = 0, all file checked
Total search 22917 files.
Total 3 file are changed.
cd ~
sudo nano .bashrc
export PATH="/path/to/questasim/linux_x86_64":$PATH
export PATH="/path/to/questasim/RUVM_2021.2":$PATH
export LM_LICENSE_FILE="/path/to/license.dat":$LM_LICENSE_FILE
- Save and exit, Run
source .bashrc
vsim
cd /usr/share/applications && sudo nano questasim.desktop
Paste the following:
[Desktop Entry]
Version=2021.2
Name=QuestaSim
Comment=Mentor Graphics Questa Sim
Exec=/opt/questasim/linux_x86_64/vsim
Path=/home/<yourusername>/Documents/QuestaSim
Icon=/home/<yourusername>/Documents/QuestaSim/Icon/iconfilename.png
Terminal=false
Type=Application
Categories=Development;
You need to copy the icon file (png) to the relevant location.
Thank you so much for this detailed guide! It worked perfectly for me on Ubuntu 24.04. The environment variable section was especially helpful. Anyone struggling with license issues—double check your MAC address and make sure pubkey_verify runs successfully. Really appreciate the time you put into this! I had never written a proper business case study before, and my professor expected professional-level analysis. Feeling stuck, I made the decision to buy case study online through https://academized.com/buy-case-study-online I went with Academized because their site looked professional and easy to use. The writer followed my instructions perfectly, and the final essay was spot-on. I submitted it confidently and used the extra time to prep for an important exam instead.