What's Your IT Question?

Want to know more about this topic or about us? Contact us!

apt.adafruit.com The Adafruit Raspberry Pi Package Repository

So you have your Raspberry Pi and you’ve played with it a bit and now you want to install some new software. Now usually you can just run apt-get and install ready-to-go packages. But, there are many instances where certain pieces of software are out of date or not available from the official Raspberry Pi Raspbian repositories. This can lead to a lot of really complex installation processes, with gcc, make, cmake, ./config, yak, bison and who knows what other wild beasts.

We wanted to make things easier.

The answer? apt.adafruit.com – our Raspbian package repository. Adding our repository to the list of repositories on your Raspberry Pi will allow you to easily install any of the packages we make available. Installing current versions of software like node.js and wiringpi is as easy as apt-get install node or apt-get install wiringpi. We are also constantly adding new custom packages for things like installing a PiTFT or turning your Raspberry Pi into a WiFi Access Point!

Adding the Repository

Adding the repository is as simple as running the following command from your Raspberry Pi.

Copy Code
  1. curl sLS https://apt.adafruit.com/add | sudo bash

If you would like to see what the script is doing, you can open it in a web browser before running it.

Warning: apt.adafruit.com contains a new kernel for the PiTFT, and currently the PiTFT kernel will install if you run an apt-get upgrade. This should not be a problem unless you have a custom kernel installed. We are working on resolving this issue, and you can monitor this GitHub issue for updates.

Manually Adding the Repository

If you would like to manually add the repository to your Raspberry Pi, you can start by adding the apt.adafruit.com repository URL to your /etc/apt/sources.list.

Copy Code
  1. echo “deb http://apt.adafruit.com/raspbian/ wheezy main” | sudo tee append /etc/apt/sources.list

Next, you can add the GPG key for apt.adafruit.com.

Copy Code
  1. wget O q https://apt.adafruit.com/apt.adafruit.com.gpg.key | sudo apt-key add –

Finally, you need to download the new package lists from the repos.

Copy Code
  1. sudo aptget update

Installing Packages

Now that you have added the repo, you can install new packages from your Raspberry Pi’s terminal using sudo apt-get install package-name. The names found in bold are the names of the hosted packages available on apt.adafruit.com.

Available Packages

Suggesting New Packages

If there is a new package or new version of a currently hosted package you would like to see available, please file an issue on GitHub and we will do our best to add the package.

Contributing Packages

If you have created Debian/Raspbian packages in the past, feel free to fork the GitHub repo and add your contribution to the packages directory. Submit a pull request with a detailed discription of your changes when you are ready, and we will take a look!

Enjoy!