我已经完成了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:

而且它不会接受我的密码。

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。命令Dir在root0 @ yoav-System下不产生任何结果:〜

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

编辑2: 试图安装必需的软件包: 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是否需要在线?在我设法安装该驱动程序之前,我处于离线状态。

最佳答案

看起来您没有“ make”可执行文件。安装必需的软件包:

sudo apt-get install build-essential

然后再试一次。