Restarting with my Raspberry Pi

I have not used my Raspberry Pi 3 for a while but found a good microSD card to use for it today and will be restarting my use of it.

Expect tutorials, Linux distro recommendations, and tips and advice to be posted on here about the Raspberry Pi. At some point, I may buy a Pi 4, but I’ll have to see how I get on with my Pi 3 first and how easily it is to get back to using the Pi after not using it for months (If I buy a Pi 4, it’ll be the 4GB RAM version).

I’m planning on building a script that will allow for easy creation of Debian ports for the Pi in armel architecture (All Pi models, but slow due to not targeting the hard float Pi architecture), armhf architecture (Pi 2 and later excluding Pi Zero, 32-bit mode), and arm64 architecture (Pi 3 and later excluding Pi Zero W, 64-bit mode). Hopefully the experimental OpenGL driver (Pi 2+ only) will improve performance on more resource heavy desktop environments (KDE and GNOME 3), but I reckon GNOME 3 won’t be usable on any Pi except the Pi 4 and even on the Pi 4, only the 4GB RAM variant.

As for Chromium ARM, I may give it another go considering RPF Chromium is lagging three versions behind of the current stable release, however the support is definitely better than it used to be. I remember when Chromium was at version 60 or something and RPF Chromium was still on 51. However using Ubuntu packages in Raspbian or Debian can cause lots of dependency errors. You used to be able to get away with it because most of Ubuntu Chromium’s dependencies were already fulfilled in Raspbian back then, but it isn’t as simple now. Chances are if I restart Chromium ARM I’ll be using the Debian variant instead as Debian is more compatible with Raspbian than Ubuntu is. However, nothing’s confirmed yet.

I hope you’re all excited for the upcoming Raspberry Pi posts.

Enjoy!

-Chas 😎

FOR DEVELOPERS: HOW TO PACKAGE YOUR PROJECTS INTO A .DEB FILE

How do you think you…

…create a .deb archive for Linux Debian and Debian-based systems.

First, open up the Linux terminal. Type:

mkdir whatyouwantyourpackagetobecalled

mkdir whatyouwantyourpackagetobecalled/usr

mkdir whatyouwantyourpackagetobecalled/usr/local

mkdir whatyouwantyourpackagetobecalled/usr/local/bin

Then, find all the files and folders you want the package to contain. Copy them into whatyouwantyourpackagetobecalled/usr/local/bin.

Then, type mkdir whatyouwantyourpackagetobecalled/DEBIAN into the terminal window.

Then, type sudo apt-get install gedit, then gedit whatyouwantyourpackagetobecalled/DEBIAN/control.

Then copy and paste the following:

Package: PackageName
Version: 1.0
Section: base
Priority: optional
Architecture: all
Depends: arequiredpackage(>= 1.0)
Maintainer: You
Description: A .deb package example

Replace PackageName with your Package’s name, Version with what version of your package you are distributing, Architecture with the kind of ISA (Instruction Set Architecture) it requires. For example, for Hard float ARM (ARMHF) Change “all” to armhf. For 64-bit AMD (AMD64), change “all” to amd64. Or leave it as “all” so it can be installed on any architecture. If your package requires any other packages, replace arequiredpackage(>= 1.0) with the dependencies (you will need to put their versions as well. Then change You to whatever you want to be known as, then change A .deb package example with a description suiting your package.

Click Save then close Gedit. Then type into the terminal:

dpkg-deb –build whatyouwantyourpackagetobecalled

Test-run the installation with:

sudo dpkg -i whatyouwantyourpackagetobecalled.deb

Remember to replace whatyouwantyourpackagetobecalled with what you want your package to be called.

Have a nice day!

Epic Chas Gamer 😀