![如何在 Ubuntu 16.04 上重新安装 Steam?](https://linux22.com/image/1004370/%E5%A6%82%E4%BD%95%E5%9C%A8%20Ubuntu%2016.04%20%E4%B8%8A%E9%87%8D%E6%96%B0%E5%AE%89%E8%A3%85%20Steam%EF%BC%9F.png)
我最近在我的 PC(Ubuntu 16.04)上安装了 Steam。直到最近,我只使用过 Windows,在 Windows 中,您可以从开始页面“取消固定”应用程序。我尝试在这里做类似的事情,并使用以下命令从我的仪表板中删除 Steam 图标:
sudo rm /usr/share/applications/steam.desktop
但这似乎也删除了应用程序本身(或至少阻止我运行它)。我尝试了几次计算机搜索,试图找到 Steam 在我的硬盘上的位置,但都失败了。最后我使用以下命令删除了 Steam:
sudo apt-get purge steam
然后使用以下方法清理:
sudo apt autoremove
但现在当我尝试安装 Steam 时,我得到的只是
sudo apt-get install steam
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
steam:i386
0 to upgrade, 1 to newly install, 0 to remove and 138 not to upgrade.
Need to get 0 B/875 kB of archives.
After this operation, 2,664 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package steam:i386.
(Reading database ... 359072 files and directories currently installed.)
Preparing to unpack .../steam_1%3a1.0.0.48-1ubuntu4_i386.deb ...
Unpacking steam:i386 (1:1.0.0.48-1ubuntu4) ...
Replaced by files in installed package steam-launcher (1.0.0.54) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Setting up steam:i386 (1:1.0.0.48-1ubuntu4) ...
并且没有其他反应。我该怎么办?
PS:我也尝试过从网站安装 Steam,但是也不起作用。
答案1
这是一个很有价值的线索:Replaced by files in installed package steam-launcher (1.0.0.54)
你第一次是如何安装 steam 的?我有一个可以运行的steam
安装,但我没有包steam-launcher
。我在标准存储库中找不到它。
至少,您应该清除steam-launcher
然后尝试重新安装。
答案2
简单的!
只需输入 sudo apt-get remove steam
如果 sudo apt-get remove steam 不起作用,您可以跳过此步骤。
接下来,输入 sudo apt-get purge steam
然后从 steam 网站安装 Steam.deb!
希望这个能成功!