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 ...
BetaDev's user avatar
  • 391
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
Henry Todd's user avatar
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. ...
Sam's user avatar
  • 101
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.
Dougie's user avatar
  • 5,251
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 ...
goldilocks's user avatar
  • 58.3k
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 ...
dmnc's user avatar
  • 161
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 ...
Peter Green's user avatar
  • 6,032
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 ...
Fabian's user avatar
  • 1,260
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 (...
jodal's user avatar
  • 66
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 ...
Dmitry Grigoryev's user avatar
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/...
Varad A G's user avatar
  • 848
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-...
jdonald's user avatar
  • 2,884
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 ...
Dmitry Grigoryev's user avatar
4 votes

ImportError: No module named RPi

For Windows pip install python3-rpi.gpio or pip install RPi.GPIO
Dhiren Biren's user avatar
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, ...
bobstro's user avatar
  • 3,978
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.
goldilocks's user avatar
  • 58.3k
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/...
nmaas87's user avatar
  • 126
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:...
Steve Robillard's user avatar
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@...
user3573987's user avatar
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 "...
jdonald's user avatar
  • 2,884
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 ...
bobstro's user avatar
  • 3,978
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 ...
tttapa's user avatar
  • 971
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 ...
Steve Robillard's user avatar
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 ...
Edgar Bonet's user avatar
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 ...
Dmitry Grigoryev's user avatar
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 ...
Jakuje's user avatar
  • 516
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 ...
rsp's user avatar
  • 622
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 ...
flakeshake's user avatar
  • 6,195
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 ...
Milliways's user avatar
  • 58.2k
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 ...
Jaromanda X's user avatar
  • 2,344

Only top scored, non community-wiki answers of a minimum length are eligible