How can I install libicui18n.so.52 on travis ?
I have a problem with libicui18n.so.52
[phantomjs.launcher]: /home/travis/build/MyProject/node_modules/karma-phantomjs2-launcher/node_modules/phantomjs2-ext/lib/phantom/bin/phantomjs: error while loading shared libraries: libicui18n.so.52: cannot open shared object file: No such file or directory
I tried this in my .travis.yml :
sudo: false
before_install:
- apt-get install -i libicu52_52.1-3ubuntu0.4_amd64.deb
But I have this error :
The command "sudo apt-get install -y libicu52_52.1-3ubuntu0.4_amd64.deb" failed and exited with 100 during .
Solved with this :
sudo: required
before_install:
- sudo wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu52_52.1-3ubuntu0.4_amd64.deb
- sudo dpkg -i libicu52_52.1-3ubuntu0.4_amd64.deb
Related
I'm on a RHEL7.6 attempting to run
docker-credential-secretservice
I've installed it by
wget https://github.com/docker/docker-credential-helpers/releases/download/v0.6.0/docker-credential-secretservice-v0.6.0-amd64.tar.gz && tar -xf docker-credential-secretservice-v0.6.0-amd64.tar.gz && chmod +x docker-credential-secretservice && mv docker-credential-secretservice /usr/local/bin/
when i try to run it by going
docker-credential-secretservice
error:
docker-credential-secretservice: error while loading shared libraries: libsecret-1.so.0: cannot open shared object file: No such file or directory
I thought the libsecret-1.so.0 wasn't installed so i installed it
sudo yum install libsecret-1.so.0
but still gives the same error.
question
how do i install docker-credential-secretservice?
To fix this issue, you need to install libsecret.
sudo yum install libsecret -y
This will install the lastest version of libsecret and you will be able to use it as a credential helper for Docker.
Once installed, you can test it with
docker-credential-secretservice version
On Ubuntu, using apt, I had to specify:
sudo apt install libsecret-1-0
Then docker-credential-secretservice ran with no issue.
I am trying to compile and build OpenCV 2.4.13.6 in a local folder on Raspbian.
I did
cmake -D CMAKE_INSTALL_PREFIX=./ - DCMAKE_BUILD_TYPE=Debug ../
make -j4
make install
However the modules folders in the build directory were not present (for example the file core_c.h of the core module could not be found). So I tried to rerun make install but it was failing. I went back another step and rerun cmake ... I noticed it gives me warnings about many packages that cannot be found such as gtk+-2.0 gthread g-streamer and much more.
Should I install those packages to build opencv manually?
Yes, you need to install dependencies manually before compiling OpenCV, although you asked for OpenCV 2, an example list of dependencies for Raspbian can be found here. Directly quoting from given link:
Step 1:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo rpi-update (can be skipped, but recommended) (don't do it if you will use the RPI cam as recommended by official RPI Website)
$ sudo reboot now
Step 2:
$ sudo apt-get install build-essential cmake pkg-config
Step 3:
$ sudo apt-get install libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev
Step 4:
$ sudo apt-get install libgtk2.0-dev libgstreamer0.10-0-dbg libgstreamer0.10-0 libgstreamer0.10-dev libv4l-0 libv4l-dev
Step 5:
$ sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev
$ sudo apt-get install libxvidcore-dev libx264-dev
Step 6:
$ sudo apt-get install libatlas-base-dev gfortran
$ sudo apt-get install python-numpy python-scipy python-matplotlib
$ sudo apt-get install default-jdk ant
$ sudo apt-get install libgtkglext1-dev
$ sudo apt-get install v4l-utils
Step 7:
install pip
$ wget https://bootstrap.pypa.io/get-pip.py
$ sudo python get-pip.py
Step 8:
$ sudo apt-get install python2.7-dev
Step 9:
$ sudo pip install numpy
I am attempting to install neo4j in ubuntu 14.04 as specified in http://neo4j.com/docs/operations-manual/current/installation/linux/debian/?_ga=2.249168388.2041192375.1507250087-893468657.1507250087
The installation instruction I am using is
sudo apt-get install neo4j=3.2.3
but it doesn't work
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package neo4j
I'd apreciate any help
Maybe you forgot to add the debian repository and to update your list of packages:
wget -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add -
echo 'deb https://debian.neo4j.org/repo stable/' | sudo tee -a /etc/apt/sources.list.d/neo4j.list
sudo apt-get update
https://neo4j.com/docs/operations-manual/current/installation/linux/debian/#debian-add-repository
I had the same problem on Debian and installing "apt-transport-https" fixed it because deb https://debian.neo4j.org/repo stable/ is using https.
You can install it with this:
sudo apt install apt-transport-https
I've installed tarantool (tarantool_box) and tarantool-client. I can start tarantool
/usr/bin/tarantool_box --background
but when I try to connect to server
/usr/bin/tarantool
I see only admin console
localhost>
and can only use some commands and sql-like queries. I can not use any of commands from user guide, and almost all commands which start with lua fail:
lua console = require('console')
---
error: 'Lua error: [string "local console = require(''console'')"]:1: attempt to call global ''require'' (a nil value)'
...
Solution, for clean Debian wheezy, found on tarantool github https://github.com/tarantool/tarantool
sudo apt-get update
sudo apt-get upgrade
after update
sudo apt-get install git
sudo apt-get install build-essential
sudo apt-get install libreadline-dev
sudo apt-get install cmake
sudo git clone https://github.com/tarantool/tarantool
cd ./tarantool
sudo git submodule update --init --recursive
sudo cmake .
sudo make
after build
sudo ./tarantool/src/tarantool
Usually I use this command for docker version of tarantool/tarantool:
tarantoolctl connect 3301
But you can also use docker directly
docker exec -it tarantool_1 console
I'm trying to install italian language pack on a VM instance with Debian. I've tried almost everything but it still can't find the language pack.
$ apt-get update
$ apt-get install language-pack-it-base
$ apt-get install language-pack-it
It returns:
E: Unable to locate package language-pack-it
It's the same with other languages.
Any hint?
To install language-pack-it-base:
$ wget http://archive.ubuntu.com/ubuntu/pool/main/l/language-pack-it-base/language-pack-it-base_14.10+20141020_all.deb
$ sudo dpkg -i language-pack-it-base_14.10+20141020_all.deb
To install language-pack-it:
$ wget http://archive.ubuntu.com/ubuntu/pool/main/l/language-pack-it/language-pack-it_14.10+20141020_all.deb
$ sudo dpkg -i language-pack-it_14.10+20141020_all.deb
Verify the installation of the packages using dpkg -l
$ dpkg -l | grep language-pack-it
‘ii’ status indicates a successful installation.
If you get dependency errors during the installation, run the command below and re-install the packages.
$ sudo dpkg --configure -a