参考:
1:linux打开vivado_命令行下载 + Batch Mode安装 Vivado_鬼饫子的博客-CSDN博客
2:ug973-vivado-release-notes-install-license.pdf
步骤:
1:上传Xilinx_Vivado_Lab_Lin_2021.2_1021_0703.tar.gz到/home/xxxx目录
2:解压vivado lab installer
xxxx@xxxx:~$ tar -xzf /home/oeic/Xilinx_Vivado_Lab_Lin_2021.2_1021_0703.tar.gz
xxxx@xxxx:~$ ls
Xilinx_Vivado_Lab_Lin_2021.2_1021_0703
4:进入安装文件目录
xxxx@xxxx:~$ cd Xilinx_Vivado_Lab_Lin_2021.2_1021_0703/
xxxx@xxxx:~/Xilinx_Vivado_Lab_Lin_2021.2_1021_0703$ ls
bin data lib payload scripts tps xsetup
5:生成配置文件
xxxx@xxxx:~/Xilinx_Vivado_Lab_Lin_2021.2_1021_0703$ ./xsetup -b ConfigGen
Running in batch mode...
Copyright (c) 1986-2021 Xilinx, Inc. All rights reserved.
INFO : Log file location - /home/xxxx/.Xilinx/xinstall/xinstall_1637595038309.log
Select an Edition from the list:
1. Vivado Lab Edition (Standalone)
Please choose: 1
INFO : Config file available at /home/xxxx/.Xilinx/install_config.txt. Please use -c <filename> to point to this install configuration.
6:运行安装器
因为安装程序要创建/tools/xilinx/目录,所以需要sudo运行
xxxx@xxxx:~/Xilinx_Vivado_Lab_Lin_2021.2_1021_0703$ sudo ./xsetup -b Install -a XilinxEULA,3rdPartyEULA -c /home/xxxx/.Xilinx/install_config.txt
Running in batch mode...
Copyright (c) 1986-2021 Xilinx, Inc. All rights reserved.
INFO : Log file location - /root/.Xilinx/xinstall/xinstall_1637595305746.log
WARN : Warning: you are running on an OS version that is not officially supported. Xilinx does not recommend installing on unsupported OSes.
INFO : Installing Edition: Vivado Lab Edition (Standalone)
INFO : Installation directory is /tools/Xilinx
Installing files, 99% completed. (Done)
It took 2 minutes to install files.
INFO : Copy the data directory and idata.dat to download image and xinstall
INFO : Log file is copied to : /tools/Xilinx/.xinstall/Vivado_Lab_2021.2/xinstall.log
INFO : Installation completed successfully.