无法安装 Realtek Wi-Fi 驱动程序 rtl8821AU

无法安装 Realtek Wi-Fi 驱动程序 rtl8821AU

我已经全新安装了 Ubuntu 18.04.3 LTS。我正在尝试安装 Wi-Fi 适配器来访问互联网。安装失败:

yoav@yoav-System:~/Documents/LINUX/Linux$ sudo chmod +x install.sh
yoav@yoav-System:~/Documents/LINUX/Linux$ ./install.sh
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
rtl8821AU_linux_v4.3.19.5_17672.20160506_BTCOEX20150921-58.tar.gz
.
.
.
rtl8821AU_linux_v4.3.19.5_17672.20160506_BTCOEX20150921-58
Authentication requested [root] for make clean:

它不接受我的密码。

编辑:尝试 sudo ./install.sh

yoav@yoav-System:~/Documents/LINUX/Linux$ sudo chmod +x install.sh
[sudo] password for yoav: 
yoav@yoav-System:~/Documents/LINUX/Linux$ sudo ./install.sh
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
rtl8821AU_linux_v4.3.19.5_17672.20160506_BTCOEX20150921-58.tar.gz
.
.
Authentication requested [root] for make clean:
bash: make: command not found
Authentication requested [root] for make driver:
bash: make: command not found
##################################################
Compile make driver error: 127
Please check error Mesg

关于使用 sudo -i。Command Dir 在 root0@yoav-System 下不产生任何内容:~

我不知道如何导航到 install.sh 文件所在的目录。

编辑 2:尝试安装 build-essential 包:sudo apt-get install build-essential

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package build-essential 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 'build-essential' has no installation candidate

apt-get 需要在线吗?在安装此驱动程序之前,我一直处于离线状态。

答案1

看起来您没有“make”可执行文件。安装 build-essential 包:

sudo apt-get install build-essential

然后重试。

相关内容