Installation of GNU radio on Raspbian - raspbian

I'm a beginner at this raspberry pi stuff . I cant seem to figure out how to install GNU radio application on the raspbian. The pi was working fine up until i tried to install the GNU using the command
$ sudo apt-get install gnuradio gnuradio-dev after which the pi doesnt start up. The screen starts and then keeps on rebooting. Any help would be appreciated

Related

Libcamera command not found after installing it

Having a terrible time with the raspi related problems. One of them concerning the libcamera. I have Ubuntu 22.04 64bit on my raspi and I have installed the libcamera package with the command sudo apt install libcamera_*. The problem is that whenever I run a command with libcamera it tells me command not found!!! Any solutions?!! The camera is detected and supported. Thanks in advance for your help.

Setting Chrome/Chromium audio sample rate when there is no sound device

Using Ubuntu under Docker, I am running Chrome to render some web pages as video with their audio.
This is working fine, but the audio sample rate is fixed to 44.1 kHz. This is a VM with no audio device. There is no Pulseaudio daemon that I can see, or anything like that. How can I set the audio sample rate of the browser?
Note, --alsa-fixed-output-sample-rate 48000 has no effect.
First try re-installing alsa and pulseaudio:
sudo apt-get remove --purge alsa-base pulseaudio indicator-sound
sudo apt-get install alsa-base pulseaudio indicator-sound
sudo alsa force-reload
I know you said you can't find a pulseaudio daemon - I expect you may need it present, and will need to install it. This first step should do that for you.
If that doesn't work, try killing pulseaudio:
killall pulseaudio; rm -r ~/.config/pulse/* ; rm -r ~/.pulse*
Hopefully that works for you!
I had the same problem. It ended up being that my system was trying to put Chrome's sound through the HDMI even though the HDMI cord was not plugged in at the time. Presumably, this could happen with any audio output device. The sound settings Ubuntu offers didn't show this nor let me change it for the individual application, but pavucontrol did.
To install pavucontrol from the Terminal:
sudo apt-get install pavucontrol
To open pavucontrol from the Terminal:
Select the "Playback" menu and make sure that you have it set to Show Applications. Now, start playing something from Google Chrome. It will show up there, and it will show what output device is being used for Google Chrome. Make sure it is set to the output device you are trying to use.

Minecraft pi not launching

(solved, make sure your graphics driver is correct, dont remember which, its from between fake and legacy. Otherwise, reinstall your os, it should fix then)
Also, thanks to: Anston Sorensen, for trying to help
Question:
When I launch Minecraft pi it shows a black window for a second and closes.
in command line it gives me the error:
failed to add service - already in use?
after command:
sudo minecraft-pi
Try this:
sudo apt-get purge minecraft-pi
sudo apt-get update
sudo apt-get install minecraft-pi
If all else fails why not just play the full version of Minecraft? (Minecraft Java Edition). https://forums.raspberrypi.com/viewtopic.php?t=279135

How to automount usb after kiosk mode enable in raspberry Pi 4 with buster os?

Problem with Kiosk mode and USB access.
I have installed buster on raspberry Pi 4. And for open chromiam browser at startup, I enabled kiosk mode.
Now I have a problem that, it does not mount USB device (flash drives) at /media/pi
Any help and suggestions would be very helpful!
Raspbian Buster lite (without GUI) doesn't mount USB devices automatically out of the box.
There is a software called "usbmount" which adds this functionality.
You can install it using
sudo apt-get install usbmount
Then reboot the Pi
sudo reboot now
http://www.howtoeverything.net/linux/raspberry-pi/automount-external-hard-disks-raspberry-pi
I'm using Buster Lite and ran into a problem with installing usbmount. The error I got was "unable to locate package usbmount". I found the solution, and I am append my solution to this thread since this thread shows up on some search-engines pretty high up.
The solution I used was to clone the github repo from https://github.com/rbrito/usbmount/ and build it (instructions below is partially from the readme)
git clone https://github.com/rbrito/usbmount.git
cd usbmount
sudo apt-get update && sudo apt-get install -y debhelper build-essential exfat-fuse exfat-utils
sudo dpkg-buildpackage -us -uc -b
cd ..
sudo dpkg -i usbmount_0.0.24_all.deb
Additionally, use
sudo nano /etc/usbmount/usbmount.conf
to add exfat to the list of file-systems
save and reboot

problems with Arch linux installation commands

It's my first time trying to install and using Arch linux, I was trying to install it in VirtualBox in Mac Os mojave, when i did arch-chroot /mnt(after all the configuration), then tried to nano /etc/locale.conf it just printed command not found.
I've already tried with vim or other commands like sudo or apt to install a plain text editor but it's always the same and I also tried twice but nothing changes.
PLEEAAASE, I need help.
In Archlinux you should use pacman -S to install packages
try this :
"pacman -S nano"
you can see more information here:
https://wiki.archlinux.org/index.php/pacman#Installing_packages
You can install it with the Linux kernel etc.
For installing the kernel you use
pacstrap
so just add nano, vim or whatever text-editor you like to use.
For more information: https://wiki.archlinux.org/index.php/Installation_guide