It won't touch your binaries if you install them in /opt for example. The same for 8.5, except the version numbers. In my machine, Ubuntu installed Tcl 8.4 in /usr/bin/tclsh8.4, /usr/lib/libtcl8.4.so.0 and a lot of support files in /usr/share/tcltk/tcl8.4/*. LES I said "overwrite" in quotes since it it not really overwritten if you avoid the default paths. If so, please update this page to indicate that. If you choose this option, you may find you also need to update an environmental variable for libraries, such as $ LD_LIBRARY_PATH or something similar. If you choose that option, be certain to update your $ PATH and $ MANPATH environment variables to include the new location BEFORE the OS default location. LV Some people find that installing ActiveTcl in a non-OS maintained location keeps the distribution from being overwritten. Choose the path to the installation you want to have as default on your system, and that's it. In either case, you will be prompted to choose from a menu. After that, run these command lines: update-alternatives -config tclsh Refer to 'man update-alternatives' for more information. I don't think it matters, it just has to be there or the command will not work. It determines priority above other choices. Update-alternatives -install tclsh wish /opt/path/to/Tcl/bin/wish8.5 5 Update-alternatives -install tclsh tclsh /opt/path/to/Tcl/bin/tclsh8.5 5 Run these command lines as root or with sudo:.Install ActiveTcl or your favorite distribution or compile source and 'make install'.You may want to select and install all Tcl-related packages just in case.Install both Tcl/Tk 8.4 and 8.5 from the official Ubuntu repositories, so you have those dependencies fulfilled in case some application requires them in the future, so Ubuntu won't "overwrite" your installation.For that reason, I recommend the following procedure: Conversely, if you fulfill the dependencies first and install your favorite flavor of Tcl/Tk later, Ubuntu will not acknowledge your choice automatically. You may end up running an older version of Tcl/Tk all the time if you don't pay attention. other binaries will be installed (probably not where you chose to install your choice of Tcl distribution) and the system will be updated to refer to those binaries instead of the ones you prefer. If you install ActiveTcl or compile from source, note that Ubuntu may "overwrite" your installation, i.e. You may prefer to install ActiveTcl, for example, for its thourough and up-to-date collection of packages if nothing else. one of my Tk applications plays sounds, but sound stops working after some time and I have to restart the app). That is not only messy, there are not many Tcl/Tk packages available in the official repositories, some of them may be outdated or even buggy (e.g. If you decide to install 8.6, you may end up having three versions of Tcl on Ubuntu: 8.4, 8.5 and 8.6. I still haven't run across any application that requires 8.3, but 8.6 is publicly available already. Therefore, you may end up with two versions of Tcl installed. Tcl 8.4 will be installed if the application requires it even if 8.5 would work just the same. Ubuntu will fulfill the requirement exactly, i.e. What annoys me is that some of the applications available in the official repositories require Tcl and/or Tk as a dependency, and each application requires a certain version of Tcl. LES in September, 2009: I have been running Ubuntu for some time and, although it has many notable qualities, I don't consider it a very Tcl-friendly distro. This information may also apply to other Debian-based Linux distributions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |