Yocto (Intel IoT Image), installing packages - yocto

Good day.
In debian I can to run:
sudo apt-get install python-opencv python-serial python-pyparsing python-numpy python-wxgtk2.8
How to do it on yocto (Intel IoT Image)?
1) build from source it all with building from source all dependencies?
2) is a good solution - install apt-get on yocto?
3) Maybe, I can to use opkg for installing it, (but in "opkg list" I can't see, for example, python-wxgtk2.8 ), where can I find good repository, default repository is very poor?

Yes you can install packages using opkg. You can use the repos. Refer this excellent blog from Alex on package configuration.

Related

How to install pgAdmin 4 on Fedora 30?

The RPM given on the official website does not have the pgadmin4 package for Fedora 30.
Is there a known workaround?
Edit: Relevant packages are now included in the RPM, so there is no issue anymore.
You can use the link that points to the x64 package:
sudo dnf -y install https://download.postgresql.org/pub/repos/yum/reporpms/F-30-x86_64/pgdg-fedora-repo-latest.noarch.rpm
then you will be able to dnf search and install pgadmin4 normally.
Apparently there is a mistake in the docs for that distro.
You'd have to wait until Devrim gets around to rolling RPMs for Fedora 30.
The alternative is to build the software from source.
EDIT: In the meantime, packages for Fedora 30 are available.

Cf application in Bluemix - install dependency package

I have a Spring Boot application deployed as a Cloud Foundry app on Bluemix. Unfortunately the core of this app depends on an external program (e.g. abc) which can be easily installed using apt-get install abc on a desktop environment.
Is there any way to install such a dependency in a cloud foundry environment?
Many thanks for your support
Luca
I'm working on a similar challenge with R and am using a soon-to-be-discontinued git repo which uses apt-get options to allow you to redirect your install into folders/directories where you have write authority during the staging process. You'll have to update your paths to ensure that you can access the installed code. The install process is multi-step,
define the alternate path for apt
define the path for your installation
update apt
use apt-get install ... to download the necessary packages and associated dependencies
use dpkg to install the downloaded packages

how install rvm on RHL7 using centos repo

How to install rvm(ruby) on RHL7 using centos repo.
I know if we are using centos repository we should be using centos OS and not RedHat, but we have a proprietary software that require Redhat.
when I try to install ruby 1.93 using rvm I got this:
rvm install 1.9.3
Searching for binary rubies, this might take some time.
No binary rubies available for: redhat/6/x86_64/ruby-1.9.3-p551.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for redhat.
Unable to locate SystemId file. Is this system registered?
Our client does not have registered system with redhat, So I did configure centos repository.
But how can I tell RVM to use this centos repository?
I managed the problem running:
rvm autolibs read-only
In that way rvm do not try to download the dependencies from redhat. But it tell us what is missing, so we can install what is missing manually with yum install from centos repository.
RedHat uses the concept of software collection to offer update packages for Ruby, Python, etc:
softwarecollections
For your case, they have software collection for Ruby193 and Ruby22.
On each page you will find instructions on how to use it.

apt-get package in virtualenv

Hi i am trying to install python imaging library in a virtual environment in linuxmint 17.1.
I tried this link.
Decoder JPEG not available error when following Django photo app tutorial
I also posted this question but no answer till now.
https://stackoverflow.com/questions/31473765/install-libjpeg-dev-in-virtualenv-ubuntu
EDIT:
I am installing Shoop in my linuxmint system in a virtualenv. This program requires both Pillow and PIL to be installed in a virtualenv. I installed Pillow and PIL in virtual environment but it also requires following libraries to be installed in virtualenv.
libjpeg-dev
libpng12-dev
zlib1g-dev
I installed these libraries via apt-get.
sudo apt-get install libjpeg-dev zlib1g-dev libpng12-dev
Since apt-get installs packages system wide. How to use them in my virtualenv.
Also if there is a way to separately install them in virtualenv.
I'd say no.
Everything you install through apt-get is OS related.
As Audrius Kažukauskas commented and Virtualenv documentation docs states:
virtualenv is a tool to create isolated Python environments.
The basic problem being addressed is one of dependencies and versions,
and indirectly permissions.

choose repository when apt-get install

I have a raspberry pi and, in the standard repositories, it has zynaddsubfx (a midi sampler). There is a cool guy providing a repository from his own with a version of this same program that is tested on the pi and known to work.
How can I force apt-get to install from this particular repository when he program to be installed has the same name in both repositories ?
You can specify the repo indirectly by giving the exact version you want to install. See this post for a howto: https://superuser.com/questions/124174/how-can-i-specify-the-repository-from-which-a-package-will-be-installed-emacs