700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > kali linux卸载程序 Kali linux 的steam安装与卸载

kali linux卸载程序 Kali linux 的steam安装与卸载

时间:2020-05-23 17:05:05

相关推荐

kali linux卸载程序 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

ment 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!!!

#可以看这个网页

/discussions/forum/1/2595630410174705687/

Steam卸载:

sudo apt-get remove steam

#Purge Steam Perfectly with Configuration files with the following

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

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。