liske / needrestart

Restart daemons after library updates.
GNU General Public License v2.0
427 stars 68 forks source link

Improve documentation regarding installation of needrestart #63

Closed larsen0815 closed 7 years ago

larsen0815 commented 7 years ago

I needed to manually install needrestart and couldn't find any documentation on it, only some prerequisites. This should be improved:

# Install prerequisites, s. https://github.com/liske/needrestart/blob/master/INSTALL.md
apt-get -y install libmodule-find-perl libmodule-scandeps-perl libproc-processtable-perl libsort-naturally-perl libterm-readkey-perl libintl-perl gettext po-debconf xz-utils

# Set variable to the desired version
export VERSION="2.10"

# Download and install
wget "https://github.com/liske/needrestart/archive/v${VERSION}.zip" && \
unzip v${VERSION}.zip && \
cd needrestart-${VERSION} && \
make install

Tested with Ubuntu Precise and Trusty.

liske commented 7 years ago

The required packages are listed in INSTALL and using make install is the traditional way to install.

larsen0815 commented 7 years ago

The INSTALL is a stub. I have prepared everything for an installation on Debian and Ubuntu systems, which would make it much easier for users. Don't understand why you refuse to simply copy/paste this into INSTALL... This doesn't encourage me to help the project any further.