For Linux distributions, you can use either Raspbian or Ubuntu Mate.
Please follow Raspberry Pi Software Guide on Raspberry Pi official web site to install Raspbian or Ubuntu Mate on your Raspberry Pi. Note however, at this time, Ubuntu Mate (version 16.04.2) does not boot on Raspberry Pi 3B+.
Most samples on this web site are developed on Raspbian. Major differences in Ubuntu Mate will be mentioned where applicable.
Update Software Packages
After booting up your Raspberry Pi, you will need to update the software packages to the latest version.
For those who are new to Linux, the Terminal is where you enter Linux commands. You can launch Terminal by clicking on the icon on the task bar on top of the screen. (For Ubuntu Mate, open menu Applications | System Tools | MATE Terminal.)
This is the Terminal screen where you can enter commands:
Launch Terminal session and run the following commands to update software packages to the latest version:
sudo apt update sudo apt dist-upgrade
The second command may take a while to finish, sometimes more than 30 minutes. It depends on how many packages need to be updated.
Since we are at updating software, might as well update rasp-config. rasp-config is a program that helps configure Raspberry Pi. With Raspbian, some of the options can be configured from menu option Preferences | Raspberry Pi Configuration.
At Terminal, enter command
With the keyboard, move cursor to highlight Update. Then hit Enter key to update.
Later, raspi-config will be used to configure software and hardware components.
Expand File System
One of the functions provided by raspi-config, is to expand the file system on Micro SD card. You can find the function under Advanced Options. If you use Micro SD card with large capacity, you may consider expand the file system now.
Now is a good time to enable VNC, if you need it. VNC allows you to control your Raspberry Pi from a remote client in full screen mode, e.g. Windows. It is possible to connect to more than one Raspberry Pi at the same time from one remote computer. Source codes and objects can be copy-paste between client (e.g. Windows) and server (Raspberry Pi).
Raspbian has included VNC in the installation. To use it, all you need to do is to enable it. From Desktop open menu Preferences | Raspberry Pi Configuration:
On Raspberry Pi Configuration screen, click Interfaces tab. Then select Enable for VNC:
And, that’s it. You are ready to control your Raspberry Pi remotely. When you attempt to connect, you will need user name/password, which by default is pi/raspberry. You will also need the IP Address of the Raspberry Pi. You can obtain the information by simply hovering your mouse cursor over the up-down arraws icon on the task bar:
Here you can see the IP Address is “192.168.0.39”.
Alternatively, you can get the IP Address by clicking the VNC icon. The screen shows more details on the VNC connection: (The VNC icon is visible after VNC has been enabled.)
If security is a concern, you will need to tighten the security by changing the configuration options.
On the client side, I use VNC Viewer which can be found at realvnc.com.
If Raspberry Pi is connected through VNC without a monitor. You may need to adjust the screen resolution.
To adjust screen resolution, open Terminal. Enter command
sudo raspi-config. Select option Advanced Options | Resolution. Select the resolution to use. Hit Ok. You will need to reboot the system.
Where Are We?
Now we have a Raspberry Pi with either Raspbian or Ubuntu Mate installed. The system is up-to-date, and ready to install mono and other software. Right, we have not even started on mono yet. But, if you are at his point, it’s a good start.
Continue reading, mono will be coming next.