• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar

KJBweb

Technical Notes & How To's

  • Home
  • How-to
  • Quick Fixes
  • Examples
  • Hardware
You are here: 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)

November 28, 20161 Comment

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:

[email protected]:~$ 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
[email protected]:~$

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.

Filed Under: How-to Tagged With: ubuntu, unrar, utils

Reader Interactions

Comments

  1. FC says

    July 24, 2018 at 10:26 am

    great!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recent Posts

  • How To Get SMETS1/2 Smart Meter Data into HomeAssistant the Easy Way
  • How to Install 7zip on Ubuntu 18.04 LTS (Bionic Beaver)
  • 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

Recent Comments

  • himanshu on How to Test Memcached Connectivity
  • moun on How to Perform a GET Request with CURL via the Command Line
  • 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)

Archives

  • November 2022
  • February 2019
  • August 2018
  • November 2016

Categories

  • Examples
  • Hardware
  • How-to
  • Quick Fixes

Copyright © 2023 · WordPress · Log in