LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How can I restore /usr/include folder or download the new one ? (https://www.linuxquestions.org/questions/linux-software-2/how-can-i-restore-usr-include-folder-or-download-the-new-one-4175513063/)

marikyan 08-02-2014 04:37 AM

How can I restore /usr/include folder or download the new one ?
 
I am using Linux Mint 17.
I've deleted /usr/include folder and want to download the new one ( or restore ).
Please help! How can I ?

Guttorm 08-02-2014 06:47 AM

You could use dlocate to find all installed packages having files in /usr/include

Code:

#install it
sudo apt-get install dlocate
#list the packages
dlocate --package-only /usr/include
#reinstall them
sudo apt-get install --reinstall $(dlocate --package-only /usr/include)



All times are GMT -5. The time now is 06:39 AM.