Linux

Extra packages

The following are extra packages I’ve ended up installing on my Linux (Fedora Core 6) server. It’s a good idea to keep track of these so in the future if I re-install Linux I don’t have to spend days trying to figure out what packages I’m missing.

mpd Music Player Daemon
mpc Music Player Daemon command line
php-gd GD graphics lib for PHP
gd-devel GD graphics lib dev files
madplay MP3 playback program
libmad MP3 playback library
libmad-devel MP3 playback library dev files
libid3tag MP3 tagging library
libid3tag-devel MP3 tagging library dev files
flac123 FLAC playback program
libdvdread Was a prerequisite for something, don’t remember what
php-pear Pear for PHP
sane-backends SANE
sane-backends-libs SANE
libsane-hpaio SANE driver for HP All-In-One
xinetd Needed for SANE

SANE

SANE is an open source scanner API for Linux. I use it with my HP OfficeJet 7310 All-In-One.

–batch Scan multiple pages from the automatic document feeder (ADF).
–batch-count Due to a bug in the HPAIO driver, we need to specify how many pages to scan or it will go on forever.
–mode gray Since I’m mainly scanning text documents.
–resolution 150 What DPI setting to scan at.
-y 280 Only scan 280mm (11″) letter size, not legal size.

scanimage –batch –batch-count 5 –mode gray –resolution 150 -y 280

After scanning, I like to convert the PNM files to PDF as follows:

pnmtops out1.pnm > out1.ps
ps2pdf14 out1.ps

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">