UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor cjm99999
Visitor
19,195 Views
Registered: ‎12-10-2014

Vivado on Ubuntu Install Directory and Icons

Jump to solution

Just installed Vivado 2014.4 on Ubuntu 14.04.1 in a Parallels 9 Virtual Machine on a Retina Macbook Pro with OSX 10.10.1.

 

The default install location was /opt/Xilinx which I needed to use sudo to install to.  Now when I run Vivado from the command line everything is read only.  I cant work with any example files since I cant modify them.  Should I have installed to a different directory?  Should I change permissions on something?

 

Also, there are no Icons for Vivado anyware.  Is this correct?  I can run it from the command line but I don't think I should have to do that.

 

I'm pretty new to Linux so maybe these are basic questions.

 

Thanks, any info is appreciated,

Chris

0 Kudos
1 Solution

Accepted Solutions
Scholar dwisehart
Scholar
31,745 Views
Registered: ‎06-23-2013

Re: Vivado on Ubuntu Install Directory and Icons

Jump to solution

Typically what I do is:

 

sudo mkdir /home/Xilinx

sudo chmod 777 /home/Xilinx

sudo ln -s /home/Xilinx /opt/Xilinx

<install Vivado, but not Cable Drivers, as a normal user>

 

The /opt directory is normally on the root partition, which does not have tons of empty space, but /home is usually in its own partition with lots of empty space.  You can replace /home/Xilinx with whatever location you like that has lots of space.  To start over and re-install Vivado:

 

sudo rm -rf /opt/Xilinx

<use above instructions>

 

If you want to try to reinstall using your existing download, I am not sure on Ubuntu, but on Centos when I do a download from the browser, the Vivado download and installation executable is under /home/username/Downloads.  That program downloads additional components, which are stored under /opt/Xilinx/.xinstall/.

 

To use your current download without removing everything and starting over you could:

 

sudo find /opt/Xilinx/ -exec chmod 777 {} \; -print

/opt/Xilinx/.xinstall/Vivado_2014.4/xsetup

 

Cable Drivers will still need to be installed by root if that did not complete the first time:

 

sudo  /opt/Xilinx/Vivado/2014.4/data/xicom/cable_drivers/lin64/install_script/install_drivers/install_drivers

 

Let us know if you need further help.

Daniel

 

8 Replies
Xilinx Employee
Xilinx Employee
19,186 Views
Registered: ‎04-16-2012

Re: Vivado on Ubuntu Install Directory and Icons

Jump to solution

Hello Chris,

 

When you are invoking Vivvado GUI, it creates a log file in present working directory.

So try invoking the vivado gui from a location where you have complete permissions.

 

Thanks,

Vinay

--------------------------------------------------------------------------------------------
Have you tried typing your question in Google? If not you should before posting. Also, MARK this is as an answer in case it helped resolve your query/issue.Give kudos to the post that helped you to find the solution.
0 Kudos
Moderator
Moderator
19,184 Views
Registered: ‎01-16-2013

Re: Vivado on Ubuntu Install Directory and Icons

Jump to solution
0 Kudos
Visitor cjm99999
Visitor
19,165 Views
Registered: ‎12-10-2014

Re: Vivado on Ubuntu Install Directory and Icons

Jump to solution

I looked through the users guide and didn't see really anything.

 

I created a Vivado directory under my home directory and ran Vivado from there with the command...

 

/opt/Xilinx/Vivado/2014.4/bin/vivado

 

and get an error box at launch saying...

 

[Common 17-1257] Failed to create directory '/opt/Xilinx/Vivado/2014.4/tclapp'.

 

The log file then says...

 

 

#----------------------------------------------------------- # Vivado v2014.4 (64-bit) # SW Build 1071353 on Tue Nov 18 16:47:07 MST 2014 # IP Build 1070531 on Tue Nov 18 01:10:18 MST 2014 # Start of session at: Wed Dec 10 10:04:20 2014 # Process ID: 3487 # Log file: /home/chrismiller/Vivado/vivado.log # Journal file: /home/chrismiller/Vivado/vivado.jou #----------------------------------------------------------- CRITICAL WARNING: [Common 17-741] No write access right to the local Tcl store at '/home/chrismiller/.Xilinx/Vivado/2014.4/XilinxTclStore'. XilinxTclStore is reverted to the installation area. If you want to use local Tcl Store, please change the access right and relaunch Vivado. ERROR: [Common 17-1257] Failed to create directory '/opt/Xilinx/Vivado/2014.4/tclapp'. start_gui

 

 

Should I just install in a directory I own?

0 Kudos
Scholar dwisehart
Scholar
31,746 Views
Registered: ‎06-23-2013

Re: Vivado on Ubuntu Install Directory and Icons

Jump to solution

Typically what I do is:

 

sudo mkdir /home/Xilinx

sudo chmod 777 /home/Xilinx

sudo ln -s /home/Xilinx /opt/Xilinx

<install Vivado, but not Cable Drivers, as a normal user>

 

The /opt directory is normally on the root partition, which does not have tons of empty space, but /home is usually in its own partition with lots of empty space.  You can replace /home/Xilinx with whatever location you like that has lots of space.  To start over and re-install Vivado:

 

sudo rm -rf /opt/Xilinx

<use above instructions>

 

If you want to try to reinstall using your existing download, I am not sure on Ubuntu, but on Centos when I do a download from the browser, the Vivado download and installation executable is under /home/username/Downloads.  That program downloads additional components, which are stored under /opt/Xilinx/.xinstall/.

 

To use your current download without removing everything and starting over you could:

 

sudo find /opt/Xilinx/ -exec chmod 777 {} \; -print

/opt/Xilinx/.xinstall/Vivado_2014.4/xsetup

 

Cable Drivers will still need to be installed by root if that did not complete the first time:

 

sudo  /opt/Xilinx/Vivado/2014.4/data/xicom/cable_drivers/lin64/install_script/install_drivers/install_drivers

 

Let us know if you need further help.

Daniel

 

Visitor cjm99999
Visitor
19,152 Views
Registered: ‎12-10-2014

Re: Vivado on Ubuntu Install Directory and Icons

Jump to solution

Ok, sounds good.  I'm going to do a total reinstall.  When the installer asks for the install location do I keep the /opt/Xilinx there now or do I use the /home/Xilinx location?

0 Kudos
Scholar dwisehart
Scholar
19,132 Views
Registered: ‎06-23-2013

Re: Vivado on Ubuntu Install Directory and Icons

Jump to solution
If you create the symbolic link with:

sudo ln -s /home/Xilinx /opt/Xilinx

just use /opt/Xilinx

Daniel
0 Kudos
Visitor cjm99999
Visitor
19,121 Views
Registered: ‎12-10-2014

Re: Vivado on Ubuntu Install Directory and Icons

Jump to solution

Thank you.  I have it up and running with icons!

0 Kudos
Highlighted
Visitor nwaters
Visitor
765 Views
Registered: ‎08-10-2018

Re: Vivado on Ubuntu Install Directory and Icons

Jump to solution

I had the same issue.

 

I noticed this in my home directory:

 

user@ubuntu:~$ ls -la
total 208
drwxr-xr-x 25 user user  4096 Sep 20 13:53 .
drwxr-xr-x  3 root root  4096 Sep 19 05:52 ..
      <---- snip --->
-rw-rw-r--  1 user user   455 Sep 19 18:12 vivado_11079.backup.jou
-rw-rw-r--  1 user user   802 Sep 19 18:12 vivado_11079.backup.log
-rw-rw-r--  1 user user   456 Sep 20 13:31 vivado_117559.backup.jou
-rw-rw-r--  1 user user   803 Sep 20 13:31 vivado_117559.backup.log
-rw-rw-r--  1 user user   456 Sep 20 13:32 vivado_117661.backup.jou
-rw-rw-r--  1 user user   803 Sep 20 13:38 vivado_117661.backup.log
-rw-rw-r--  1 user user   456 Sep 20 13:42 vivado_117869.backup.jou
-rw-rw-r--  1 user user   803 Sep 20 13:46 vivado_117869.backup.log
-rw-rw-r--  1 user user   456 Sep 20 13:52 vivado.jou
-rw-rw-r--  1 user user   803 Sep 20 13:54 vivado.log
-rw-------  1 user user    51 Sep 20 13:29 .Xauthority
drwxr-xr-x  3 root root  4096 Sep 19 09:19 .Xilinx
drwxrwxr-x  2 user user  4096 Sep 19 14:13 xilinx_downloads
-rw-------  1 user user    82 Sep 20 13:29 .xsession-errors
-rw-------  1 user user   754 Sep 20 13:29 .xsession-errors.old

Check out who owns the .Xilinx directory. I am not sure how that happened, maybe when I installed vivado I did it using sudo or something.

 

Anyway, I did this:

sudo chown -R user:user .Xilinx

And it resolved all of those issues.

 

FWIW, I also chown -R'ed /opt/Xilinx to user:user as well.

0 Kudos