Can I use Homebrew on Ubuntu?

I just tried to use Homebrew and Linuxbrew to install packages on my Ubuntu Server but both failed. This is how I tried to install them: sudo apt-get install build-essential curl git m4 ruby...

Python versions on Linux

Yesterday i reinstalled my Linux Mint duo similar issue I am facing right now. I installed Python 3.6 with: apt-get install build-essential checkinstall libreadline-gplv2-dev libncursesw5-dev...

How run composer install from dockerfile in php container

Good day I have php container which seting up in Dockerfile I am trying to run composer install with this command WORKDIR '/app' RUN curl -sS https://getcomposer.org/installer | \ php...

python install zbar error: Setup script exited with error: command 'gcc' failed with exit status 1

enviornment: pyenv versions system 2.7.13 * 3.4.3 (set by /home/foo/.pyenv/version) 3.4.3/envs/venv343 venv343 easy_install zbar while encounter the following errors: Searching for...

Install PyQt5 on Raspberry for Python3.6

Since I found no answer for my question, neither in older posts nor in other forums, I want to ask the stackoverflow community for advice. I am using a raspberry pi 3B+, version 9.4 (lite) with...

Why `~/.bashrc` is not executed when run docker container?

I have a docker file as below. launch.sh is the entry point in this docker image. FROM ubuntu:16.04 USER root RUN apt-get update && apt-get install -y \ curl \ vim \ ...

how to merge Docker's layers of image and slim down the image file

docker image inspect <name> gives me 16GB and about 20 layers When I am logged as root, this du -hs / show me just 2GB FYI, there are already very multi-lines RUN commands in Dockerfile. can I...

Docker build php on alpine image with curl support failed. How I can solve it?

I try to install curl support to php on a php:7-fpm-alpine image. Therefore I utilize the following Dockerfile: FROM php:7-fpm-alpine RUN apk add --update libzip-dev libcurl &&\ ...

How to fix "failed to initialize SDL in 'System'" in pyxel

I was tried to excecute tutorial code include pyxel import, but there was some error "pyxel error: failed to initialize SDL in 'System'" Should I install some additional packages? I'm using WSL...

Python3.7: error while loading shared libraries: libpython3.7m.so.1.0

I have two versions Python-2.7 , Python-3.5 which I was able to access with python(pip) and python3(pip3) command respectively. Then I have installed an another version of python (i.e 3.7.5). I...

'composer install' command fails on Docker giving 'SSL Operation Failed with code 1' error

I am on the Windows machine, with Docker running. Docker image is FROM php:7.3-apache. with System : Linux b6df004de9df 4.9.184-linuxkit #1 SMP Tue Jul 2 22:58:16 UTC 2019 x86_64 having Composer...

Running pip install requirements.txt fails in docker build

I am trying to create a docker image for machine learning model but it fails if i try to install from requirements.txt but if I run below docker file then it runs successfully The following is my...

ImportError: No module named '_bz2'

I am trying to run Python3 application in linux server. Application breaks when it tries to use Pandas library. I have tried the solution in...

pip3.7 ubuntu 16 pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

I'm using gitbash virtualbox and ubuntu 16 and windows 10. I've installed the python 3.7 package from python.org and before I did that I installed build-essential checkinstall...

Issue creating OSM tile server using Docker

I'm using OpenStreetMap tile server @ the https://github.com/Overv/openstreetmap-tile-server to host my own tile server. I run the container with the following command and it runs without error,...

fatal error: 'boost/uuid/uuid.hpp' file not found

I am trying to include boost UUID libraries in EOS smart contract. #include <string> #include <eosio/crypto.hpp> #include <boost/uuid/uuid.hpp> I followed this link to install boost just changed...

How to avoid using AWS S3 environment variables when running an R script on Fargate

I am trying to run a task on Fargate to perform the following: Use rmarkdown to produce a html file which is then uploaded to S3. I have had success when hardcoding my AWS credentials like...

Update Azerothcore with latest updates from master branch

I am currently running Azerothcore via docker on my centos 7 server. I am trying to update it with the updates since i originally set it up. current docker version: Docker version 19.03.12, build...

Seeing bzlib.h not found when trying the Bindgen tutorial

I know there is a similar post to this but I followed it and I'm still seeing the issue so I thought I'd ask again sorry. I downloaded the bbindgen-tutorial-bzip2-sys and tried to run it but I...

Laravel Dusk testing with Gitlab CI error, cant connect to port:9515: Connection refused

so i've been trying to setup Laravel with Gitlab, everything works fine now, however when the script tries to run my Browser tests, i get the following error Curl error thrown for http POST to...

How to: Upgrade to Python 3.8.5 on ArchLinux / Raspbian / Volumio / Raspberry

I've faced the Problem, that my code needs at least Python 3.5... therfore I upgraded to Python 3.5.2. Unfortunatly the support for Python 3.5.x ehas ended and the support for PIP 21.0 will end in...

Docker container's sshfs mount freezes, but only when mounted by Python

I have a development laptop (Mint 19.3), and a test server (Ubuntu 18.04.4 LTS). The laptop is Docker version 19.03.5, build 633a0ea838, the server is Docker version 19.03.12, build 48a66213fe I'm...

Installing php-dbase extension in Dockerfile

I'm trying to set up my development environment using Docker. This is the first time using docker for me. For my project, I need the php-dbase extension installed in my container. I have a...

How to use SSH access via Bitbucket pipeline for deployment

I am creating script for automatic testing and publishing. Everything works for me, except one thing. I can't do this command git fetch origin without using a password. I tried to set an access...

Installing rJava package with Docker

I am trying to install the 'rJava' package in my RStudio docker image using my Dockerfile: FROM rocker/tidyverse:3.6.1 RUN mkdir -p /rstudio RUN mkdir -p /rscripts RUN apt-get update && \ ...

WSL problem : ERROR: unexpected error - [Errno 1] Operation not permitted

Situation Using WSL(Ubunts), I try to run Python. I use Pyenv + pipenv. However, I sometimes faces the error messageERROR: unexpected error - [Errno 1] Operation not permitted as...

How to setup CI/CD for Opencart using Gitlab

I am trying to do the automation, but it keeps on failing, here is the failed $ docker-php-ext-install mbstring mcrypt pdo_pgsql curl json intl gd xml zip bz2 error: /usr/src/php/ext/mcrypt does...

COPY failing in docker-compose file

I am trying to install xdebug in PHP. During the build process when it gets to the COPY in the Dockerfile I get the following error message. ERROR: Service 'php' failed to build : COPY failed:...

Can not get asdf-direnv work in docker when building

I'm trying to use asdf-direnv in docker. Following the README of asdf-direnv, I make this Dockerfile FROM nvidia/cuda:10.2-devel-ubuntu18.04 RUN chsh -s /bin/bash SHELL ["/bin/bash", "-ic",...

pip install py-find-1st fails on ubuntu20 & centos with python3.9

This is my process. I start a new aws t2.micro ec2 on ubuntu20 and run this script sudo apt-get update sudo apt-get install gcc sudo apt-get install python3.9 sudo apt-get install...