Issues in installing bluez-utils and running the command bluetoothctl - bluetooth

I am struggling to pair a device with my raspberry pi via bluetooth. I am referring to this tutorial. As per that, there are 2 packages needed for this.
Bluez and Bluez-utils. I have installed both of them. When I run the command bluetoothctl it says command not found.
This is what the guide says.
Install the bluez and bluez-utils packages. The bluez package provides the Bluetooth protocol stack, and the bluez-utils package provides the bluetoothctl utility.
Anyone faced this issue before?

Related

Bluetooth connection from Raspberry Pi to Parani SD100- No usable services

I'm attempting to connect my raspberry Pi to a Parani SD1000 RS232 serial adapter. I have configured the Parani and I can successfully connect to it and retrieve data when using my Macbook. I would like to set up the connection using my raspberry pi. I have a raspberry Pi 3 model b+ 32 bit. I wrote a script that uses Pyserial and created a bind to the bluetooth device via sudo rfcomm bind /dev/rfcomm0 XX:XX:XX:XX:XX:XX 1. However, when I use the Raspberry PI OS interface to connect to the bluetooth I get a message that 'Paired successfully, but this device has no services with can be used with the Raspberry Pi and the connection is aborted.
I've looked for other suggestions and tried updating my software as listed elsewhere. To no avail.
sudo apt-get update
sudo apt-get dist-upgrade
sudo rm /etc/udev/rules.d/99-com.rules
sudo apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall raspberrypi-sys-mods
sudo systemctl reboot
I'm not sure which direction I should be looking. I know the Parani is configured correctly so it must be something on the raspberry. Thank you in advance
rfcomm was deprecated back in 2017 by the BlueZ project so I would recommend against using that methodology.
Python3 on Linux supports connecting to a Bluetooth Classic device with a Serial Port Profile (SPP) with its socket library.
There is more information in the following blog: https://blog.kevindoran.co/bluetooth-programming-with-python-3/
There is also support for SPP within the Bluedot Python library: https://www.stuffaboutcode.com/2017/07/python-bluetooth-rfcomm-client-server.html

How to integrate basic packages into Android Source

I am using Android 7. I compiled the source for Raspberry PI platform.
I don't have the necessary packages in my user-space. Packages like,
sudo
apt-get
apk
vi and etc.,
How to get those packages as a default.
Can anyone help me to resolve this issue ?

PyQt for Beaglebone

I am trying to develop a GUI application on a Beaglebone Black (BBB) using PyQt, but I don't know if it is necessary to install this application on the BBB or if I can do it using a remote application such as VMware (Ubuntu). I investigated and found out that PyQt is already installed on the latest Debian image for the BBB, so I tried to install this application by using the command line sudo apt-get install PyQt4, but I receive a message saying "this file was not found".
Is installing this program on the BBB the best option, or is it better doing it remotely with VMware? Thanks in advance.
Install putty on your local machine, then you can SSH to the BBB using address 192.168.7.2 if you are powering it via USB from your system. And then start anything you want to do on BBB
Try the following command to install:
sudo apt-get install python3-pyqt4
Use apt-cache search PyQt4 to list all available packages related to PyQt and select the exact package(s) you want to install. You must install the basic package on the BBB board if you want your application to run on the BBB board directly. If your application is a web client (communicates with the BBB board by socket), you can install the application anywhere you want.

PVFS2 on Raspberry Pi B+

is it possible to install PVFS2/OrangeFS on a Raspberry Pi cluster?
I already installed it on Linux but i really dont know how to install it on a Raspberry. Anyone got an idea or is it simple as installing it on the build system?

Install Lazarus on Raspberry Pi

I want to develop with Lazarus on Raspberry Pi, but until now I can't.
Here I've read this:
In the Raspbian OS it is easy to install Lazarus and Free Pascal. In order to do this simply open a terminal window and type:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install fpc
sudo apt-get install lazarus
I've tryed to install FPC for Linux ARM, but the installer didn't work.
Moreover I dont't know where to get Lazarus for Linux ARM.
It seems that Lazarus and FPC for Linux are target to x86/x64 and not fot ARM.
Can someone help me where can I download one single bundled of binaries (Lazarus + FPC) that install out of the box (without the need of source compilation) in the same way as the Windows version?
Another question: is that possible to cross-compile from Windows to Raspbian?
I've done cross-compilations many times but between other OSs.
Thank you
If you use the shell commands from above (those that begin with "sudo apt-get") you don't have to install anything in addition. Lazarus and FPC should be readily installed and available from the "Programming" section of the LXDE start menu.

Resources