If you have no need to compile the CWTE program, then you should only need a package with a name like "libmotif3" or "libmotif4" (depending on the release of Ubuntu). To find a package close to this name, go to this web site (try to find "libmotif3" first): http://packages.ubuntu.com/search?keywords=search Hopefully this will bring up a web page with the library name you are interested in. Find your Ubuntu release name and click on it (ie, quantal, trusty, etc). This should present the version of the "libmotif3" library needed for your install of Ubuntu. To be able to compile and execute the CWTE program on the Ubuntu system, various packages will need to be installed. For the Ubuntu 10.04.4 LTS (Lucid Lynx) release, the author has created a UNIX script file that identifies the required Ubuntu Lucid packages and then to install (or uninstall) the various packages in the proper order based on the package dependencies. You might consider using this information for other releases of Ubuntu as well. If you only need to install one library, you can use the following command example: sudo dpkg -i libmotif3_2.2.3-4_i386.deb If you plan to compile the program, then you will need several other *-dev*.deb file names like those shown in the install script below. If you are connected to the web, then you can use the install tools to auto-install the top library like the "libxmu" package shown below. # ----- Action.scr------------------------------------- 18FEB12A ------* # # This script is for Ubuntu Linux 10.04.4 (Lucid Lynx) # # The assignments below should be set so that the Packages are in the # order that they are to be installed or deleted (top to bottom). # There are three columns of data for each package entry, the package # name, the package file, and the install sequence order. # # The following is a acending order via the sequence number # A '#' appended to the front of the name does not install that pkg PKGINSTALL="\ libmotif3_2.2.3-4_i386.deb 11 libmotif-dev_2.2.3-4_i386.deb 12 x11proto-print-dev_1.0.3.xsf1-1_all.deb 13 x11proto-core-dev_7.0.16-1_all.deb 14 xtrans-dev_1.2.5-1_all.deb 15 libpthread-stubs0_0.3-2_i386.deb 16 libpthread-stubs0-dev_0.3-2_i386.deb 17 libxdmcp-dev_1.0.3-1_i386.deb 18 libxau-dev_1.0.5-1_i386.deb 19 libxcb1-dev_1.5-2_i386.deb 20 x11proto-input-dev_2.0-2_all.deb 21 x11proto-kb-dev_1.0.4-1_all.deb 22 libx11-dev_1.3.2-1ubuntu3_i386.deb 23 libice-dev_1.0.6-1_i386.deb 24 libsm-dev_1.1.1-1_i386.deb 25 libxt-dev_1.0.7-1_i386.deb 26 x11proto-xext-dev_7.1.1-2_all.deb 27 libxext-dev_1.1.1-2_i386.deb 28 libxmu-headers_1.0.5-1_all.deb 29 libxmu-dev_1.0.5-1_i386.deb 30 " # The following is a decending order via the sequence number PKGDELETE="\ libxmu-dev_1.0.5-1_i386.deb 30 libxmu-headers_1.0.5-1_all.deb 29 libxext-dev_1.1.1-2_i386.deb 28 x11proto-xext-dev_7.1.1-2_all.deb 27 libxt-dev_1.0.7-1_i386.deb 26 libsm-dev_1.1.1-1_i386.deb 25 libice-dev_1.0.6-1_i386.deb 24 libx11-dev_1.3.2-1ubuntu3_i386.deb 23 x11proto-kb-dev_1.0.4-1_all.deb 22 x11proto-input-dev_2.0-2_all.deb 21 libxcb1-dev_1.5-2_i386.deb 20 libxau-dev_1.0.5-1_i386.deb 19 libxdmcp-dev_1.0.3-1_i386.deb 18 libpthread-stubs0-dev_0.3-2_i386.deb 17 libpthread-stubs0_0.3-2_i386.deb 16 xtrans-dev_1.2.5-1_all.deb 15 x11proto-core-dev_7.0.16-1_all.deb 14 x11proto-print-dev_1.0.3.xsf1-1_all.deb 13 libmotif-dev_2.2.3-4_i386.deb 12 libmotif3_2.2.3-4_i386.deb 11 " clear lsb_release -d | { while read JUNK1 OSTYPE VERSION JUNK4 ; do if [[ $OSTYPE != Ubuntu || $VERSION != 10.04.4 ]]; then echo " " echo "** Wrong OS type or version for this script!" echo " " exit 1 fi done } if [[ $? == 1 ]]; then exit 1 # Release version pipe error fi exec 8<&0 # STDIN now also file discriptor '&8' if [[ $1 == -del ]]; then echo "Begin Package Deletes.... " >ActPkgResult.txt echo " " echo "This script will delete the following Packages for Ubuntu." echo " " echo "$PKGDELETE" echo "As each Package is deleted, there will be a pause at the" echo "end of each so you can analyze the delete. If the uninstall" echo "is bad, use Ctl-C to cancel this script of deletes. Update" echo "this script if necessary and run this script again." echo "Press ENTER to continue, or Ctl-C to quit...." read echo "$PKGDELETE" | { # Here file descriptor '&0' no longer STDIN while read PKGFILE SEQNUM; do if [[ $PKGFILE == \#* ]]; then continue fi if [[ -n $PKGFILE ]]; then PKGFILE=${PKGFILE%%_*} # trim out package name clear set -x sudo apt-get -y purge $PKGFILE set +x echo "**** Now evaluate results or Ctl-C this script...." read ANS <&8 fi done sudo apt-get clean } 2>&1 | tee -a ActPkgResult.txt echo "Package Delete list has completed." else echo " " echo "Note: If you should want to delete all the packages installed" echo " by this script, just pass the parm '-del'" echo " " echo "Begin Package Updates.... " >ActPkgResult.txt echo "This script will install the following Packages for Ubuntu." echo " " echo "$PKGINSTALL" echo "As each Package is installed, there will be a pause at the" echo "end of each so you can analyze the install. If the install" echo "is bad, use Ctl-C to cancel this script of updates. Update" echo "this script if necessary and run this script again." echo "Press ENTER to continue, or Ctl-C to quit...." read echo "$PKGINSTALL" | { # Here file descriptor '&0' no longer STDIN while read PKGFILE SEQNUM; do if [[ $PKGFILE == \#* ]]; then continue fi if [[ -n $PKGFILE ]]; then clear set -x sudo dpkg -i $PKGFILE set +x echo "**** Now evaluate results or Ctl-C this script...." read ANS <&8 fi done } 2>&1 | tee -a ActPkgResult.txt echo "Package Update list has completed." fi exec 8<&- # This deletes file discriptor '&8' cwte ActPkgResult.txt echo " "
|