Skip to content
Advertisement

Tag: fedora

How to enable unicode for Python on Fedora?

I am trying to compile MGTAXA on Fedora 23, but I get this error about python needs to be 2.2 or higher (2.7.10 is installed) and that unicode needs to be enabled. Question Can anyone tell me, what I need to do to enable unicode for Python in Fedora 23 and how to make it see that Python is at

how to customize select loop in bash

I was wondering if is possible customize the select loop for bash. I have this code: Output is something like this: I would like to order the options in landscape view and also change the prompt [#?] by something else Thanks Answer select displays the PS3 prompt. You could try something like:

GDB Missing separate debuginfos Fedora 22

I’m trying to debug a 32-bit ELF with GDB on Fedora 22, but I keep getting the following message: I did exacty that — I ran: I get that all dependencies are resolved and that there’s nothing to do. Namely, this message: But even then, when I try running the same file in gdb, I get the exact same warning

How to port forward in Docker container?

I’d like to forward 8080 port to 80 with iptables in a Docker container. In the build I have an error message as you can see below. Here is the Dockerfile: Here is the output: Thank you in advance for any help you can provide. Answer First, running an iptables command during the docker build process would never make sense;

Reading username and password from file

I’m looking at a away of reading the username and password of a file and inputing those to either add user or delete user. EG: I have a file named ‘userlist’ with the following content with this format: What I don’t understand completely is how to use BASH script to add these accounts. What I have so far is this:

Linux udev rule does not appear to work

I am writing an application that MUST run on Fedora Core 4. The application needs to access a USB device WITHOUT root privileges. Using libusb-1.0.8 I have successfully written the application except for one problem. If I do not have root privileges, libusb_open fails with -3 “Permission Denied”. I’ve read that I can alter the permissions of the device with

Advertisement