Kali linux 的steam安装与卸载

Steam安装:

  • 官网下载deb包
sudo dpkg -i filename.deb

如果报错:missing lib32 .....libGL.so.1 and libdrm.so.2

在安装好后:
  • Check your default Architecture by using:
sudo dpkg --print-architecture
  • You will get your default Architecture which would be amd64.
  • We need to add i386 Architecture.
  • Use this code:
sudo dpkg --add-architecture i386
  • Just to verify that it has been added successfully, use this code:
sudo dpkg --print-foreign-architectures
  • If it has been added, proceed to update in order to get the 32 bit packages.
Use Code:
sudo apt update
  • Now try installing steam from the updated repository.
sudo apt-get install steam
  • Since steam is not permitted to run as root by default.
It is advised to run steam as a non-root user.
Just create a non-root user and run steam from that, you should be okay.

If you are persistent, follow these steps:
1.Open /usr/bin/steam
nano /usr/bin/steam
2.Comment or Delete these lines:
if [ "$(id -u)" == "0" ]; then
show_message --error $"Cannot run as root user"
exit 1
fi

3.Open steam.
It is working!!!

Steam卸载:

  1. sudo apt-get remove steam

#Purge Steam Perfectly with Configuration files with the following

  1. sudo apt-get purge steam sudo dpkg --print-architecture

#delete its directory located at home folder
3.rm -rf ~/.local/share/Steam && rm -rf ~/.steam



  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值