Install littleutils(opt-jpg, opt-png, opt-gif) on CentOS 32/64 bit server

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
     # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
       -To download and install 32 bit rpmforge repository

     # wget
     # 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
    # 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
root@server [/usr/local/bin]# which opt-jpg
root@server [/usr/local/bin]# which opt-png
root@server [/usr/local/bin]# which lowercase


This entry was posted by Arun Ghosh. Bookmark the permalink.