Because some dependencies of opencv could not be packaged when running on raspbian before, so some codes could not run, I thought of trying it with Ubuntu. The installation process follows this video: [Linux] Install the full version of Ubuntu 19.10 on Raspberry Pi 4 [Chinese and English subtitles] Download system image The download on the official website is very slow, but it seems that Ubuntu 19.10 is downloaded faster here. I downloaded the arm64 version here. Installing the system After downloading, burn the system image into the SD card. However, this system has a bug and the USB device does not respond. You need to add total_mem=3072 in config.txt to limit the memory to 3G, so the full performance of 4G is not brought into play (you need to download notepad++ to modify it, directly modifying it with a text manager may damage other places). exist [pi4] kernel=uboot_rpi_4.bin max_framebuffers=3 Add the following line total_mem=3072 limits the memory to 3G. After the system is installed, you can delete this line after restarting. [pi4] kernel=uboot_rpi_4.bin max_framebuffers=2 total_mem=3072 If you want to overclock the Raspberry Pi to 2GHz, add the following three lines of code to config.txt: over_voltage=4 arm_freq=2000 gpu_freq=650` Start the system, enter ubuntu for both the account name and password. Note that the password is not displayed. Press Enter directly after entering it. You will be asked to reset the password later. At this time, you need to connect to the network cable, install the desktop environment, and enter (select one) sudo apt-get install ubuntu-desktop sudo apt-get install xubuntu-desktop sudo apt-get install lubuntu-desktop sudo apt-get install kubuntu-desktop Among them, lubuntu is the lightest but simplest. Note that the download size here is very large, and if you don't change the source, the network speed is very slow (about 10kb), but changing the source is too complicated, so I choose to get up early to download (I was surprised to find that the network speed was very good in the morning, more than 100kb) I installed ubuntu-desktop, but after starting the system and adding it to the desktop, the USB device still couldn't be used. I couldn't find the reason, so I reinstalled lubuntu and it worked normally. At this point, the installation is successful. Summarize The above is a detailed tutorial on how to install Ubuntu 19.10 on Raspberry Pi 4. I hope it will be helpful to you! You may also be interested in:
|
<<: JavaScript to implement the web version of the snake game
>>: Detailed tutorial on replacing mysql8.0.17 in windows10
The front-end and back-end projects are separated...
Does performance really matter? Performance is im...
When the data changes, the DOM view is not update...
Background: I wonder if you have noticed that if ...
FileReader is an important API for front-end file...
The following is some basic sql knowledge I have ...
Using abbreviations can help reduce the size of yo...
1. Type introduction 1.1 Domain-based virtual hos...
Table of contents 1. Commonly used string functio...
CSS to achieve the image hovering mouse folding e...
React Lifecycle Two pictures to help you understa...
There are currently three ways to display the cen...
After reading some articles, I finally figured ou...
This article example shares the specific code of ...
The purpose of using HTML to mark up content is t...