小编Ist*_*all的帖子

如何卸载由 .sh 安装程序安装的程序?

我下载了一个 .sh 程序(在本例中是一个游戏),然后使用“sh name.sh”安装(或者可能是“bash name.sh”。我不太记得了,但我猜它有在这种情况下并不重要:P)。

一切都按计划进行。.sh 在 /usr/local/games/ 中创建了一个文件夹,从那里我可以从 .bin 运行游戏(我在桌面上创建了一个“应用程序链接”以更快地运行它)。

到目前为止一切顺利,但现在我想删除/卸载游戏,但我不知道如何操作(我猜 apt-get 或 dpkg 在这种特殊情况下都不起作用。如果我错了,请纠正我)。

所以我的问题是,如何删除/卸载这个游戏?

Tyvm 提前回复。

编辑

我尝试打开并阅读 .sh(实际上,这是我做的第一件事),但是当我打开它时,编辑器(在本例中为 kate)警告我以下消息:

The file /home/user/Games/name/name.sh was opened with UTF-8 encoding but contained invalid characters. It is set to read-only mode, as saving might destroy its content. Either reopen the file with the correct encoding chosen or enable the read-write mode again in the menu to be able to edit it.

当我尝试做任何事情时,例如查找或选择某些内容,我的计算机会变得麻木并且“超载”,它不允许我做任何事情(几乎冻结),并且由于代码很大,我不能只是逐行阅读,直到找到我正在寻找的部分。

安装时创建的文件夹(在 /usr/local/games/ 中)具有以下内容:

name.bin.x86_64
name.png
README.linux
xdg-utils (folder) …
Run Code Online (Sandbox Code Playgroud)

uninstall bash scripts games .sh

6
推荐指数
2
解决办法
6万
查看次数

标签 统计

.sh ×1

bash ×1

games ×1

scripts ×1

uninstall ×1