Debian系統使用apt安裝程序怎么獲取原始deb包
使用apt安裝包
例如安裝python3-pyside2包
apt -d install python3-pyside2*
解析:參數-d代表僅下載但是不安裝包
獲取deb包
下載的deb包在以下文件夾
cd /var/cache/apt/archives
ls *.deb
可以發現包含很多deb包
可以使用以下命令安裝所有deb包
apt install *.deb
效果和以下安裝命令是一致的
apt -y install python3-pyside2*
也可以使用以下命令直接下載
apt download tree
下載包在當前命令執行目錄