我已按照“如何安装 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 需要注册和“个人访问令牌”的提示会很有用!)