09-28-2001
Did you downloaded a source bundle or a binary (SUN pkg)
version?
If source, this would of course require a C compiler,
you can usually do (as root)...
./configure
make all
make install
make clean
...this would normall install it in /usr/local/bin
If binary (SUN pkg), then you would probably use pkg-add.
If pkg-add is not found, try running...
find / -name pkg-add -print
Assuming you get somthing like...
/usr/adm/bin/pkg-add
...then you could add the path to your $PATH
or just execute it by type the complete path name.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am very new to Unix and am using SunOS 5.7. I have created a new Unix account named "oracle" using the useradd utility, and placed it in the /users directory.
I am able to log in as "oracle", but now I can't see anything in the users directory! I used the
ls | ws -l
command to count the... (2 Replies)
Discussion started by: Val
2 Replies
2. Programming
I am writing a c program with the use of the curses but when i tried compiling i get the error that the curses library is not found
the header file i included is curses.h
and th command i typed is
gcc -o chat chat.c -lcurses
1) Is this correct in linux?
2) found a file libncurses.so.5.2
... (1 Reply)
Discussion started by: xenon830
1 Replies
3. Programming
I need to compile a file,but 'make' does
not work.please tell me how to use it or
need which tools? (3 Replies)
Discussion started by: dsun5
3 Replies
4. UNIX for Dummies Questions & Answers
my solaris text talks about the 'find' command... it further goes to talk about an "action" used with the find command.
I am completely confused as to what the {} do with the find comand.
the explanation is this: "A set of braces, {}, delimits where the file name is passed to the command from... (2 Replies)
Discussion started by: xyyz
2 Replies
5. Shell Programming and Scripting
I wonder how I shall read the result below, especially 'what'
shown below.
The result was shown when I entered 'w'.
E.g what is TOP? What is gosh ( what does selmgr mean?)?
login@ idle JCPU PCPU what
6:15am 7:04 39 39 TOP
6:34am 6:45 45 45 TOP
6:41am ... (1 Reply)
Discussion started by: Aelgen
1 Replies
6. UNIX for Dummies Questions & Answers
How can I find out? Besides looking on the box of my distro and checking their. (2 Replies)
Discussion started by: DISTURBED
2 Replies
7. UNIX for Dummies Questions & Answers
echo 'it's friday'
why appear the > (3 Replies)
Discussion started by: yls177
3 Replies
8. UNIX for Advanced & Expert Users
Hi,
I am facing an interesting aspect of find command...
to be clear, we are running a small web server with oracle 8i database and Oralce9iAS on Sun E250 with Solaris 2.6
Over a period of time, the free memory ( displayed in 'top' utility ) drops down.. we could relate this to dedicated... (6 Replies)
Discussion started by: shibz
6 Replies
9. UNIX for Advanced & Expert Users
Somehow someone created a file named '-ov' in the root directory.
Given the name, the how was probably the result of some cpio command they bozo'ed.
I've tried a number of different ways to get rid of it using * and ? wildcards, '\' escape patterns etc.. They all fail with " illegal option --... (3 Replies)
Discussion started by: GSalisbury
3 Replies
10. Shell Programming and Scripting
Hopefully this doesn't come off as too much of a "newbie" question or a flamebait. But I have recently begun working with a Sun Solaris box after having spent the past five years working with RedHat. From what i can tell, thing look fairly similar and the 'man' command is some help. But I've... (7 Replies)
Discussion started by: deckard
7 Replies
LEARN ABOUT CENTOS
pkg::create
pkg::create(n) Tcl Built-In Commands pkg::create(n)
__________________________________________________________________________________________________________________________________________________
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(n)
KEYWORDS
auto-load, index, package, version
Tcl 8.3 pkg::create(n)