Biny

如何在 Debian 12、11 或 10 上安装 UNRAR

Biny 2024-07-01 10:57:33    137 次浏览

在安装 UNRAR 之前先更新 Debian 系统,确保所有预先存在的软件包都是最新的。 启动终端窗口并输入以下命令:

sudo apt update && sudo apt upgrade 

安装 software-properties-common 包

sudo apt install software-properties-common -y

software-properties-common 是一个非常常用且安全的包,广泛用于基于Debian的系统(如Debian、Ubuntu以及它们的衍生版本)来管理软件源和PPA(Personal Package Archives)。这个包本身是由官方的软件仓库提供和维护的,因此是安全的。

添加 contrib 和 non-free 软件源

sudo apt-add-repository contrib non-free

更新系统

sudo apt update

安装 Unrar

sudo apt install unrar
内容加载中