LMSouq

Knowledge Base

Browse Moodle Solutions

2108 solutions found

Page 59 of 106
0 votes
1 ans
3 views
How to make Emacs terminal colors the same as Emacs GUI colors?

I program with Emacs on Ubuntu (Hardy Heron at the moment), and I like the default text coloration in the Emacs GUI. However, the default text coloration when E...

general-dev Solved
ZA
asked 1 month ago by Zak
0 votes
1 ans
3 views
Running graphical Linux desktop applications from WSL 2 – "Error E233: cannot open display"

How can I run graphical Linux desktop applications from the command line of Windows Subsystem for Linux (WSL)? First, I installed WSL 2 following [these step...

server-admin Solved
AS
asked 1 month ago by ASE
0 votes
1 ans
3 views
How to install JDK 10 under Ubuntu?

How do I install Java Development Kit (JDK) 10 on Ubuntu? The [installation instructions][1] on Oracle's help center only explain how to download and ext...

server-admin Solved
SA
asked 1 month ago by Sam
0 votes
1 ans
3 views
How to Compile 32-bit Apps on 64-bit Ubuntu?

I'm trying to compile a 32-bit C application on Ubuntu Server 12.04 LTS 64-bit using gcc 4.8. I'm getting linker error messages about incompatible libra...

server-admin Solved
BS
asked 1 month ago by BSalita
0 votes
1 ans
3 views
"Couldn't find a file descriptor referring to the console" on Ubuntu bash on Windows

I have a problem with Bash on Ubuntu on Windows. If I type "open (filename)" on Mac terminal, it opens the file with the right program but if I try to...

server-admin Solved
PE
asked 1 month ago by Pets
0 votes
1 ans
3 views
How can I run a Windows executable from WSL (Ubuntu) Bash

Along with *Windows 10 Anniversary update* for summer 2016, came the possibility to run *ubuntu* binaries inside the new [Windows Subsystem for Linux (WSL)](htt...

server-admin Solved
AN
asked 1 month ago by ankostis
0 votes
1 ans
3 views
How to check if a group exists and add if it doesn't in Linux Shell Script

this is a summary of what i want my code to do: if (group exists) then (add user to group) else (create group) (ad...

server-admin Solved
AN
asked 1 month ago by annieapple2000
0 votes
1 ans
3 views
libz.so.1: cannot open shared object file

I am facing an issue on Ubuntu 12.04: > /usr/lib/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-andr...

general-dev Solved
US
asked 1 month ago by user3218948
0 votes
1 ans
3 views
Cannot create directory. Permission denied inside docker container

Can not create folder during image building with non root user added to sudoers group. Here is my Dockerfile: FROM ubuntu:16.04 RUN apt-get up...

server-admin Solved
VA
asked 1 month ago by Vadim Kovrizhkin
0 votes
1 ans
3 views
Docker: Temporary failure resolving 'deb.debian.org'

I have a Rails application that I want to deploy using Docker on an Ubuntu server. I have the Dockerfile for the application already set up, right now I want to...

server-admin Solved
PR
asked 1 month ago by Promise Preston
0 votes
1 ans
3 views
How to install ia32-libs in Ubuntu 14.04 LTS (Trusty Tahr)

I installed Ubuntu 14.04 (Trusty Tahr) yesterday. Everything seems OK. But when I tried to compile some C code, I encounter the following error. The error seems...

server-admin Solved
AN
asked 1 month ago by andycoder
0 votes
1 ans
3 views
How to upgrade R in ubuntu?

I have R 2.12.1 installed in my ubuntu, and I'd like upgrade to lastest version 2.15, how can achieve that ? Thanks

server-admin Solved
ZJ
asked 1 month ago by zjffdu
0 votes
1 ans
3 views
Ubuntu, Vim, and the solarized color palette

I'd really like to get in on all the colorful goodness of the [solarized colorscheme][1], but I can't seem to get it configured just right. I have th...

server-admin Solved
DA
asked 1 month ago by danwoods
0 votes
1 ans
3 views
ip command is missing from ubuntu docker image

when i'm trying to perform ip command in ubuntu docker container, i'm getting: > bash: ip: command not found. ubuntu version: DISTRIB_ID...

server-admin Solved
GI
asked 1 month ago by Gil Kahan
0 votes
1 ans
3 views
Increment variable value by 1 (shell programming)

I can't seem to be able to increase the variable value by 1. I have looked at [tutorialspoint's *Unix / Linux Shell Programming* tutorial](http://www.tu...

general-dev Solved
CO
asked 1 month ago by Computernerd
0 votes
1 ans
3 views
PTHREAD_MUTEX_INITIALIZER vs pthread_mutex_init ( &mutex, param)

Is there any difference between pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; **Or** pthread_mutex_t lock; pthread_mutex_init ( &...

general-dev Solved
KA
asked 1 month ago by Kalec
0 votes
1 ans
3 views
No plot window in matplotlib

I just installed matplotlib in Ubuntu 9.10 using the synaptic package system. However, when I try the following simple example >>> from pylab...

general-dev Solved
D
asked 1 month ago by D R
0 votes
1 ans
3 views
No module named 'openpyxl' - Python 3.4 - Ubuntu

I installed `openpyxl` with $ pip install openpyxl when I try the command from openpyxl import Workbook I get Traceback (most recent...

server-admin Solved
FR
asked 1 month ago by Fra_Ve
0 votes
1 ans
3 views
Install jq JSON processor on Ubuntu 10.04

Is there a way to install jq JSON processor on Ubuntu 10.04? I Tried the usual `sudo apt-get install jq` but got the error `E: Couldn't find package jq`

server-admin Solved
ST
asked 1 month ago by Ste-3PO
0 votes
1 ans
3 views
Is it possible to answer dialog questions when installing under docker?

Is it possible to somehow answer the questions that are presented as dialogs when installing some packages using apt-get? For instance I'm trying to setu...

server-admin Solved
AZ
asked 1 month ago by azdle