Which rpm package provides "uuencode" and "uudecode"command?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Issue

  • Which rpm package provides uuencode and uudecode command?
  • Unable to find the sharutils package in Red Hat Enterprise Linux (RHEL) 6.
  • Unable to find the sharutils package in Red Hat Enterprise Linux (RHEL) 7.
  • Unable to find the sharutils package in Red Hat Enterprise Linux (RHEL) 8.
  • Unable to find uuencode and uudecode command.

Resolution

  • The uuencode and uudecode command comes with sharutils package.
  • On Red Hat Enterprise Linux 4, install this package by using up2date command.
# up2date sharutils
  • On Red Hat Enterprise Linux 5, Red Hat Enterprise Linux 6, & Red Hat Enterprise Linux 7 install this package by using yum command.
# yum install sharutils
  • For Red Hat Enterprise Linux 6, "sharutils" package is available through RHEL Server Optional channel.
  • For Red Hat Enterprise Linux 7, "sharutils" package is available through Red Hat Enterprise Linux 7 Server - Optional channel.
  • For Red Hat Enterprise Linux 8, "sharutils" package is available through CodeReady Linux Builder repository.

Learn More

Depending on which subscription management tools you use, to learn more about subscribing to a channel, please review;

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

4 Comments

On RHEL6 "yum install sharutils" returns "No package sharutils available". I need uuencode on this server or an equivelant utility.

  • In Red Hat Enterprise Linux 6, "sharutils" package is available through "RHEL Server Optional" channel.

  • Refer the following article on topic "How to Subscribe to channel"   https://access.redhat.com/kb/docs/DOC-58266

Hi, uudecode will be avaliable in RedHat8?

The sharutils package is not found in RHEL8 though the CodeReady repo is installed:

[root@degreeworksapp4 sysctl.d]# yum install sharutils
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)          67 kB/s | 4.1 kB     00:00    
Red Hat Satellite Tools 6.9 for RHEL 8 x86_64 (RPMs)           31 kB/s | 1.9 kB     00:00    
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)       70 kB/s | 4.5 kB     00:00    
Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs)       31 kB/s | 1.9 kB     00:00    
No match for argument: sharutils
Error: Unable to find a match: sharutils
[root@degreeworksapp4 sysctl.d]# yum provides sharutils
Updating Subscription Management repositories.
Last metadata expiration check: 0:00:30 ago on Mon 28 Feb 2022 05:41:39 PM CST.
Error: No Matches found