Skip to content

Instantly share code, notes, and snippets.

@aitesam961
Last active May 30, 2024 06:30
Show Gist options
  • Save aitesam961/51a8dd9b785d0cc9f0bed5faf51e982e to your computer and use it in GitHub Desktop.
Save aitesam961/51a8dd9b785d0cc9f0bed5faf51e982e to your computer and use it in GitHub Desktop.
Install Vivado using offline installer

This guide outlines the process of installing Vivado using pre-downloaded setup unlike Vivado web installer. The guide is implemented on Ubuntu 24.04 and is compatible with recent ubuntu versions incl. 22.04LTS Note: This is not the recommended way to install but not all of us have access to Vivado officially. If you know, you know :-)

Install pre-pre-requisite libraries

sudo apt install libtinfo-dev libtinfo.so.5 libncurses.so.5

Likely you will see

E: Unable to locate package libtinfo.so.5

Install libtinfo.so.6 libncurses.so.6 & create symlink

sudo apt install libtinfo-dev libtinfo.so.6 libncurses.so.6

Verify Libraries

whereis libtinfo.so.6 
whereis libncurses.so.6

Create symlink

sudo ln -s /usr/lib/x86_64-linux-gnu/libtinfo.so.6 /usr/lib/x86_64-linux-gnu/libtinfo.so.5
sudo ln -s /usr/lib/x86_64-linux-gnu/libncurses.so.6 /usr/lib/x86_64-linux-gnu/libncurses.so.5

Extract the Vivado ISO/ZIP

cd [Extracted Folder]
# make the binary executable
sudo chmod +x .xsetup

# run the setup
sudo ./xsetup

Installation will begin, select the Devices and Software Packages to be installed. Specify the installation directory, preferred /opt

After install finishes, license loaded will pop-up. Load the .lic and exit.

To verify the installation, run the vivado as

cd /opt/Xilinx/Vivado/2019.1
source settings64.sh
vivado

The terminal should respond with

****** Vivado v2019.1 (64-bit)
  **** SW Build 2552052 on Fri May 24 14:47:09 MDT 2019
  **** IP Build 2548770 on Fri May 24 18:01:18 MDT 2019
    ** Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.

start_gui

Create Launcher icon

Create a new text file, paste the below snippet and save it under /usr/share/applications

[Desktop Entry]
Version=2019.1
Name=Vivado
Comment=Xilinx Vivado Design Suite
Exec=/opt/Xilinx/Vivado/2019.1/bin/vivado
Path=~/Documents/Vivado 
Icon=~/Documents/Vivado/vivado.png
Terminal=false
Type=Application
Categories=Development;

Given that all the paths are accurate, you should see a new icon named Vivado in your app menu

Additional fixes

For simulations to run properly, ensure GCC is present.

sudo apt install gcc

Simulate and synthesize a simple test RTL to ensure the functionality of workflow.

@sandytruant
Copy link

use sudo apt install libtinfo-dev libtinfo6 libncurses6 instead of sudo apt install libtinfo-dev libtinfo.so.6 libncurses.so.6

@aitesam961
Copy link
Author

aitesam961 commented May 9, 2024

use sudo apt install libtinfo-dev libtinfo6 libncurses6 instead of sudo apt install libtinfo-dev libtinfo.so.6 libncurses.so.6

They are shipped preinstalled with most Ubuntu based distros. Actually the problem is, Vivado version 2020.x and previous use libtinfo.so.5 libncurses.so.5
The workaround is to create a symlink since both libraries are backward compatible.

@sandytruant
Copy link

Thanks! Finally succeeded to install Vivado!

@aitesam961
Copy link
Author

aitesam961 commented May 9, 2024

👍🙂

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