即使在我删除它之后,OpenVPN 仍然响应我的命令。
:~$ sudo apt-get remove openvpn
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'openvpn' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
:~$ sudo apt-get purge openvpn
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'openvpn' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
:~$ openvpn
OpenVPN 2.4.9 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Jun 7 2020
我没有把上次回复的全部内容复制粘贴到openvpn
这里,但这很明显。
我也没有在 bashrc 中找到任何特殊的东西。
我怎样才能彻底删除 openvpn 以便再次全新安装它?
答案1
我知道如何卸载它。
:~$ which openvpn
usr/local/sbin/openvpn
我检查了 usr/local 文件夹,发现有一个 sbin/openvpn 文件夹。删除了它们。
:~$ sudo rm -rf /usr/local/openvpn_as
:~$ sudo rm -rf /usr/local/sbin/openvpn