Getting your hands on a Raspberry Pi opens up a wonderful world of computing projects, from media centers and NAS devices to Android emulation, robotics, retro gaming, and software development.
To do this, you need to know how to install software on the Pi. It usually comes without a microSD card, which also means you need to know how to install the main software: the operating system.
None of these tasks are particularly difficult, but if the Raspberry Pi is your first taste of Linux, they may seem unfamiliar to you.
1. New operating system
Installing an operating system for the Raspberry Pi is especially unusual. However, since it’s the first thing you need to do if you want your Pi up and running, you’ll need to get to grips with it.
You will find complete information about installing Raspbian. here on . Various other Raspberry Pi operating systems Additional material is also available, although most of our projects assume you are using Raspbian by default.
2. Using APT on the command line
Perhaps the most common way to install software on a Raspberry Pi is using the command line.
The apt utility is built into Debian based operating systems (like Raspbian Jessie) and you can use the command apt-get, to find the package you are looking for, for example:
sudo apt-get install [packagename]
So, if I were to install PHP on a Raspberry Pi, I would use the command:
sudo apt-get install php5
After checking the package repositories, you will be prompted to confirm the installation. After a few minutes, the software will be installed.
In the default repositories you will find compatible and stable software. If you are looking for other software, you can add other repositories, but software installed from them may not provide reliable results.
3. Installing and uninstalling software for Raspberry Pi
Another way to install software on your Raspberry Pi is through a graphical package manager. Many Linux operating systems come with a package manager installed, as does Raspbian Jessie, and so does Raspbian.