===== a2ps on miho-1 ===== miho-1 にa2ps をインストールした。 - まず、以下をダウンロード。 * https://ftp.gnu.org/gnu/gperf/gperf-3.1.tar.gz * https://ftp.gnu.org/gnu/a2ps/a2ps-4.14.tar.gz - miho-1:/home/kobayash/bin/ に移動させる - 解凍 $ cd /home/kobayash/bin/ $ tar zxvf a2ps-4.14.tar.gz $ tar zxvf gperf-3.1.tar.gz - gperf のインストール $ cd /home/kobayash/bin/gperf-3.1 $ ./configure --prefix=$PWD --exec-prefix=$PWD $ make $ make install - .bashrc に以下を追加 (ライブラリのパスはいる?) export PATH=/home/kobayash/bin/gperf-3.1/bin:$PATH export LD_LIBRARY_PATH=/home/kobayash/bin/gperf-3.1/lib:$LD_LIBRARY_PATH - source ~/.bashrc を実行 $ source ~/.bashrc - a2ps のインストール $ cd /home/kobayash/bin/a2ps-4.14 $ ./configure --prefix=$PWD --exec-prefix=$PWD $ make $ make install - .bashrc に以下を追加 (ライブラリのパスはいる?) export PATH=/home/kobayash/bin/a2ps-4.14/bin:$PATH export LD_LIBRARY_PATH=/home/kobayash/bin/a2ps-4.14/lib:$LD_LIBRARY_PATH