I am on ubuntu 10.04, somehow I deleted all the files in /usr/lib/apache2/modules, is there a way I can get them back or set it to default installation?


To generate a list of the apache related packages you have installed:

 $ dpkg -l | grep apache

To search the files that are associated with each package:

$ dpkg -L <package name> | grep  /usr/lib/apache2/modules

To reinstall packages that match the search:

$ sudo apt-get --reinstall install <package name>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.