EasyManuals Logo

ORANGE Pi 3B User Manual

ORANGE Pi 3B
366 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #256 background imageLoading...
Page #256 background image
range Pi User Manual Copyright reserved by Shenzhen Xunlong Software Co., Ltd
248
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
b. hello_world.c program to write C language
orangepi@orangepi:~$ vim hello_world.c
#include <stdio.h>
int main(void)
{
printf("Hello World!\n");
return 0;
}
c. Then compile and run hello_world.c
orangepi@orangepi:~$ gcc -o hello_world hello_world.c
orangepi@orangepi:~$ ./hello_world
Hello World!
2) Ubuntu Focal defaults to install Python3
a. The specific version of Python3 is as follows
orangepi@orangepi:~$ python3
Python 3.8.10 (default, Nov 14 2022, 12:59:47)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
b. hello_world.py program in Python language
orangepi@orangepi:~$ vim hello_world.py
print('Hello World!')
c. The result of running hello_world.py is as follows
orangepi@orangepi:~$ python3 hello_world.py
Hello World!
3) Ubuntu Focal's compilation tool and operating environment without the installation of

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ORANGE Pi 3B and is the answer not in the manual?

ORANGE Pi 3B Specifications

General IconGeneral
EthernetGigabit Ethernet
BluetoothBluetooth 5.0
USB2x USB 2.0, 1x USB 3.0
Power Supply5V/3A via USB-C
RAM4GB LPDDR4
StorageMicroSD card slot
WirelessWi-Fi 5 (802.11ac)
Video OutputHDMI 2.0
Operating SystemAndroid