Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pkg::create(3tcl) [debian man page]

pkg::create(3tcl)					       Tcl Built-In Commands						 pkg::create(3tcl)

__________________________________________________________________________________________________________________________________________________

NAME
pkg::create - Construct an appropriate 'package ifneeded' command for a given package specification SYNOPSIS
::pkg::create -name packageName -version packageVersion ?-load filespec? ... ?-source filespec? ... _________________________________________________________________ DESCRIPTION
::pkg::create is a utility procedure that is part of the standard Tcl library. It is used to create an appropriate package ifneeded com- mand for a given package specification. It can be used to construct a pkgIndex.tcl file for use with the package mechanism. OPTIONS
The parameters supported are: -name packageName This parameter specifies the name of the package. It is required. -version packageVersion This parameter specifies the version of the package. It is required. -load filespec This parameter specifies a binary library that must be loaded with the load command. filespec is a list with two elements. The first element is the name of the file to load. The second, optional element is a list of commands supplied by loading that file. If the list of procedures is empty or omitted, ::pkg::create will set up the library for direct loading (see pkg_mkIndex). Any num- ber of -load parameters may be specified. -source filespec This parameter is similar to the -load parameter, except that it specifies a Tcl library that must be loaded with the source com- mand. Any number of -source parameters may be specified. At least one -load or -source parameter must be given. SEE ALSO
package(3tcl) KEYWORDS
auto-load, index, package, version Tcl 8.3 pkg::create(3tcl)

Check Out this Related Man Page

pkg::create(3tcl)					       Tcl Built-In Commands						 pkg::create(3tcl)

__________________________________________________________________________________________________________________________________________________

NAME
pkg::create - Construct an appropriate 'package ifneeded' command for a given package specification SYNOPSIS
::pkg::create -name packageName -version packageVersion ?-load filespec? ... ?-source filespec? ... _________________________________________________________________ DESCRIPTION
::pkg::create is a utility procedure that is part of the standard Tcl library. It is used to create an appropriate package ifneeded com- mand for a given package specification. It can be used to construct a pkgIndex.tcl file for use with the package mechanism. OPTIONS
The parameters supported are: -name packageName This parameter specifies the name of the package. It is required. -version packageVersion This parameter specifies the version of the package. It is required. -load filespec This parameter specifies a binary library that must be loaded with the load command. filespec is a list with two elements. The first element is the name of the file to load. The second, optional element is a list of commands supplied by loading that file. If the list of procedures is empty or omitted, ::pkg::create will set up the library for direct loading (see pkg_mkIndex). Any num- ber of -load parameters may be specified. -source filespec This parameter is similar to the -load parameter, except that it specifies a Tcl library that must be loaded with the source com- mand. Any number of -source parameters may be specified. At least one -load or -source parameter must be given. SEE ALSO
package(3tcl) KEYWORDS
auto-load, index, package, version Tcl 8.3 pkg::create(3tcl)
Man Page

5 More Discussions You Might Find Interesting

1. Solaris

How to remove a pkg ,urgent!!

HI all, I would like to know, how we can remove a package? I know that pkgrm will do the job ,but specifying the right kinda package is important.. And i dont know how to figure that one out? Eg:if i have installed a pkg called virtualbox, If i do, pkgrm SUNWvirtualbox ,it says "no such file... (2 Replies)
Discussion started by: wrapster
2 Replies

2. Programming

to create library

can anyone tell the command to create library in unix when i have a .c file. i need to create a lib file from the c file and then want this library to link with other c files and perform my task.. can anyone help.. (2 Replies)
Discussion started by: mohit3884
2 Replies

3. Solaris

How extract SUNWexplo.7.1.pkg & SUNWexplu.7.1.pkg from install_stb.sh?

Hi all, Could please guideas how to extract SUNWexplo.7.2.pkg & SUNWexplu.7.2.pkg from install_stb.sh. I need to upgrade my Sun Explorer to 7.2 version from 7.1 . This what written in read me file about its installation: The Lightweight Availability Collection Tool (LWACT) is no... (1 Reply)
Discussion started by: manalisharmabe
1 Replies

4. Solaris

Pkg problem, one zone trying pkg.Oracle.com on port 1008

Hi Solaris Experts, The pkg utility on one of my non-global zones has stopped working, it's trying to connect to port 1008 at pkg.oracle.com I was using pkg successfully from this zone, but now it's showing this error: lzone1 $ pkg search xterm pkg: Some repositories failed to respond... (4 Replies)
Discussion started by: ad101
4 Replies

5. AIX

Help to find isutf8 utility for AIX 6.1

Hello everyone, I need to validate the file format for the UTF-8 standard. I know that "isutf8"utility is a part of "moreutils" pkg, I was able to find this package for the Linux but my environment in the AIX 6.1. I would be greatly appreciate your suggestion to my search. I am not familiar with... (5 Replies)
Discussion started by: Nadya Chipova
5 Replies