Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2155942
  • 博文数量: 195
  • 博客积分: 4378
  • 博客等级: 上校
  • 技术积分: 4046
  • 用 户 组: 普通用户
  • 注册时间: 2007-09-09 11:37
个人简介

白天和黑夜只交替没交换无法想像对方的世界

文章分类

全部博文(195)

文章存档

2014年(3)

2013年(20)

2012年(18)

2011年(107)

2010年(17)

2009年(5)

2008年(20)

2007年(5)

分类: LINUX

2011-06-02 12:00:39

Centos下安装 uuencode

今天在论坛里看到(echo "contents"; uuencode urfile file)|mail -s "subject"

其中,(echo "contents"; uuencode urfile file)的前半句邮件内容,后半句邮件附件,但是,执行uuencode 时,报错,原来没有安装相应的包。google了一下,发现只须如下包即可。命令如下:

# yum install sharutils

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: data.nicehosting.co.kr
 * base: data.nicehosting.co.kr
 * extras: data.nicehosting.co.kr
 * rpmforge: fr2.rpmfind.net
 * updates: data.nicehosting.co.kr
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package sharutils.i386 0:4.6.1-2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                           Arch                         Version                          Repository                    Size
====================================================================================================================================
Installing:
 sharutils                         i386                         4.6.1-2                          base                         201 k

Transaction Summary
====================================================================================================================================
Install      1 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        

Total download size: 201 k
Is this ok [y/N]: y

sharutils-4.6.1-2.i386.rpm                                                                                   | 201 kB     00:03    
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : sharutils                                                                                                    1/1

Installed:
  sharutils.i386 0:4.6.1-2 

阅读(6914) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~