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: 
Observer fpga2017
Observer
1,082 Views
Registered: ‎03-27-2018

Do I have to install all the Linux packages listed in ug1238?

Jump to solution

I'm installing SDx, in ug1238, it requires about 30 packages (such as: ocl-icd-libopencl1, opencl-headers, ... etc.) installed by 'apt-get install' command, so do I have to install these packages one by one? Or it will be installed automatically when I install the OS? Thanks!

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
1,202 Views
Registered: ‎11-04-2010

Re: Do I have to install all the Linux packages listed in ug1238?

Jump to solution
It seems some packages' names for Ubantu are incorrect.
Please try the below command:
sudo apt-get install ocl-icd-libopencl1 opencl-headers ocl-icd-opencl-dev linux-libc-dev g++ gcc gdb make libopencv-core-dev libjpeg-dev libpng-dev libtiff5-dev python git dmidecode pciutils strace perl libboost-dev libboost-filesystem-dev gnuplot cmake lm-sensors lsb unzip linux-headers-$(uname -r) python3-sphinx-rtd-theme sphinx-common python3-sphinx libuuid1 uuid-dev mokutil wget openssl

sudo apt-get install libjpeg62 libjpeg62-dev
-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
5 Replies
Moderator
Moderator
1,049 Views
Registered: ‎11-04-2010

Re: Do I have to install all the Linux packages listed in ug1238?

Jump to solution
Hi, @fpga2017,
You can install multiple packages at once by using the command below:
sudo apt-get install [package_1] [package_2] [package_3]...
-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Observer fpga2017
Observer
1,024 Views
Registered: ‎03-27-2018

Re: Do I have to install all the Linux packages listed in ug1238?

Jump to solution

I failed to install a few of the packages, such as linux-libc-dev, libopencv-core, libpeng-dev, opencv, etc. For example, when I was trying to install opencv package, I got this error:

 

Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package opencv

 

Thanks!

0 Kudos
Moderator
Moderator
1,203 Views
Registered: ‎11-04-2010

Re: Do I have to install all the Linux packages listed in ug1238?

Jump to solution
It seems some packages' names for Ubantu are incorrect.
Please try the below command:
sudo apt-get install ocl-icd-libopencl1 opencl-headers ocl-icd-opencl-dev linux-libc-dev g++ gcc gdb make libopencv-core-dev libjpeg-dev libpng-dev libtiff5-dev python git dmidecode pciutils strace perl libboost-dev libboost-filesystem-dev gnuplot cmake lm-sensors lsb unzip linux-headers-$(uname -r) python3-sphinx-rtd-theme sphinx-common python3-sphinx libuuid1 uuid-dev mokutil wget openssl

sudo apt-get install libjpeg62 libjpeg62-dev
-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Observer fpga2017
Observer
1,007 Views
Registered: ‎03-27-2018

Re: Do I have to install all the Linux packages listed in ug1238?

Jump to solution

Very helpful advice! Thanks! You should help them update ug1238, that will help many other engineers.

0 Kudos
Moderator
Moderator
998 Views
Registered: ‎11-04-2010

Re: Do I have to install all the Linux packages listed in ug1238?

Jump to solution
Good suggestion. I will.
-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos