Hot answers tagged

1

As per the comments: Leverage --reinstall, which makes apt-get Re-Install packages that are already installed and at the newest version. so, the complete command becomes: apt-get install --reinstall -d $(your-packages).


1

The default package manager for installing packages in Ubuntu is apt-get not yum. So it is the best to use apt-get for installing packages and not yum. To install apache with yum you can execute: sudo yum install httpd



Only top voted, non community-wiki answers of a minimum length are eligible