简体   繁体   中英

How to install libgdiplus on openSUSE?

So, I am a .NET developer and I need to run my project on Linux. I was provided with ssh access to a machine with openSUSE Tumbleweed version 20170403 on it. To run System.Drawing.Common functionality I need a libgdiplus package installed, but if I try to install it via "zypper in libgdiplus" command i get "No provider of 'libgdiplus' found." message. This is like my second time dealing with Linux, so i don't have any clue what the hell i am doing. Thanks for helping me.

So I've tried

zypper in libgdiplus
apt-get install libgdiplus

they give me the same output:

'libgdiplus' not found in package names. Trying capabilities. No provider of 'libgdiplus' found

When searching for a package, use

zypper search ...

first, in this case

zypper search libgdiplus

Sometimes, adding -d is needed to search for "details", ie not only the short package descriptions.

In this case, the package for openSUSE is in fact called libgdiplus0 , as the search shows. So, to install it, you must specify

zypper install libgdiplus0

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM