sudo apt-get install dnsutils
After installation, nslookup now works:
me > nslookup 188.8.131.52
184.108.40.206.in-addr.arpa name = google-public-dns-a.google.com.
Authoritative answers can be found from:
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 following if not installed.
For Python 2
sudo apt-get install python-dev python-rpi.gpio
pip install RPi.GPIO
sudo apt-get install python3-dev ...
That may depend on your distro, but if you are using raspbian, the stock gcc includes g++, here's the version info:
me@RPi» gcc -v
Using built-in specs.
So apt-get install gcc should work if it isn't already there.
Most distros will build gcc with C++ support, so this should be true for them too. The ...
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 that wouldn't include things that make it a "server". If you mean, just the bare minimum plus whatever you need to make it a server, this begs the question, "What ...
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 some proprietary firmware in order to boot. I mention this because it is always possible that in the future the virtual will become more real, in which case you ...
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.
This is how I installed tf on my Pi 4:
Make your project directory:
Make a virtual environment:
python3 -m pip install ...
You'll want to use armhf.
However, please note that by default, most Wi-Fi adapters work in Raspbian by default! Just plug it in to a powered USB hub (they usually need more power than the Pi gives out), type startx into a terminal to open the desktop, then open the "WiFi Config" app on the desktop.
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 depend on Pi specific libraries then you will need to prepare suitable packages and file a bug report with us and I will try to take a look. If adding pi-...
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 (oldstable).
Please visit https://docs.mopidy.com/en/latest/installation/debian/ and follow the instructions for wheezy. You'll then get packages built on and ...
My system config is
Linux raspberrypi 4.4.13+ #894 Mon Jun 13 12:43:26 BST 2016 armv6l
Please follow the below steps and it should get things ready for you.
1. sudo vi /etc/apt/sources.list
2. Un comment the line
deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
Now the file will look like
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 python-rpi.gpio
for Python3 this one:
sudo apt-get install python3-rpi.gpio
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 know the correct or complete name of a package you can search for it:
To query the APT cache for "arp" you can use apt-cache search arp | more. This works even ...
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-file update
$ apt-file search autoreconf
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 others:
Unfortunately, when packages with config files are upgraded, the files can change.
To deal with these files pacman appends them with the suffix .pacnew.
Merging of .pacnew files can be a tricky process. You can find more information about them on the Arch Wiki.
You can find your pacnew files with the following command:
find /etc -regextype posix-extended -...
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 installed samba-common and was unable to use net. after installing samba-common-bin, it works. peterretief also said that there were other ways to accomplish the ...
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 two categories: auto and manual. manual packages are the ones that have been installed to provide a particular functionality, while auto packages were installed ...
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, unsupportable software"
You can definitely dump java and wolfram. I get rid of those right away. As to the drivers, it might be easiest just to duplicate your card ...
Not really, but you can install it fairly easy: https://juliaberry.github.io/ :)
This project gives you an precompiled binary to get started with.
tar -xzf julia-0.5-latest-linux-arm.tar.gz -C julia --strip-components 1 --exclude libstdc++.so.6
does copy ...
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:
Which should return something like:
julia version 0.5.1
Note: Like many packages installed via apt is an older version.
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@raspberrypi:~$ sudo su -
root@raspberrypi:~# apt-get update && apt-get install aptitude
root@raspberrypi:~# aptitude upgrade && dpkg --configure ...
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 "is not going to be installed", try to install it alongside, i.e.:
sudo apt install libavutil-dev tmux
If it then gives a message about a third dependency ...
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 called and executed when you invoke it. Of course, it has to be installed first, and according to your error message, it doesn't appear to be.
What you need to ...