KJBweb

Technical Notes & How To's
Menu
  • Blog
  • How-To
Home
How-To
How to Install rar/unrar on Ubuntu 16.04 LTS (Xenial)

How to Install rar/unrar on Ubuntu 16.04 LTS (Xenial)

Karl November 28, 2016

An updated version of this post for Ubuntu 18.04 LTS (Bionic Beaver) is available here.

If you’re looking to cut down on FTP transfer times of many small files, or even just try to extract and archive you’ve just used wget to grab, rar and unrar always come in handy and are included in my default install list for any server I manage.

Installing rar and unrar under Ubuntu is trivial and should take you less than 30 seconds, so let’s dive right in.

Here’s how to install rar and unrar under Ubuntu 16.04 LTS (Xenial):

Ubuntu Rar Unrar Install

sudo apt-get update
sudo apt-get install rar unrar

As unrar is included in Ubuntu’s default repositories, you should see output along the lines of the following:

ubuntu@ubuntu-xenial:~$ sudo apt-get install rar unrar
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
 rar unrar
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/710 kB of archives.
After this operation, 1,967 kB of additional disk space will be used.
Selecting previously unselected package rar.
(Reading database ... 53691 files and directories currently installed.)
Preparing to unpack .../rar_2%3a5.3.b2-1_amd64.deb ...
Unpacking rar (2:5.3.b2-1) ...
Selecting previously unselected package unrar.
Preparing to unpack .../unrar_1%3a5.3.2-1_amd64.deb ...
Unpacking unrar (1:5.3.2-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up rar (2:5.3.b2-1) ...
Setting up unrar (1:5.3.2-1) ...
update-alternatives: using /usr/bin/unrar-nonfree to provide /usr/bin/unrar (unrar) in auto mode
ubuntu@ubuntu-xenial:~$

That’s it!

Thank you for using this tutorial to install rar and unrar on Ubuntu 16.04 LTS (Xenial), be sure to checkout some of my other guides in the sidebar or suggested below.

Share
Tweet
Email
Prev Article
Next Article
Tags:ubuntu unrar utils

About The Author

Karl

Systems engineer by day, website developer and electronics hobbyist by night.

Related Articles

Maven aims to remove the complexity and confusion which normally …

How to Install Maven in Ubuntu 16.04 LTS (Xenial)

Htop is best described as a more user friendly version …

How To Install htop on Ubuntu 16.04 LTS (Xenial)

One Response

  1. FC

    great!

    July 24, 2018

Leave a Reply

Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • How to Install the NewRelic MySQL Plugin
  • Repair “Repository Error: database disk image is malformed” YUM Issue
  • How to Check NTP Connectivity and Function on the Command Line
  • How to Perform a GET Request with CURL via the Command Line
  • How to Install and Remove a Deb Package via the Command Line in Ubuntu

Recent Comments

  • Karl on How to Install rar/unrar on Ubuntu 18.04 LTS (Bionic Beaver)
  • John on How to Install rar/unrar on Ubuntu 18.04 LTS (Bionic Beaver)
  • How to Install rar/unrar on Ubuntu 16.04 LTS (Xenial) - KJBweb on How to Install rar/unrar on Ubuntu 18.04 LTS (Bionic Beaver)
  • FC on How to Install rar/unrar on Ubuntu 16.04 LTS (Xenial)

Archives

  • August 2018
  • November 2016

Categories

  • Blog
  • How-To

KJBweb

Technical Notes & How To's
Copyright © 2019 KJBweb