Report this

What is the reason for this report?

Why can't I install the libstdc++6:i386 library on my x64 Ubuntu droplet?

Posted on February 14, 2018

I’m trying to host a game server on my DO Ubuntu x64 Droplet and it needs the libstdc++6:i386 library as a prerequisite. I had no problem installing this on my local Ubuntu x64 VM or on the Ubuntu x64 VM from another known VPS host so before I waste any of my time I’d like to know if Digital Ocean blacklists some apt packages like libstdc++6:i386.

For those interested, here is the full error message:

root@ubuntu-s-2vcpu-2gb-nyc1-01:~$ sudo apt-get install libstdc++6:i386 Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package libstdc++6:i386 E: Couldn’t find any package by regex ‘libstdc++6’



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Ok, this is my fault and I fixed it but I figured I’d leave my solution here for anyone else who happens to encounter similar problems.

TL:DR You are probably missing dependencies.

The ones I needed were as follows, yours may differe:

sudo dpkg --add-architecture i386 sudo apt-get update && sudo apt-get upgrade sudo apt-get install lib32gcc1 lib32stdc++6 libcurl4-gnutls-dev:i386

Yeah, I’m still a Linux newb and learning.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.