liboil - Library of functions optimized for various CPUs ChangeLog

HOWTO


# liboil 0.3.14
# =============
# Prerequisites:
# pkg-config
# Glib-2.0

cd
test -f installed/liboil-0.3.14.tar.gz &&
mv installed/liboil-0.3.14.tar.gz .
test ! -f liboil-0.3.14.tar.gz &&
wget http://liboil.freedesktop.org/download/liboil-0.3.14.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "liboil-*" -exec rm -r {} \;
tar xzvf ~/liboil-0.3.14.tar.gz
cd liboil-0.3.14
test $UID = 0 && chown -R root:root .
./configure
make

# Become root to install it
su

rm -f /usr/local/lib/liboil-*
make install
ldconfig

# Make sure your non-root user can remove the source later
chown -R $USER .
chmod -R u+w .

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/liboil-*.tar.*
mv liboil-0.3.14.tar.gz installed/


# If you ever want to uninstall liboil, this should do it:
cd
su
test -d src/liboil-* && ( cd src/liboil-* ; make uninstall )
find /usr/local/include -maxdepth 1 -type d -name "liboil-*" -exec rm -r {} \;
test -d /usr/local/share/gtk-doc/html/liboil &&
rm -r /usr/local/share/gtk-doc/html/liboil
rm -f /usr/local/lib/liboil-* /usr/local/lib/pkgconfig/liboil-*.pc
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "liboil-*" -exec rm -r {} \;
rm -f ~/installed/liboil-*.tar.*

List of HOWTOs

Last updated: 2020-04-29 10:24pm EDT(-0400)
Copyright © 2001-2020 Jason Englander. All Rights reserved.
[HTML5]