LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-17-2008, 07:00 AM   #1
hashbangbinbash
Member
 
Registered: Mar 2008
Posts: 106

Rep: Reputation: 16
Problem using uuencode


I'm trying to use uuencode with the mail command but it doesn't seem to be on my CentOS system. I did a man uuencode and nothing came up, so I did this

Code:
[root@hashbang]# yum install uuencode
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
[root@hashbang]# whereis uuencode
uuencode: /usr/share/man/man1p/uuencode.1p.gz
I don't know what to do with this lp.gz file, I tried gunziping it but that just left an equally mysterious .lp file. How can I make it so uuencode works?

anyhelp'preciated.
 
Old 04-17-2008, 08:25 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
The misterious uuencode.1p.gz file is a manual page, as you can see from its location.

Looking at the output of the yum command, it looks like the package has not be found nor installed. I cannot tell where the uuencode man page comes from, but you can always find out by
Code:
rpm -qf /usr/share/man/man1p/uuencode.1p.gz
maybe it comes from a collection of unix man pages, even if the package has not been installed.

Anyway, why don't you try to install the uudeview package? It is available for CentOS and provides the required functionality. For example to send a mail with a properly encoded attachment, you can use something like
Code:
uuenview -b -m <email_address> -s <subject> -a <file_to_attach>
 
Old 04-17-2008, 08:54 AM   #3
hashbangbinbash
Member
 
Registered: Mar 2008
Posts: 106

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by colucix View Post
The misterious uuencode.1p.gz file is a manual page, as you can see from its location.

Looking at the output of the yum command, it looks like the package has not be found nor installed. I cannot tell where the uuencode man page comes from, but you can always find out by
Code:
rpm -qf /usr/share/man/man1p/uuencode.1p.gz
maybe it comes from a collection of unix man pages, even if the package has not been installed.

Anyway, why don't you try to install the uudeview package? It is available for CentOS and provides the required functionality. For example to send a mail with a properly encoded attachment, you can use something like
Code:
uuenview -b -m <email_address> -s <subject> -a <file_to_attach>
Thanks for the advise.

I did notice the /man/ location but wasn't sure why something compressed and with an .lp extension would be there. Now I see that that's how man pages are stored, I'd always assumed they were just... txt files or something.

Last edited by hashbangbinbash; 04-17-2008 at 08:55 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
uuencode takes forever to finish. z-vet Linux - General 2 09-30-2006 10:48 AM
does fedora have uuencode? sorno Linux - Newbie 2 08-07-2005 06:40 AM
uuencode doesn't attach on linux bigearsbilly Programming 1 02-10-2005 08:57 AM
uuencode Berhanie Programming 4 11-27-2004 06:33 PM
where to get : uuencode, uncompress, compress RitaChin Linux - General 3 06-20-2003 10:42 AM


All times are GMT -5. The time now is 05:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration