Kali linux 的steam安裝與解除安裝
阿新 • • 發佈:2019-01-05
Steam安裝:
- 官網下載deb包
在安裝好後:
- Check your default Architecture by using:
- You will get your default Architecture which would be amd64.
- We need to add i386 Architecture.
- Use this code:
- Just to verify that it has been added successfully, use this code:
- If it has been added, proceed to update in order to get the 32 bit packages.
- Now try installing steam from the updated repository.
- Since steam is not permitted to run as root by default.
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解除安裝:
- 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