Skip to content

Tag: linux

Why count differs between ls and ls -l linux command?

I had a directory with number of files and need to check the count of files present in it. I tried the following two commands: and found there are differences while using both commands. (ie. number of files is greater in the usage of second command while comparing to the first command.) I would like to know t…

how to install software on linux without root permissions

I need some help to install the ABySS assembler on PuTTY (virtual Linux) without root permission (as it takes a long time going via IT department etc.). To be honest I’ve no idea where to start from, so I’ll be very appreciated for step-by-step guide if that is not too much to ask. Thanks in advan…

Concept of Virtual Environments

Hope this question belongs here. As a linux noob, I am sure my question sounds confusing and heavily non-technical, but please help me understand this. Anaconda Python Distribution comes with the concept of creating environments where I can maintain a variety of python versions and specific packages based on …

Closing then opening standard input in C under Linux

I have a C console application under Linux (Raspbian – Raspberry Pi). The program has some character animation – it prints out messages character by character. For example, the text Please give me your name! is printed out completely after 5 seconds (char by char). Afterwards, the user is asked to…

How to run Linux on a QEMU ARM Versatile machine?

I’m trying to run linux on qemu, especially the versatile version. I downloaded qemu and linux from github. (qemu : https://github.com/qemu/qemu.git, linux : https://github.com/torvalds/linux.git) I think these two repositorys are the main project of them. Anyway, I compiled linux with 2 steps. make ARC…

Optimal way to install clang locally when GCC is outdated

I need to use tools that depend on clang on a Unix machine I remote onto at work. Anything I install is locally installed onto ~/local. I do not have root permissions. /usr is pretty outdated, with gcc being at version 4.4.7. clang requires gcc 4.7+ I read on linux from scratch that a gcc 6.1 installation req…

Installing libxcb – No package ‘xcb-proto’ found

I’m attempting to install Xorg on linux (CentOS 6.6) by following “Beyond Linux From Scratch”(http://www.linuxfromscratch.org/blfs/view/cvs/x/xorg7.html), and had an issue while installing libxcb-1.12 with: where: And I got the error: I’ve already installed below by following the instr…