30 votes
Accepted

Where are nslookup and dig gone?

Use sudo apt-get install dnsutils After installation, nslookup now works: me > nslookup 8.8.8.8 Server: 192.168.1.1 Address: 192.168.1.1#53 Non-authoritative answer: 8.8.8.8.in-...
user avatar
  • 645
27 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 ...
user avatar
  • 381
12 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
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. ...
user avatar
  • 101
8 votes

Automatically uninstall all non-essential packages

Is there a command that I can run to clean up (uninstall) all non essential packages No, since "non-essential" is hugely subjective. If you mean, the bare minimum to have a running system, then ...
user avatar
  • 55.8k
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 ...
user avatar
  • 55.8k
7 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.
user avatar
  • 4,851
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 ...
user avatar
  • 5,423
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 ...
user avatar
  • 161
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 ...
user avatar
  • 1,208
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 ...
user avatar
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 (...
user avatar
  • 66
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/...
user avatar
  • 838
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-...
user avatar
  • 2,804
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 ...
user avatar
4 votes
Accepted

samba net command on Debian Wheezy

This answer is correct as written previously: Install samba-common-bin with apt-get install samba-common-bin In the case of Raspbian, peterretief was incorrect. I have just verified it. I had ...
user avatar
4 votes

Install (or build) experimental Debian package for rpi (NetworkManager 1.0)

echo "deb http://ftp.debian.org/debian experimental main" >> /etc/apt/sources.list >_< That will never, ever accomplish anything, except possibly on a Pi 2, and even then it may be sketchy ...
user avatar
  • 55.8k
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, ...
user avatar
  • 3,938
4 votes

Which is the highest version of libc6 available for Raspbian?

You can use unstable packages. Just add this line to /etc/apt/sources.list: deb http://ftp.us.debian.org/debian sid main To upgrade your packages, run apt-get update && apt-get upgrade ...
user avatar
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.
user avatar
  • 55.8k
4 votes

ImportError: No module named RPi

For Windows pip install python3-rpi.gpio or pip install RPi.GPIO
user avatar
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/...
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:...
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@...
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 "...
user avatar
  • 2,804
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 ...
user avatar
  • 3,938
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 ...
user avatar
  • 841
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 ...
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 ...
user avatar
3 votes
Accepted

Raspbian: Download sources of older packages

http://sourcearchive.raspbian.org/ seems to have source packages for every version of every package of Raspbian. If your system is up to certain single date, i. e. it has not been updated partially, ...
user avatar

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