Skip to content

Instantly share code, notes, and snippets.

@aitesam961
Last active August 6, 2026 18:07
Show Gist options
  • Select an option

  • Save aitesam961/608ec27862e942e5ae1360fd0ba2b4d2 to your computer and use it in GitHub Desktop.

Select an option

Save aitesam961/608ec27862e942e5ae1360fd0ba2b4d2 to your computer and use it in GitHub Desktop.
Install Mentor Graphics Questasim 2021.2 on Ubuntu 24.04 LTS

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.

Installing dependecies

sudo apt install libxft2 libxft2:i386 lib32ncurses6
sudo apt install libxext6
sudo apt install libxext6:i386

Generate the license key

sudo python2 mgclicgen.py <your-pc-mac-address>
# Note: You need python2 to be precise

Install the Questasim

sudo chmod +x ./questa_sim-2021.2_1.aol
sudo ./questa_sim-2021.2_1.aol

Select the features needed and proceed with installation

Setup License

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

Add to System Environment Variables

cd ~
sudo nano .bashrc

Add following at the end of 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

Lauch Questasim

vsim

To create a nice looking menu icon

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.

@aitesam961

aitesam961 commented Jul 29, 2025 via email

Copy link
Copy Markdown
Author

@Pandu22-Rud

Copy link
Copy Markdown

Unable to checkout a viewer license necessary for use of the QuestaSim graphical user interface. Vsim is closing.

@dhanuingit

Copy link
Copy Markdown

Thanks for sharing it, if anyone finding difficult to follow these steps you better copy the entire info and paste it in some AI and ask for detailed steps,trust me it will work..

@AR1Saleh

Copy link
Copy Markdown

Hey, could you post a tutorial for the Questa Intel FPGA Edition for Fedora 43?

@Heramb1333

Copy link
Copy Markdown

please provide the download link ?

i am facing the same issue
if you have installer file download link please help me with it

@Heramb1333

Copy link
Copy Markdown

image

cant find the image

@PhamHieu03

Copy link
Copy Markdown

thankyou

@motta97

motta97 commented Jul 5, 2026

Copy link
Copy Markdown

If you're on wayland ubuntu 26 or newer you would probably have a problem with the font and window size of Questa, to fix it, do the following
type this command: gsettings set org.gnome.mutter.wayland xwayland-scaling-factor 1
then logout, login again and launch

@smishr-dev

smishr-dev commented Aug 6, 2026

Copy link
Copy Markdown

not able to create .dat file , already installed questa sim

image

what to do after this

just type the commands for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment