{"id":624,"date":"2020-11-01T13:43:20","date_gmt":"2020-11-01T12:43:20","guid":{"rendered":"http:\/\/blog.chen-hongyi.com\/?p=624"},"modified":"2020-11-01T13:43:20","modified_gmt":"2020-11-01T12:43:20","slug":"solve-winhq-dependency-hell-in-ubuntu-18","status":"publish","type":"post","link":"https:\/\/chen-hongyi.com\/?p=624","title":{"rendered":"solve winhq dependency hell in Ubuntu 18"},"content":{"rendered":"\n<p>today I need to install a new pc with xubuntu 18.04 bionic. But I got problem while installing winhq, the apt-get always says some dependency issues, and can not install it.<\/p>\n\n\n\n<p>Finally I found the solution here: <\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-ubuntuhandbook\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"BYjV01JO5d\"><a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2020\/01\/install-wine-5-0-stable-ubuntu-18-04-19-10\/\">How to Install Wine 5.0 Stable in Ubuntu 18.04, 19.10<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;How to Install Wine 5.0 Stable in Ubuntu 18.04, 19.10&#8221; &#8212; UbuntuHandbook\" src=\"https:\/\/ubuntuhandbook.org\/index.php\/2020\/01\/install-wine-5-0-stable-ubuntu-18-04-19-10\/embed\/#?secret=6sCqXy03tR#?secret=BYjV01JO5d\" data-secret=\"BYjV01JO5d\" width=\"584\" height=\"329\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>The key is to install following package before wine:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386<\/pre>\n\n\n\n<p>Thanks  <a href=\"http:\/\/ubuntuhandbook.org\/index.php\/about\/\">Ji M<\/a>! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>today I need to install a new pc with xu &hellip; <a href=\"https:\/\/chen-hongyi.com\/?p=624\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-624","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=\/wp\/v2\/posts\/624","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=624"}],"version-history":[{"count":1,"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=\/wp\/v2\/posts\/624\/revisions"}],"predecessor-version":[{"id":625,"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=\/wp\/v2\/posts\/624\/revisions\/625"}],"wp:attachment":[{"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=624"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=624"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}