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.

5 ways to install software on Raspberry Pi muo rpi noobs sdformat noobsui

If you do not have a pre-installed microSD card with NOOBS, ready to plug into your Pi, installing the operating system requires a computer running Windows, Mac, or Linux. Without a third party microSD card, you can download the appropriate operating system and load it onto the card.

Once this is done, the card should be inserted into the Raspberry Pi and the device will boot up. Installation will begin when the operating system has been unpacked and organized into the necessary directories. After that, the selected OS will boot. Several operating systems are available for the Raspberry Pi, including Debian-based Raspbian Jessie and different versions of Kodi

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.

5 Ways to Install Software on Raspberry Pi

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.

5 Ways to Install Software on Raspberry Pi

You will find » Installing and uninstalling software» through » Menu»>»Settings» . Modified version of GNOME packages from other distributions, if for some reason your version of Raspbian doesn’t have it, open a terminal and type:

 sudo apt-get install pi-package 

Add/Remove Software is a simple, intuitive tool that allows you to browse applications and utilities using the category buttons on the left panel. Once you have found the software you want to install, simply check the box, then click » Apply» and » OK» to download and install. You can install multiple packages if you wish.

Removing software is a case of clearing receipts and clicking the » Apply» and » OK». You’ll find games, alternative desktops, fonts, browsers, multimedia tools, and more using Add/Remove Programs. This is a welcome addition to Raspbian that replaces the derelict Pi Store.

4. Install software with Python

If you can’t find what you’re looking for in the Raspbian archives, check the packages in the Python Package Index (PyPI). This is installed by default in Raspbian Jessie, where you can use the pip tool on the command line.

You can update your Raspberry Pi to the latest operating system to use pip, or install manually:

 sudo apt-get install python3-pip 

… For Python 3 or

 sudo apt-get install python-pip 

… For Python 2.

Usage differs between the two: pip3 for later Python 3, or just pip for Python 2.

 pip3 install [packagename] 

or

 pip install [packagename] 

If you need to remove them (you probably won’t), use

 pip3 uninstall 

or

 pip uninstall 

Because the Python community makes so much code, it’s a good idea to install pip.

5. Rub some Ruby Software Gems

Similarly, you can run software written in the ruby ​​programming language. Accordingly, these scripts are called «gems» and can be installed on the Raspberry Pi after installations software rubygems .

 sudo apt-get install rubygems 

Finally, the gem can be installed with:

 sudo gem install [packagename] 

You can find a list of gems at www.rubygems.org/gems. Many scripts are available, including the static website builder Jekyll.

Upgrade your Raspberry Pi with software

Installing the software on your Raspberry Pi turns a little box of tricks into a portable compact computer that can be used for a range of fun projects.

5 ways to install software on Raspberry Pi muo diy rpi3 pcb

We’re not just talking about broadcasting your own radio station. Broadcast your own radio station or photographing the night sky. or. Raspberry Pi can be used for retro video games , while later versions are suitable for use as a modest desktop PC. desktop PC. .

Although there is a learning curve to overcome when using the command line, it is good practice for anyone interested in coding. After all, this is the very purpose for which the Raspberry Pi was created!

What is your preferred method of installing software on your Raspberry Pi? Write to us in the comments!

Похожие записи