01-23-2008
Actually:
gunzip package-file.gz # equivalent to "gzip -d"
pkgadd -d package-file
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
on Red Hat Enterprise Linux AS release 3 (Taroon).
How can I :
1-install a package (exemple : compat-gcc-7.3-2.96.128.src.rpm)
2-uninstall (or delete or deinstall) a package (exemple : compat-gcc-7.3-2.96.122).
Many thanks before. (6 Replies)
Discussion started by: big123456
6 Replies
2. Solaris
I'm a newcomer for Solaris.
I tried to install Net::FTP package ( a tool perl ) on our sun server 5.9.
We used the below command:
/usr/bin/perl MakeFilePL
make
make install
How can I uninstall this package ? (1 Reply)
Discussion started by: anhtt
1 Replies
3. UNIX and Linux Applications
i am struggling to find an error free, and complete install package for ImageMagick (with perl- "PerlMagick"). imagemagick.org not much help.... links for source, mirrors etc dont work. any pointers appreciated.
linux server. (2 Replies)
Discussion started by: mickeymouse
2 Replies
4. Solaris
I am working with sun solaris 9 and I want to install some packages but due to less disk space I am not able to install the packages.
I am giving the output of filesystem--
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 2148263 1997593 107705 ... (10 Replies)
Discussion started by: smartgupta
10 Replies
5. Solaris
Dears,
i am new user in solaris
i am using solaris 10
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=Sol-audio-drivers1.0-x86-G-F@CDS-CDS_SMI
after i unzip this package
i didn't found any package to install
cos i only... (1 Reply)
Discussion started by: sharkux
1 Replies
6. UNIX for Advanced & Expert Users
I was trying to install the solaris snoop package on a flavor of linux. I got the tar file, unzipped it. when I CD to the unzipped snoop directory, I ran the command ./configure ; make and I got the following error. Did anybody run into this before? what can I do to install snoop?
checking... (1 Reply)
Discussion started by: Pouchie1
1 Replies
7. Ubuntu
I am trying to install tcsh package in ubuntu 11
When i tried to invoke the tcsh,i was prompted to contact administrator to install tcsh package.
Since i am also the admin on my system its my job to install tcsh :D
I have downloaded tcsh package named "tcsh-6.17.00.tar", since i don not have... (12 Replies)
Discussion started by: animesharma
12 Replies
8. Linux
Dear all,
I would like to install a new version of package without remove old version on Centos and vice versa.
Please give me advice!
thanks much, (2 Replies)
Discussion started by: all4cfa
2 Replies
9. UNIX for Advanced & Expert Users
How do you install a obsoleted package? This is the error message if you are curious.
$ sudo rpm -i /home/bob/Downloads/OOO330_m20_native_packed-1_en-US.9567/RPMS/openoffice.org-ure-1.7.0-9567.i586.rpm
password for bob:
error: Failed dependencies:
openoffice.org-ure < 1:3.3.1 is... (5 Replies)
Discussion started by: cokedude
5 Replies
10. UNIX for Dummies Questions & Answers
Hello,
i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm"
in /usr/local/ directory.
I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't.
I did:
1st try: Didn't work
sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies
LEARN ABOUT DEBIAN
ns_zlib
ns_zlib(3aolserver) AOLserver Zlib Extension ns_zlib(3aolserver)
__________________________________________________________________________________________________________________________________________________
NAME
ns_zlib - Zlib compression support
SYNOPSIS
ns_zlib compress string
ns_zlib gunzip file
ns_zlib gzip string
ns_zlib gzipfile file
ns_zlib uncompress string
_________________________________________________________________
DESCRIPTION
The ns_zlib command enables compressing and uncompressing of strings or files. The command is available if the nszlib.so module is loaded
into AOLserver or the libnszlib.so, nszlib.dll, or libnszlib.dylib dynamic library is loaded using the load command in a suitable tclsh
such as nstclsh.
ns_zlib compress string
This command compresses the given string and returns a Tcl byte array object with the compressed data.
ns_zlib gunzip file
This command uncompresses the contents of the given gzipped file and returns a string as the result.
ns_zlib gzipfile file
This command is similar to the gzip shell routines, compressing the given file into a new file with the .gz extension. If success-
ful, the original uncompressed file is deleted.
ns_zlib uncompress bytearray
This command takes a byte array object which includes compressed data and returns an uncompressed string object.
EXAMPLES
The following examples demonstrate compressing and uncompressing a string;
# Compress Tcl string
set test "This is test string"
set data [ns_zlib compress $test]
set test [ns_zlib uncompress $data]
--> returns "This is test string"
# Compress the string into gzip format
set gzip [ns_zlib gzip $test]
# Save as gzip file
set fd [open /tmp/test.gz w]
fconfigure $fd -translation binary -encoding binary
puts -nonewline $fd $gzip
close $fd
# Uncompress gzipped file
set test [ns_zlib gunzip /tmp/test.gz]
--> returns "This is test string"
SEE ALSO
ns_adp_ctl(n), load(n)
KEYWORDS
GZIP, compress, uncompress
AOLserver 4.5 ns_zlib(3aolserver)