WSL2 + Ubuntu 20.04 Install Vivado in LTS environment

https://qazsedcftf.blogspot.com/2020/08/windows-wsl-vivado.html I tried it with reference to.

Download the required files

https://japan.xilinx.com/support/download.html From the above page Vivado Design Suite-HLx Edition Download "Self-extracting web installer for Linux". The downloaded BIN file will be placed under $ {HOME} / download.

GUI settings

https://astherier.com/blog/2020/08/run-gui-apps-on-wsl2 Prepare the GUI to start on WSL2 + Ubuntu 20.04 by referring to.

Windows side settings

First, install the X server (VcXsrv) on Windows. After installation, open XLaunch and set the launch options as follows:

Next, register the above configuration file in Windows startup. Generate a VcXsrv configuration file (config.xlaunch) with the Save Configuration button and Save the configuration file in the folder that opens when you type "shell: startup" on Win + R.

Also, in the Windows firewall settings, Allow public access to "VcXsrv windows x server".

WSL2 side settings

It is necessary to specify the IP address and display number of Windows (X server) from the WSL2 side (X client). These are set in an environment variable called DISPLAY with .bashrc etc.

.bashrc


export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0

Installation

Follow the steps below to install.


#Extraction of installer
./Xilinx_Unified_2020.1_0602_1208_Lin64.bin --noexec --target installer

#Authentication token generation
#You need to enter your User ID (Xilinx account email address) and password on the way.
./installer/xsetup -b AuthTokenGen

#Generation of configuration file
#Vivado in Select a Product from the list(2)choose
#WebPACK with Select an Edition from the list(1)choose
./installer/xsetup -b ConfigGen

#Installation
sudo ./installer/xsetup --agree XilinxEULA,3rdPartyEULA,WebTalkTerms --batch Install --config ${HOME}/.Xilinx/install_config.txt

I created a script that automatically executes the above steps using the expect command. Enter the Xilinx account email address in the first argument "user id" Set the Xilinx account password in the second argument "password".

${HOME}/download/install.sh


#!/bin/bash

if [ $# -ne 2 ]; then
    echo "usage: installer.sh <user id> <password>"
    exit 1
fi

USER=${1}
PASS=${2}

./Xilinx_Unified_2020.1_0602_1208_Lin64.bin --noexec --target installer

expect -c "
set timeout 60
spawn ./installer/xsetup -b AuthTokenGen
expect \"User ID:\"
send \"${USER}\n\"
expect \"Password:\"
send \"${PASS}\n\"
expect eof
"

expect -c "
set timeout 60
spawn ./installer/xsetup -b ConfigGen
expect \"Please choose:\"
send \"2\n\"
expect \"Please choose:\"
send \"1\n\"
expect eof
"

./installer/xsetup --agree XilinxEULA,3rdPartyEULA,WebTalkTerms --batch Install --config ${HOME}/.Xilinx/install_config.txt

Run

Follow the steps below to verify that the Vivado GUI starts.

source /tools/Xilinx/Vivado/2020.1/settings64.sh
vivado

Recommended Posts

WSL2 + Ubuntu 20.04 Install Vivado in LTS environment
Install Rust in WSL2 Ubuntu environment and build WASM build environment
Install ruby serial port in WSL environment
How to Install Oracle JDK 1.8 in Ubuntu 18.04 LTS?
AWS CLI install in Ubuntu 20.04
Install Java on WSL Ubuntu 18.04
Command memo to install xeyes in ubuntu docker environment
Install raspi-config on Ubuntu 20.04 (LTS)
Install WordPress 5.5 on Ubuntu 20.04 LTS
Laravel environment construction (Ubuntu 18.04 LTS)
[Windows] WSL2 + Ubuntu + Node.js environment construction
Install CentOS Stream 8 in Hyper-V environment
Install laravel/Dusk in docker environment (laravel6)
Install Linux Mint 20 after Ubuntu 18.04 LTS
How to install the language used in Ubuntu and how to build the environment
Building a Deep Learning environment (Ubuntu 20.04 LTS)
Use docker in proxy environment on ubuntu 20.04.1
Use selenium (Firefox) in Ruby in WSL environment
Use selenium (Chrome) in Ruby in WSL environment
Try putting Docker in ubuntu on WSL
Try running ScalarDB on WSL Ubuntu (Environment Construction)
Just install Laravel8 on docker in PHP8 environment
How to install Titan2D (v4.2.0) in virtual environment
How to install multiple JDKs on Ubuntu 18.04 LTS
[Beginner] Install java development tool in cloud9 development environment.
Install Ubuntu 20.04 in virtual box on windows10 and build a development environment using docker
I built an Ubuntu environment on Windows 10 using WSL2.
Install Oracle JDK 8 via PPA in AWS Ubuntu Server 16.04
[Stable] Install openjdk-8-jdk safely in Raspbian Buster (Debian 10) environment
Dramatically speed up slow bundle install in docker environment
Cross-compile Qt – GUI Windows Application in Ubuntu 18.04 MinGW environment
Beginners use ubuntu in windows to prepare rails environment
[Flutter] Ubuntu 20.04 environment construction
Install pyqt5 on ubuntu
Install ROS Noetic ubuntu20.04
Install Ruby on Ubuntu 20.04
Install Gradle with ubuntu16.04
Install Autoware on Ubuntu 18.04.5
Apache2 on Ubuntu20.04 LTS
ubuntu on wsl part 10
Install Homebrew on Ubuntu 20.04
Ubuntu 18.04.05 About LTS setup
About docker.credentials.errors.StoreErrorTraceback in wsl2
Install Ubuntu MATE 20.04 LTS on older MacBook Early 2008 (MB402 * / A, MB403 * / A, MB404 * / A)
Install by specifying the version of Django in the Docker environment
Install docker and docker-compose on ubuntu in the shortest process
How to Install Elixir and Phoenix Framework on Ubuntu 20.04 LTS
Build mate desktop environment on ec2 with terraform (Ubuntu 20.04LTS)
How to install java9 on elementaryOS Freya or Ubuntu 14.04 LTS
Configuration script for using docker in proxy environment on ubuntu 20.04.1