I am using the following command for OpenMPI installation on Ubuntu 17.10:
sudo apt-get install openmpi-bin openmpi-common openssh-client openssh-server libopenmpi1.3 libopenmpi-dbg libopenmpi-dev.
However, I get the following error:
E: Unable to locate package libopenmpi1.3
I wanted to know how to fix this. Alternatively,I am open to installing openmpi differently if anyone knows another way of doing it.
apt-get install libopenmpi1.10 would work.
Related
Since an updates I'm not able to compile my Qt code for my Desktop environment. Qmake tells me
Project ERROR: Unknown module(s) in QT: script
Does anyone know, which package I need to install on Ubuntu 19.04 to enable the script module for Qt?
I had the same issue in Ubuntu 18.04, Qt 5.
It can be solved by installing the qtscript5-dev package:
sudo apt-get install qtscript5-dev
I try to use imgmin (written in C) by rflynn (see on GitHub rflynn/imgmin).
So I followed the instructions
sudo apt-get install -y autoconf libmagickwand-dev pngnq pngcrush pngquant
git clone https://github.com/rflynn/imgmin.git
cd imgmin
autoreconf -fi
./configure
make
sudo make install
imgmin original.jpg optimized.jpg
I compiled and installed it without any problems (or notices). But I can't run "imgmin", it always tells me:
-bash: imgmin: command not found
Where is my mistake? Thank you for any suggestion.
I'm running on Ubuntu Server 16.04 LTS with latest updates.
I am running ubuntu 12.0.4 LTS on my controller. I was trying to install qt4-make using apt-get, but I am getting a message that the package is not found. I need this to make and compile a file. How can I install this ? Also, is there any alternative I can download ? I even tried sudo apt-get install libqt4-* . Still nothing happens.
I think qt4-make is qmake, so try this:
sudo apt-get install qt4-qmake
I'm trying to install V4L2 on Ubuntu 10.04 (lucid) that require the xlibs-devinstalled. I tried: sudo apt-get install xlibs-dev but it returns:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package xlibs-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package xlibs-dev has no installation candidate
then I tried:
First attempt: attemp:sudo apt-get install xorg-dev;
Second attemp: sudo apt-get update and sudo apt-get upgrade;
All failed. same install xorg-dev,updated and upgraded my packages, can't to install the xlibs-dev library. how to fix this? thanks in advance.
The command
apt-cache search xlib dev
suggest you to
aptitude install libx11-dev
And your distribution might have V4L2. Consider installing the v4l2ucp package...
PS. There is no s letter in xlib because it is one library, not several!
I installed opencv2.3 on ubuntu by first adding the ppa and the doing apt-get install
$ sudo add-apt-repository ppa:gijzelaar/cuda
$ sudo add-apt-repository ppa:gijzelaar/opencv2.3
$ sudo apt-get update
$ sudo apt-get install libopencv-dev
I am developing on Eclipse and my programs work. I have this one problem though, while following an ebook. I cannot find the /opencv/samples folder in my system. I did a unix directory search to no avail.
Also, in Synaptic Package Manager I find that the opencv packages are not marked green, ie they're not installed. However I have written and executed opencv codes on my machine.
What is the reason for this?
It seems you have installed binary OpenCV package while the samples are (most likely) included only to source package.