tcl-7.6jpとtk-4.2jpのinstall (97/06/04) 1) 展開とパッチ $ tar zxvf tcl7.6.tar.gz -C ~/src $ tar zxvf tk4.2.tar.gz -C ~/src $ cp tcl7.6jp-patch ~/src/tcl7.6 $ cp tk4.2jp-patch ~/src/tk4.2 $ cd ~/src/tcl7.6 $ patch -p0 < tcl7.6jp-patch $ cd ~/src/tk4.2 $ patch -p0 < tk4.2jp-patch 2) make & install $ cd ~/src/tcl7.6/unix $ ./configure $ make $ cd ~/src/tk4.2/unix $ ./configure --with-tcl=/home/shioji/src/tcl7.6/unix $ make $ su # cd /home/shioji/src/tcl7.6/unix make install # cd /home/shioji/src/tk4.2/unix make install 3) 旧バージョンの削除 # rm /usr/local/bin/tclsh # ln -s /usr/local/bin/tclsh7.6jp /usr/local/bin/tclsh # ln -s /usr/local/bin/tclsh /usr/bin/tclsh # rm /usr/local/bin/wish # ln -s /usr/local/bin/wish4.2jp /usr/local/bin/wish # ln -s /usr/local/bin/wish /usr/bin/wish # rm /usr/local/man/man3/*tcl # rm /usr/local/man/man3/*tk # rm /usr/local/lib/tcl7.4 # rm /usr/local/lib/tk4.0