Category "linux"

Unable to install PyAutoGui on Linux

I'm trying to install pyautogui, and have an error. I tried to install pyautogui on older python version, and have same error. I also tried to install all depen

Apache/PHP Correct permissions for uploading a binary that runs server side?

I've prepared a PHP browser interface (like a modem interface) for an embedded system, that is supposed to help manage the core application (uploading a new bin

start docker container interactively

I have a very simple dockerfile with only one row, namely "FROM ubuntu". I created an image from this dockerfile by the command docker build -t ubuntu_ . I know

import _tkinter # If this fails your Python may not be configured for Tk error in python 3.8

Currently using Ubuntu 20.04 LTS with python3.8.5. Its my first time using ubuntu with absolutely no previous knowledge of terminal.SO,would love to have a deta

application using lttng compile errors with aarch64-xilinx-linux-g++

I am trying to porting lttng on xilinx mpsoc with linux OS, I have write a demo as same as lttng "Record user application events", it runs on Ubuntu perfectly g

How to fix command not found in Linux shell scripting [duplicate]

I have a Linux shell script with the below code #! /bin/bash echo $BASH name = Mark echo $name When I run the script, I'm getting an error:

How to fix command not found in Linux shell scripting [duplicate]

I have a Linux shell script with the below code #! /bin/bash echo $BASH name = Mark echo $name When I run the script, I'm getting an error:

How can I make a function creating tens of thousands of symbolic filesystem links show up in VTUNE?

I'm profiling some binary on CENTOS 7.6 using VTUNE. I've yet to find the function (in vtune output) which is creating tens of thousands of symbolic file system

Error "Failed to start mariadb.service: Unit mariadb.service not found"

I'm using Fedora 29. I'm try to run mariadb.service with command:systemctl start mariadb, and give error:Failed to start mariadb.service: Unit mariadb.service n

What are the differences between apt clean/remove/purge etc. commands?

I am quite new to Linux and Apt package manager. I try to build my first docker image (write my first Dockerfile) based on other Dockerfiles written by co-worke

Clang compilation into sysroot with newer glibc

I'm trying to compile with a sysroot for Ubuntu 22.04 from a Ubuntu 20.04 image, and I'm having quite a bit of trouble, getting linker errors like these: /usr/b

Resizing terminal window with python on linux

I have been unable to find a way to resize the terminal running linux with python 3.x I am on "Raspbian GNU/Linux 9 (stretch)" I have only found ways to escape

problems centos 7 httpd service restart

when I type systemctl restart httpd , I get the following error: Job for httpd.service failed because the control process exited with error code. See "systemct

Allow non-root user of container to execute binaries that need capabilities

I need to run a container as non-root user by default. However a specific process inside this container needs to execute a binary that needs cap_net_admin capab

Install numpy for blender

I'm having a hard time exporting my blender model to glTF 2.0 format (for godot): (I still can export it to default .dae format) So, I tried installing numpy f

IP address in condition statement bash profile

below ism y code if [ ip add show tun0 2>/dev/null ] ; then export http_proxy="http://127.0.0.1:2123" fi But when i do echo after conencting echo $http_

SYSTEM ERROR: I/O error 0 in writeto, ret 2048, file 56(/mfgtmp/tmp/srtE5yybD), addr 77010944. (290) - PROGRESS 4GL

I am getting below error suddenly when my progress program was executed and running for more than 80 minutes. I think this is OS error and error 0 says its for

How to run multiple Linux command line statements from SAS synchronously, with piped response?

I can run: filename my_com pipe "sleep 60s"; data _null_; file my_com; run; And the log shows a full 60 second wait: But if I run: filename my_com pipe "echo

k3d tries to pull Docker image instead of using the local one

Just study the core of K8S on local machine (Linux Mint 20.2). Created one node cluster locally with: k3d cluster create mycluster And now I want to run sprin

Pipe with multiple child process

I want to create N processes from one parent and this child processes have to read that parent write, but what i have only the first process reads correctly: #