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
Tag: fedora
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:
Kernel update causes keyboard layout change and unable to decrypt luks encryption
I’m using Fedora 23, LUKS encrypted disk and multiple keyboard input sources for all the languages I’m daily using and switching between. When there is kernel update available and I forget to switch to enUS as primary keyboard layout then I can not decrypt LUKS partition since wrong keyboard layout is set when I update kernel. So I solved this
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
Use python 2.7 for some apps, while keeping python 2.6 for the OS (linux fedora/centos)
How can I use python 2.7 for some apps, while keeping python 2.6 for the OS? I am using CentOS6.6 (based on RHEL 6 / Fedora 12), and would like to install some recent packages such as meld 3.13, latest rabbitcvs, etc… It requires python 2.6 to run. when I try to run meld 3.13, it says “Meld requires Python
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;
how to implement POSIX threads ( pthread.h ) on fedora 9
I need to use pthreads but it seems that I do not have it in my fedora and I cannot found how to install it. Thanks Answer Fedora 9 uses Linux Kernel version 2.6 and this version is fully compatible with libc 2.3.2. This libc contains the pthread.h header. Check this implementation example. And compile with:
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:
How to access share folder in virtualbox. Host Win7, Guest Fedora 16?
I’m a newbie in linux. I installed Fedora 16 OS as guest in virtualbox on Window 7. Now, I want to access share folder from Fedora. Here is something I did: Install guest addtion [OK] Make share folder link to virtualbox [OK]. Share folder path in Window 7: D:share_folder_vm In terminal program in fedora, I just run some commands: I
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