lm_sensors - Linux hardware monitoring ChangeLog

HOWTO


# lm_sensors 3.1.2
# ================
# If you use the 2.4.x kernel or < 2.6.5, you should use lm-sensors 2.10.x

# Slackware 12.0: lm_sensors 2.10.3
# Slackware 12.1: lm_sensors 2.10.6
# Slackware 12.2: lm_sensors 3.0.3
# Slackware 13.0: lm_sensors 3.1.1

# Prerequisites:
# Kernel >= 2.6.5 with I2C and hardware monitoring enabled
# Perl (for sensors-detect)
# rrdtool (optional; for sensord)
# libsysfs

cd
test -f installed/lm_sensors-3.1.2.tar.bz2 &&
mv installed/lm_sensors-3.1.2.tar.bz2 .
test ! -f lm_sensors-3.1.2.tar.bz2 &&
wget http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-3.1.2.tar.bz2

# Verify tarball w/ md5sum:
# (this came from my gpg-verifed tarball)
echo "58a9a225808ac4587c4c8cbd12b40b5c  lm_sensors-3.1.2.tar.bz2" | md5sum -c

# Verify tarball w/ sha1sum:
# (this also came from my gpg-verifed tarball)
echo "4a3b13e4f9c18c29e7f853739bdd88ca7799fcc7  lm_sensors-3.1.2.tar.bz2" \
| sha1sum -c

# Verify tarball w/ gpg:
(gpg --list-keys 38F02FC8 > /dev/null 2>&1 || gpg --recv-keys 38F02FC8 ) &&
wget -nc http://dl.lm-sensors.org/lm-sensors/releases/\
lm_sensors-3.1.2.tar.bz2.sig &&
  gpg --verify lm_sensors-3.1.2.tar.bz2.sig &&
   rm lm_sensors-3.1.2.tar.bz2.sig

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "lm_sensors-*" -exec rm -r {} \;
tar xjvf ~/lm_sensors-3.1.2.tar.bz2
cd lm_sensors-3.1.2
test $UID = 0 && chown -R root:root .

# See README and INSTALL for details, CHANGES if this is an upgrade
# (...and the web site)
#
# If you want to change anything about where it's installed or other
# build/install options, look through the variables in the Makefile

# Build it
make

# Become root to install it
su

# Remove the Slackware package, if there is one
# Clean up shared library files from old versions to avoid issues
test -x /sbin/removepkg && /sbin/removepkg lm_sensors
rm -f /usr/local/lib/libsensors.*

# If you have a configuration file from a previous version installed,
# it will not overwrite it (/etc/sensors3.conf).  You can find the latest
# sample one in the source directory (etc/sensors.conf.default).

# Install it
make install
ldconfig

# If you like, you can install the latest version of the sensors-detect
# script:
test -f /usr/local/sbin/sensors-detect &&
( cd /usr/local/sbin ; mv -f sensors-detect sensors-detect.old )
wget http://dl.lm-sensors.org/lm-sensors/files/sensors-detect \
-O /usr/local/sbin/sensors-detect
chmod 700 /usr/local/sbin/sensors-detect

# Make sure your kernel has support for all I2C bus drivers and 'i2c device
# interface'.  If you use a Slackware or other distribution kernel, you're
# probably OK - they tend to enable all of them.

# Run this to find out what modules need to be loaded:
sensors-detect

# Load them (add to /etc/rc.d/rc.local) and run this:
sensors

# Fix /etc/sensors3.conf if necessary then run
sensors -s

# Become your non-root user again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/lm_sensors-*.tar.*
mv lm_sensors-3.1.2.tar.bz2 installed/


# If you ever want to uninstall lm_sensors, this should do it:
cd
su
test -d src/lm_sensors-* && ( cd src/lm_sensors-* ; make uninstall )
( cd /usr/local/bin ; rm -f sensors sensors-conf-convert )
test -d /usr/local/include/sensors && rm -r /usr/local/include/sensors
rm -f /usr/local/lib/libsensors.*
rm f /usr/local/man/man1/sensors.1 /usr/local/man/man3/libsensors.3 \
/usr/local/man/man5/sensors.conf.5
( cd /usr/local/man/man8
  rm -f fancontrol.8 isadump.8 isaset.8 pwmconfig.8 sensors-detect.8 )
( cd /usr/local/sbin
  rm -f fancontrol isadump isaset pwmconfig sensors-detect )
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "lm_sensors-*" -exec rm -r {} \;
rm -f ~/installed/lm_sensors-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2010-02-18 10:52pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]