Linux HOWTOs

About | Home | Search


HOWTO: hjsplit
Description: Freeware file splitter and joiner
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# HJSplit for Linux
# =================
# This will install the Kylix libraries, required by HJSplit, and
# HJSplit itself

# HJSplit 2.3 for Linux was released on November 26, 2003
# You may want to consider an actively developed alternative like LX Split


# Kylix libraries 3.0-2
# =====================
cd
test -f installed/kylixlibs3-borqt-3.0-2.tar.gz &&
 mv installed/kylixlibs3-borqt-3.0-2.tar.gz .
test ! -f kylixlibs3-borqt-3.0-2.tar.gz &&
 wget http://downloads.sf.net/kylixlibs/kylixlibs3-borqt-3.0-2.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "kylixlibs3-borqt-*" -exec rm -r {} \;
test -d ./kylixlibs3-borqt && rm -r ./kylixlibs3-borqt
tar xzvf ~/kylixlibs3-borqt-3.0-2.tar.gz
mv kylixlibs3-borqt kylixlibs3-borqt-3.0-2
cd kylixlibs3-borqt-3.0-2
test $UID = 0 && chown -R root:root .

# I don't like to use the enclosed install.sh, so I install it differently.
# If you would rather use that, look in it to see what it's going to do,
# then run it as root if you think it looks OK:
# su -c "./install.sh"

# Become root to install it
su

install libborqt-6.9.0-qt2.3.so /usr/local/lib/
( cd /usr/lib
  ln -s /usr/local/lib/libborqt-6.9.0-qt2.3.so libborqt-6.9-qt2.3.so )
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/kylixlibs3-borqt-*.tar.*
mv kylixlibs3-borqt-3.0-2.tar.gz installed/


# HJSplitLX 2.3
# =============
cd
test -f installed/hjsplitlx.tar.gz &&
 mv installed/hjsplitlx.tar.gz .
test ! -f ./hjsplitlx.tar.gz &&
 wget http://www.treepad.net/download/hjsplitlx.tar.gz
mkdir -p -m 0700 src
cd src
test -d ./hjsplitlx && rm -r ./hjsplitlx
cd hjsplitlx
tar xzvf ~/hjsplitlx.tar.gz
chmod 644 readme.txt

# Become root to install it
su

install ./HJSplitLX /usr/local/bin/
( cd /usr/local/bin ; ln -sf HJSplitLX hjsplitlx )

# Become yourself again
exit

# Here is the manual (for Windows):
# http://www.freebyte.com/hjsplit/manual/

cd
mkdir -p -m 0700 installed
rm -f installed/hjsplitlx.tar.gz
mv hjsplitlx.tar.gz installed/


# If you ever want to uninstall the Kylix libraries and HJSplit,
# this should do it:
cd
su
test -d src/hjsplitlx && rm -r src/hjsplitlx
( cd /usr/local/bin ; rm -f HJSplitLX hjsplitlx )
rm -f /usr/local/lib/libborqt-6.9.0-qt2.3.so \
 /usr/lib/libborqt-6.9-qt2.3.so
ldconfig
exit
rm -f ~/installed/hjsplitlx.tar.gz ~/installed/kylixlibs3-borqt-*.tar.*

Back to the list


Last updated: Wed, 29 Apr 2020 22:04:50 -0400
Jason Englander <jason at englanders dot us>