Ataraxia 发表于 2011-05-13 09:31

装了gzip-1.4-sol8-sparc-local,gunzip还是不能用

本帖最后由 Ataraxia 于 2011-05-13 09:33 编辑

gzip 是可以用的
环境变量已经设置


#which gunzip
/usr/local/bin/gunzip
#/usr/local/bin/gunzip gzip-1.4-sol8-sparc-local.gz
/usr/local/bin/gunzip: Command not found


环境
#uname -a
SunOS david 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-5_10

bj161109 发表于 2011-05-13 09:39

你怎么装这个包的?

doging 发表于 2011-05-13 10:38

检查一下/usr/local/bin/gunzip是不是一个角本或链接

easybegin 发表于 2011-05-13 10:41

检查PATH

Ataraxia 发表于 2011-05-13 11:01

检查一下/usr/local/bin/gunzip是不是一个角本或链接
doging 发表于 2011-05-13 10:38 http://bbs.chinaunix.net/images/common/back.gif


真的啊

gunzip 怎么是个脚本
那是不是需要安装gunzip啊




[#/usr/local/bin]vi gunzip
"gunzip" 61 lines, 2265 characters
#!/usr/bin/bash
# Uncompress files.This is the inverse of gzip.

# Copyright (C) 2007 Free Software Foundation

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

bindir='/usr/local/bin'
case $1 in
--__bindir) bindir=${2?}; shift; shift;;
esac
PATH=$bindir:$PATH

doging 发表于 2011-05-13 11:04

{:3_187:}

Ataraxia 发表于 2011-05-13 11:52

请问怎么处理

easybegin 发表于 2011-05-13 13:29

回复 7# Ataraxia


    系统自带gunzip

easybegin 发表于 2011-05-13 13:30

回复 7# Ataraxia


    默认是/usr/bin/gunzip

东方蜘蛛 发表于 2011-05-13 15:56

# gzip -d *.gz
页: [1] 2
查看完整版本: 装了gzip-1.4-sol8-sparc-local,gunzip还是不能用