当最后一条指令出现“sudo: ./install-driver.sh: 未找到命令”时,如何在 Ubuntu 22.04 中安装 WiFi 驱动程序 (RTL8812BU)/

当最后一条指令出现“sudo: ./install-driver.sh: 未找到命令”时,如何在 Ubuntu 22.04 中安装 WiFi 驱动程序 (RTL8812BU)/

我已按照“如何安装 Realtek RTL8812BU 的驱动程序?”中的说明进行操作。

IE

sudo apt-get update
sudo apt-get install -y dkms git
mkdir src
cd src
git clone https://github.com/morrownr/88x2bu.git
cd 88x2bu
sudo ./install-driver.sh
sudo reboot

sudo ./install-driver.sh我收到消息时sudo: ./install-driver.sh: command not found

这是我在“终端”中得到的结果

dougie@OptiPlex-780:~$ sudo apt-get update
Hit:1 http://gb.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:3 http://gb.archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Fetched 210 kB in 1s (315 kB/s)       
Reading package lists... Done
dougie@OptiPlex-780:~$ sudo apt-get install -y dkms git
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dkms is already the newest version (2.8.7-2ubuntu2).
git is already the newest version (1:2.34.1-1ubuntu1.4).
0 to upgrade, 0 to newly install, 0 to remove and 2 not to upgrade.
dougie@OptiPlex-780:~$ mkdir src
mkdir: cannot create directory ‘src’: File exists
dougie@OptiPlex-780:~$ cd src
dougie@OptiPlex-780:~/src$ git clone https://github.com/morrownr/88x2bu.git
fatal: destination path '88x2bu' already exists and is not an empty directory.
dougie@OptiPlex-780:~/src$ cd 88x2bu
dougie@OptiPlex-780:~/src/88x2bu$ sudo ./install-driver.sh
sudo: ./install-driver.sh: command not found

我做错了什么?(......并且关于 GitHub 需要注册和“个人访问令牌”的提示会很有用!)

答案1

Github 页面. 您尚未关注当前指令根据 Github 页面,项目已搬迁

按照说明进行操作当前项目页面。基本上是一样的。看来唯一改变的是项目的位置或 git URL。


供将来参考,请注意,此答案中链接的“当前说明”可能已更改。访问这一页并按照链接查看实际的当前说明。

相关内容