most standard includes are gone now, need help getting them back

I tried to install the boost library, but I copied the files in wrong to my include directory. I decided to delete the include folder and reinstall gcc and g++. It did not work. Now, it says that the iostream header is missing. How do I get them back?
If you use debian or ubuntu, enter "dpkg-query -S iostream" and then install required package with "apt-get install libstc++-5-dev". Other package systems have similar commands.
Last edited on

0:root@beauhefley-server:[~]# apt-get install libstdc++-4.9-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libstdc++-4.9-dev is already the newest version.
libstdc++-4.9-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

It says that libstdc++ is already installed
I removed it, and reinstalled it (and g++)
It now says that it is missing features.h, so at least I got the iostream header back
Got it working, used the answer here if anyone else had this problem: http://www.linuxquestions.org/questions/linux-software-2/how-can-i-restore-usr-include-folder-or-download-the-new-one-4175513063/
Thanks Guttorm! You saved me from having to reinstall debian and reconfigure all of my server's properties!
Topic archived. No new replies allowed.