Ubuntu Server 24.04 安装浏览器firefox
Ubuntu 24.04 Server 安装浏览器
Ubuntu 24.04 Server 安装浏览器 两种方案
先说明:Ubuntu Server 原版无桌面,不能装图形浏览器,要想用浏览器分两种情况:
情况一:你已经装了 GNOME 桌面(推荐)
直接装 Firefox 火狐浏览器(系统原生)
sudo apt update
sudo apt install -y firefox
安装完在应用菜单搜 Firefox 就能打开,和普通电脑一样用。
问题:
sudo apt install -y firefox 之后,在应用菜单搜不到Firefoxsnap install
firefox myuser@ :~$ firefox
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:
snap install firefox
myuser@ :~$ snap install firefox
2026-05-02T12:53:26Z INFO Waiting for automatic snapd restart...
firefox 150.0.1-1 (来自 Mozilla✓) installed
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:
snap install firefox
myuser@ :~$ snap install firefox
2026-05-02T12:53:26Z INFO Waiting for automatic snapd restart...
firefox 150.0.1-1 (来自 Mozilla✓) installed

情况二:不装桌面,纯命令行文本浏览器
只能纯文字浏览网页,没有图片、没有界面,适合查文档、看文字网页。
1. 安装 lynx 经典文本浏览器
sudo apt update
sudo apt install -y lynx
2. 使用方式
lynx www.baidu.com
操作快捷键:
- 上下箭头:切换链接
- 回车:进入网页
- q:退出
3. 另一个更好用的:w3m
sudo apt install -y w3m
# 使用
w3m www.baidu.com

浙公网安备 33010602011771号