28
votes
ImportError: No module named RPi
First of all, repeat following process
sudo apt-get install python-pip
pip freeze | grep RPi
see what you get after this second command, If you get a valid module for RPi.GPIO or not.
And then ...
13
votes
How to install GNU C++ Development Tools on Raspberry Pi (using apt-get)
To install development tools on raspbian :
sudo apt-get install build-essential
10
votes
Error installing Tensorflow (cannot find libhdfs.so)
Hey I recently figured this out. Here's a YouTube video I made giving the step-by-step: https://youtu.be/GNRg2P8Vqqs
Installing Tensorflow requires some extra steps on the Pi's ARM architecture.
...
9
votes
Accepted
Installing equivalent of unrar package (rar)
You can unpack RAR files with 7-zip.
Install that with sudo apt install p7zip p7zip-full
Use 7z e my_rar_file to extract the contents. NOTE: 7z can't create rar files.
7
votes
Accepted
Can I safely remove non-free software on a Raspberry Pi 2 running Raspbian?
You can remove all of that to satisfy vrms, if that's all it complains about. However, the real RMS would, I am certain, inform you that there is no way to make the pi truly free, since it requires ...
6
votes
ImportError: No module named RPi
If Python RPi module is missing, one can install pip with all dependencies and then install the module using pip or go with the better approach and install the module alone:
sudo apt-get install ...
6
votes
Accepted
How to add a package to official raspbian repositories?
It depends.
If the program has no dependencies on Pi specific libraries then getting it into Debian is the way to go. It should then be pulled in from there and built by our autobuilders.
If it does ...
6
votes
On Raspbian, there is no arp program. How do I obtain it?
Good news in case you are looking for the "arp scanning and fingerprinting tool": it's in the Raspbian repository and sudo apt-get update; sudo apt-get install arp-scan should help you.
If you don't ...
5
votes
Accepted
The following packages have been kept back: mopidy
I'm one of the Mopidy core developers and the one packaging Mopidy for Debian.
It looks like you're trying to install the Mopidy Debian package as built for Debian jessie (stable) on a wheezy system (...
5
votes
Automatically uninstall all non-essential packages
While I fully agree with @goldilocks that being obsessive about the number of installed packages is pointless, there's one useful trick I want to share.
All packages in the system basically fall in ...
5
votes
Accepted
Why does sudo apt-get build-dep not work for emacs24?
My system config is
Linux raspberrypi 4.4.13+ #894 Mon Jun 13 12:43:26 BST 2016 armv6l
GNU/Linux
Please follow the below steps and it should get things ready for you.
1. sudo vi /etc/apt/...
5
votes
Accepted
autoreconf: command not found
apt-cache search only searches for packages by name and description, not what they contain. For your intended use case you probably should use apt-file:
$ sudo apt install -y apt-file
...
$ sudo apt-...
5
votes
Beyond breadboards? Good ways to package simple GPIO-using project?
Is there a premade solderable HAT-like board
Yes, tons of these are on sale. A quick search using words like "prototype" and "DIY" revealed there's a board called "ModMyPi", and there are certainly ...
4
votes
ImportError: No module named RPi
For Windows
pip install python3-rpi.gpio
or
pip install RPi.GPIO
4
votes
Can I safely remove non-free software on a Raspberry Pi 2 running Raspbian?
Debian seems to think not: "The Raspberry Pi boots from its GPU and only non-free software is currently available for the GPU, even starting the machine requires a large (2MB) blob of non-free, ...
4
votes
Accepted
Where are packages installed in Raspbian
To find the paths of files installed by a specific package, you can use dpkg. It is installed by default as part of the base system.
dpkg -L postgresql-9.4
Will give you an exhaustive list.
4
votes
Accepted
Julia not available in Raspbian?
Not really, but you can install it fairly easy: https://juliaberry.github.io/ :)
This project gives you an precompiled binary to get started with.
wget https://julialang.s3.amazonaws.com/bin/linux/...
4
votes
Julia not available in Raspbian?
Julia is now available in the Raspbian repository and can be installed with apt:
sudo apt update
sudo apt install julia
You can verify the install with:
julia -v
Which should return something like:...
4
votes
installing package error "sudo apt-get install ppp"
Clearly it is showing you that this package is missing dependencies. You need to make sure you update your packages and preferably use a package manager that handles dependencies better. Try this
pi@...
4
votes
tmux doesn't want to be installed
This can actually happen over time with innocent runs of sudo apt update or installing various packages that conflict rather indirectly. When it tells you there's a dependency like libavutil-dev that "...
4
votes
Accepted
Is "gedit" a command or text editor?
gedit is a text editor. It is an optional program that can be loaded - typically with the Gnome Desktop - but may not be loaded with every install. It is not a built-in command in the shell, but is ...
4
votes
Accepted
Is there any way I can get the latest version of postgresql onto my pi?
In addition to the options presented by Ingo, there is also a PostgreSQL Docker image with ARM support:
https://github.com/docker-library/postgres
https://hub.docker.com/_/postgres/
This will ...
3
votes
how to create a restore point before an apt-get install to effectively remove the package
To completely remove a package use:
sudo apt-get purge <package name>
This will remove the configuration as well. Though you may still have additional dependencies that were installed. To ...
3
votes
Automatically uninstall all non-essential packages
In his answer, goldilocks wrote “‘non-essential’ is hugely
subjective”, and this is essentially correct. However, the package
maintainers have their own idea of how important a package is, and this
...
3
votes
Accepted
apt-get hangs at Reading database when installing anything
This is what I would do:
Exclude filesystem issues by running fsck and fixing errors if any
Run apt-get clean and apt-get autoremove followed by an update/upgrade
Backup&remove /var/cache/apt and ...
3
votes
Accepted
Retrieve default sshd_config file
The simplest way is usually to move the existing file to some other place and reinstall the package:
mv /etc/ssh/sshd_config /etc/ssh/sshd_config.my
apt-get remove openssh-server
apt-get install ...
3
votes
Is "gedit" a command or text editor?
So what exactly is gedit?
gedit is a command. it will open a file with the file name entered on the command line.
I think you have not installed gedit editor.
So,Try this:
sudo apt-get upgrade
...
3
votes
Is "gedit" a command or text editor?
gedit is a graphical text editor similiar to Windows' notepad.exe. All software in Windows and Linux can be started from the commandline irrespective whether they are commandline applications or not ...
3
votes
Accepted
How can I get a list of user installed packages
All actions performed by apt are logged in /var/log/apt/ but this too has excessive detail and many logs are compressed.
The following script produces a list of actions and the dates on which they ...
3
votes
Accepted
How to remove `raspi-copies-and-fills` from Raspbian
Put the sd card into a card reader in Ubuntu system
Now the tricky part is finding the device in Ubuntu, it could be /dev/sdb or something like that - one way to determine is to check the output of ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
packages × 141raspbian × 50
apt × 40
software-installation × 26
python × 11
raspbian-buster × 10
raspbian-stretch × 8
debian × 8
pi-2 × 7
pi-3 × 6
linux × 6
update × 6
python-3 × 5
networking × 4
pi-4 × 4
pi-3b+ × 4
raspbian-jessie × 4
pip × 4
wifi × 3
raspberry-pi-os × 3
dpkg × 3
repository × 3
raspberry-pi-os-bullseye × 3
boot × 2
ssh × 2