飞凌嵌入式
直播中

华仔stm32

3年用户 2956经验值
擅长:嵌入式技术
私信 关注
[技术]

【飞凌RK3588开发板试用】安装浏览器并测试B站播放1080P CPU占用情况

目的

这个固件默认是没有安装浏览器的,如果要想实现生产力,那得上浏览器才得呀,经过几翻折腾,终于安装上了firefox浏览器,并成功上网了。

安装的曲折经历

1、我最先查到的资料是
forlinx@ok3588:~$ sudo apt install firefox-esr
结果报错,

forlinx@ok3588:~$ sudo apt install firefox-esr
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package firefox-esr is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'firefox-esr' has no installation candidate

后面改为去官方下载包:

forlinx@ok3588:~$ wget -O firefoxsetup.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"
--2023-02-28 19:55:19--  https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US
Resolving download.mozilla.org (download.mozilla.org)... 52.36.57.77, 54.184.102.172, 35.164.150.4
Connecting to download.mozilla.org (download.mozilla.org)|52.36.57.77|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://download-installer.cdn.mozilla.net/pub/firefox/releases/110.0/linux-x86_64/en-US/firefox-110.0.tar.bz2 [following]
--2023-02-28 19:55:21--  https://download-installer.cdn.mozilla.net/pub/firefox/releases/110.0/linux-x86_64/en-US/firefox-110.0.tar.bz2
Resolving download-installer.cdn.mozilla.net (download-installer.cdn.mozilla.net)... 34.117.35.28
Connecting to download-installer.cdn.mozilla.net (download-installer.cdn.mozilla.net)|34.117.35.28|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 79426331 (76M) [application/x-tar]
Saving to: ‘firefoxsetup.tar.bz2’

firefoxsetup.tar.bz2                  0%[                                    firefoxsetup.tar.bz2                  0%[                                    firefoxsetup.tar.bz2                  0%[                                    firefoxsetup.tar.bz2                  2%[>                                   firefoxsetup.tar.bz2                  4%[=>                                  firefoxsetup.tar.bz2                  7%[===>                                firefoxsetup.tar.bz2                 10%[=====>                              firefoxsetup.tar.bz2                 12%[=======>                            firefoxsetup.tar.bz2                 16%[=========>                          firefoxsetup.tar.bz2                 20%[============>                       firefoxsetup.tar.bz2                 24%[==============>                     firefoxsetup.tar.bz2                 28%[=================>                  firefoxsetup.tar.bz2                 30%[===================>                firefoxsetup.tar.bz2                 34%[=====================>              firefoxsetup.tar.bz2                 38%[========================>           firefoxsetup.tar.bz2                 44%[============================>       firefoxsetup.tar.bz2                 50%[================================>   firefoxsetup.tar.bz2                 52%[=================================>  firefoxsetup.tar.bz2                 55%[===================================>firefoxsetup.tar.bz2                 63%[====================================firefoxsetup.tar.bz2                 71%[====================================firefoxsetup.tar.bz2                 78%[====================================firefoxsetup.tar.bz2                 82%[====================================firefoxsetup.tar.bz2                 91%[====================================firefoxsetup.tar.bz2                100%[=================================================================>]  75.75M  19.8MB/s    in 4.9s

2023-02-28 19:55:26 (15.4 MB/s) - ‘firefoxsetup.tar.bz2’ saved [79426331/79426331]

forlinx@ok3588:~$ sudo tar -xf firefoxsetup.tar.bz2 --directory /opt

解压到/opt后按照教程,执行报错。

forlinx@ok3588:~$ /opt/firefox/./firefox
-bash: /opt/firefox/./firefox: cannot execute binary file: Exec format error

后面又想着下载源码包进行编译,结果也是通不过。
最后试了sudo apt install firefox结果显示安装成功了。
打开后,却是乱码:

image.png
偿试着修改编码也不行。
【解决方法】下载中文字体

apt install ttf-wqy-zenhei
apt install fonts-wqy-microhei
apt-get install -y language-pack-zh-hant

这样处理之后,浏览器可以正常显示字体了。
打开浏览器,登B站CPU占用30%左右。
image.png

用4K显示器显示,也是比较流畅的,这就是一台小电脑呀!性能强悍!
播放1080P高清视频
image.png

更多回帖

发帖
×
20
完善资料,
赚取积分