【Linux】Package Manager Instructions

Check Repository Updates and Upgrade Installed Library
sudo apt update
sudo apt upgrade
Install Package from Local Debian Archive
sudo dpkg -i <pkg>
Install Package from Repository
sudo apt install <pkg>
Auto Install Missing Dependency
sudo apt --fix-broken install
Force Install Ignoring Conflicts
sudo dpkg -i --force-overwrite <pkg>
Remove Specific Package
sudo apt remove <pkg>
Remove Package and Config Files
sudo apt purge <pkg>
Clean Unused Packages
sudo apt autoremove
上一篇:Vue学习笔记(九、简易计算器)


下一篇:深度学习:Matplotlib篇