Questions tagged [raspbian]

Raspbian is a free Debian-based OS for the Raspberry-Pi computer. Use this tag for questions that involve utilities or setup or application development under the Raspbian operating system. For questions concerning Raspberry Pi hardware use a raspberry-pi tag. Include a programming language tag if needed and if the post is about the GPIO then include that tag as well.

Raspbian is a free Debian-based operating systems for the Raspberry-Pi hardware.

Raspbian maintenance and development is an independent project from the Raspberry Pi hardware itself. The project is not affiliated with the manufacturers of the device.

Raspbian is one of several operating system alternatives for the Raspberry Pi.

The most common method for installing Raspbian is the NOOBS tool. NOOBS allows other operating system choices including Windows 10 IoT if WiFi or LAN access is available at the time of installation with NOOBS.

Project home page for Raspbian: http://www.raspbian.org/

NOOBS github project: https://github.com/raspberrypi/noobs

2977 questions
22
votes
3 answers

Install go (golang) on Raspbian

I checked diverse forums but I still did not make it working. I like to install go (golang) on my Raspberry PI - Raspbian: With sudo apt-get install golang I installed go and with export GOPATH=$home/pi/gocode i set the GOPATH so i tryed to…
heiko
  • 267
  • 1
  • 2
  • 5
22
votes
6 answers

Turn off leds of Raspberry Pi

I would like to turn off the leds of my Raspberry Pi. I tried modifying the file echo none >/sys/class/leds/led0/trigger but nothing changed. Is this possible?
Mauro Midolo
  • 1,841
  • 3
  • 14
  • 34
21
votes
8 answers

Fresh mysql-server installation does not ask for password

I am installing the package mysql-server on debian (actually Raspbian, the Debian version for raspberry pi). I'm installing it with the following command sudo apt-get install mysql-server During the installation I'm not asked to enter a root…
Robin Dupont
  • 339
  • 1
  • 2
  • 12
21
votes
9 answers

nginx: [emerg] unknown directive " " in /etc/nginx/sites-enabled/example.com:3

I have followed this website http://raspberrypihelp.net/tutorials/24-raspberry-pi-webserver to setup the HTTP server nginx on my Raspberry Pi and try to setup a site call example.com. But when I run sudo service nginx restart, it said Restarting…
Confucius
  • 419
  • 3
  • 7
  • 14
20
votes
1 answer

Python Gzip - Appending to file on the fly

Is it possible to append to a gzipped text file on the fly using Python ? Basically I am doing this:- import gzip content = "Lots of content here" f = gzip.open('file.txt.gz', 'a', 9) f.write(content) f.close() A line is appended (note "appended")…
general exception
  • 4,202
  • 9
  • 54
  • 82
19
votes
2 answers

Raspberry-pi docker error: standard_init_linux.go:178: exec user process caused "exec format error"

I've installed docker in rapsbian according to the official instructions (i.e., running curl -sSL https://get.docker.com | sh) but I'm not able to run the hello-world example (I've also tried other examples without success). This is the error I'm…
Pablo EM
  • 6,190
  • 3
  • 29
  • 37
19
votes
2 answers

java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters when using national characters

I'm trying to create some directories which have national symbols like "äöü" etc. Unfortunately I'm getting this exception whenever that is being attempted: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters:…
Arturas M
  • 4,120
  • 18
  • 50
  • 80
19
votes
6 answers

Raspberry Pi and GitLab

Is there a way I can run GitLab (http://gitlab.org/gitlab-ce) and GitLab CI (http://gitlab.org/gitlab-ci) on a Raspberry Pi device running Raspbian? I want to have my own internal Git box where I can store code and possibly allow other friends…
Jamesking56
  • 3,683
  • 5
  • 30
  • 61
19
votes
3 answers

SQLite3 "forgets" to use foreign keys

I'm using Ruby with SQLite3 and my attempts to use foreign keys in Sqlite3 were unfortunately not successful. According to sqlite3 --version, version 3.7.13 is installed. As far as I know, Sqlite3 supports foreign keys since version 3.6.x. I know…
cara
  • 1,012
  • 1
  • 9
  • 15
18
votes
1 answer

SDL2 on Raspberry Pi without X?

I'm hoping to develop some code that uses SDL2 to display graphics on the 7" RPi touchscreen, but I'd rather not install a full desktop OS. I've got Raspbian Buster Lite installed. Some simple test code gets an error when I try to run…
Rick
  • 3,298
  • 3
  • 29
  • 47
18
votes
1 answer

Utilizing bluetooth LE on Raspberry Pi using .Net Core

I'd like to build a GATT client in .NET Core. It will deploy to a RPi3 running Raspbian Lite controlling multiple BLE devices. Is there currently support for Bluetooth LE in the .Net Core Framework (2.2 or 3 preview)? I'm aware of an alternative…
Raymond Brink
  • 191
  • 1
  • 1
  • 8
18
votes
2 answers

Pocketsphinx install fail? Raspberry Pi Zero (Raspbian Jessie)

This will probably get tagged as a duplicate, but I haven't had any luck, so here we go. I'm trying to develop a "Jarvis" like setup with Python2.7. I', looking to use Pocketsphinx as part of that. I tried to do this on my Windows 10 machine, but…
Bugiroff
  • 215
  • 2
  • 7
18
votes
7 answers

nginx unexpected end of file, expecting ";" or "}" in /etc/nginx/sites-enabled/default:20 over Raspbian

I'm new at nginx and Raspberry. I installed nginx using sudo apt-get install And everything was fine at that point. The problem came when I tried to restart nginx, It threw this error Job for nginx.service failed. See 'systemctl status…
18
votes
2 answers

Why is there such a performance difference on Raspberry pi between Open and Oracle JDK?

On my Raspberry I did some Performance Tests like CaffeineMark and SciMark with both JVMs. There is a huge performance difference between them even though I have heard that the differences are very small. I also tried calculating with floating…
Laobiz
  • 339
  • 1
  • 5
  • 14
17
votes
2 answers

Raspberry Pi : use VLC to stream webcam : Logitech C920 [H264 Video without transcoding + Audio + LED control] - SpyCam / BabyCam

I have a RaspberryPi and a Logitech C920 Webcam. I want to use these devices to work as a surveillance / babycam, i.e. : Stream audio + video over HTTP (or any other protocol) without cpu intensive video transcoding The C920 webcam is able to…
LoneWanderer
  • 3,058
  • 1
  • 23
  • 41