Kenny's shortcuts for using Vitis/Vivado on Linux
AMD supports both Ubuntu and RHEL for installing Vivado/Vitis. I've had trouble getting Vivado working on Ubuntu derivatives like Mint. I can't guarantee these will work on your machine, but I've found these to work for me thus far into the class.
I installed Vitis/Vivado at the default /tools/Xilinx/202X.X/ directory. If you installed yours somewhere else, adjust the paths in this script to match you situation. Before running vivado or vitis, AMD provides a bootstrap script that you should source before running the binary.
Here are my sample vitis and vivado bootstrap scripts that I am currently using.
/usr/local/bin/vivado
#!/bin/bash
source /tools/Xilinx/2025.1/Vivado/settings64.sh
vivado &
/usr/local/bin/vitis
#!/bin/bash
source /tools/Xilinx/2025.1/Vitis/settings64.sh
vitis &
I put both of these binaries at /usr/local/bin, which should already exist on your PATH. This way, you can call vivado/vitis via your terminal.
I also created desktop icons for both of these, which I put at /usr/share/applications/. This makes them selectable from the apps menu on Ubuntu. I believe this should work for most GNOME-based desktops.
Vivado 2025.1.desktop
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon=/tools/Xilinx/2025.1/Vivado/doc/images/vivado_logo.ico
Name[en_US]=Vivado 2025.1
Exec=/usr/local/bin/vivado
Name=Vivado 2025.1
StartupNotify=true
StartupWMClass=Vivado
Vitis 2025.1.desktop
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon=/tools/Xilinx/2025.1/Vitis/doc/images/vivado_logo.ico
Name[en_US]=Vitis 2025.1
Exec=/usr/local/bin/vitis
Name=Vitis 2025.1
StartupNotify=true
StartupWMClass=Vitis Unified IDE
Make sure that all of these files are owned by root:root and have permissions 755.