如何安装 librsvg2?

Dhi*_*esh 2 installation command-line apt

你如何libsrvg2使用apt-get install命令安装?我尝试了以下方法:

root@ubuserver:~# apt-get install librsvg2-bin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package librsvg2-bin
Run Code Online (Sandbox Code Playgroud)

你会如何安装它?

Oli*_*Oli 5

如果您从未在服务器上运行过包列表更新,则apt可能无法看到该包。以下应该工作:

sudo apt-get update
sudo apt-get install librsvg2-bin
Run Code Online (Sandbox Code Playgroud)


Vas*_*lis 0

您是否尝试查找它是否以该名称或其他名称存在?

apt-cache search librsvg2-bin
Run Code Online (Sandbox Code Playgroud)