psutils - PostScript utilities: psnup, psselect, pstops, psbook, psresize ChangeLog

HOWTO


# psutils 1.7
# ===========
# As I write this, the psutils web site says it is down.  I set the
# home page URL to freecode.com's project page for it, rather than the
# actual web site (http://www.tardis.ed.ac.uk/~ajcd/psutils/) because of
# this.

# If you ever want to uninstall psutils or remove files from an older
# version before installing the new one, skip down to the bottom for
# instructions.

# Get it
cd
test -f installed/psutils-p17.tar.gz && mv installed/psutils-p17.tar.gz .
test ! -f psutils-p17.tar.gz &&
wget http://mirrors.ctan.org/support/psutils/psutils-p17.tar.gz

# Extract it
mkdir -p -m 0700 src
cd src
test -d psutils && rm -r ./psutils
find -maxdepth 1 -type d -name "psutils-*" -exec rm -r {} \;
tar xzvf ~/psutils-p17.tar.gz
mv psutils psutils-p17
cd psutils-p17
test $UID = 0 && chown -R root:root .

# Build it
make -f Makefile.unix

# Become root to install it
su

# Remove the Slackware 'a2ps' package, the psutils programs are included
# with it.  You probably want to move on to install a2ps next after this
# one.
test -x /sbin/removepkg && /sbin/removepkg a2ps

# Install it
make -f Makefile.unix install \
BINDIR=/usr/bin MANDIR=/usr/man/man1 INCLUDEDIR=/usr/share/psutils

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

# Become yourself again
exit

# Keep the tarball for later
cd
mkdir -p -m 0700 installed
rm -f installed/psutils-*.tar.*
mv psutils-p17.tar.gz installed/


# If you ever want to uninstall psutils, this should do it:
su
( cd /usr/bin
  rm -f extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps \
   fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres \
   psmerge showchar )
( cd /usr/man/man1
  rm -f epsffit.1 extractres.1 fixdlsrps.1 fixfmps.1 fixmacps.1 \
   fixpsditps.1 fixpspps.1 fixscribeps.1 fixtpps.1 fixwfwps.1 fixwpps.1 \
   fixwwps.1 getafm.1 includeres.1 psbook.1 psmerge.1 psnup.1 psresize.1 \
   psselect.1 pstops.1 )
test -d /usr/share/psutils && rm -r /usr/share/psutils
exit
find ~/src -maxdepth 1 -type d -name "psutils-*" -exec rm -r {} \;
rm -f ~/installed/psutils-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2012-03-22 10:58pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]