What is littleutils?
Littleutils is pack of small useful utilities. The littleutils include a duplicate file finder (repeats), image optimizers (opt-jpg, opt-png, opt-gif, recomp-jpg), file rename tools (lowercase, uppercase, pren), archive recompressors (to-gzip, to-bzip, to-7zip, to-lzma, to-lzip, to-xz), a tempfile utility (tempname), file property tools (filedate, filemode, filenode, fileown, filesize, and lrealpath), and others.
1. Login to server as root user.
# cd /usr/local/src
# wget http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
# rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
-To download and install 32 bit rpmforge repository
# wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-1.el6.rf.x86_64.rpm
# rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
-To download and install 64 bit rpmforge repository
2. Install Dependencies
# yum install gcc libpng libpng-devel gifsicle pngcrush p7zip lzip
3. Download and Extract the littleutils package
# wget http://space.dl.sourceforge.net/project/littleutils/littleutils-source/1.0.26/littleutils-1.0.26.tar.bz2
# tar -jxf littleutils-1.0.26.tar.bz2
4. Configure and install
# cd littleutils-1.0.26
# ./configure
# make
# make install
# make install-extra
To Verify the desired binary files were created:
root@server [/usr/local/bin]# which to-xz
/usr/local/bin/to-xz
root@server [/usr/local/bin]# which opt-jpg
/usr/local/bin/opt-jpg
root@server [/usr/local/bin]# which opt-png
/usr/local/bin/opt-png
root@server [/usr/local/bin]# which lowercase
Install littleutils(opt-jpg, opt-png, opt-gif) on CentOS 32/64 bit server
/usr/local/bin/lowercase