Downloading a compressed folder sent by a Windows colleague or client — ending in .rar instead of .zip — and double-clicking it inside Ubuntu Files often fails with an error message saying “Could not open archive: There is no command installed for RAR archive files”. Ubuntu opens standard .zip archives straight out of the box, yet leaves proprietary RAR extraction support out of the initial installation. Here is how to add seamless RAR extraction in one step.
1. Install Official RAR Support So Ubuntu Files & Archive Manager Open .rar Files
Installing Ubuntu’s official unrar (or 7zip-rar) helper adds full support straight into Ubuntu’s built-in Archive Manager so double-clicking or right-clicking Extract works identically to .zip files.
- Press Ctrl + Alt + T to open a Terminal window.
- Update your package list and install
unrar(alongsidep7zip-fullso modern.7zarchives open seamlessly too) by running:sudo apt update && sudo apt install unrar p7zip-full - Enter your Ubuntu password when asked and press Y to confirm.
- Close Terminal and double-click your
.rarfile inside Ubuntu Files (or right-click -> Extract / Extract To…) — the contents unpack straight away.
Note that if Ubuntu reports Package 'unrar' has no installation candidate, make sure the official multiverse repository is enabled in Software & Updates (Ubuntu Software -> Downloadable from the Internet -> Software restricted by copyright or legal issues (multiverse)), or run sudo apt install unrar-free for non-encrypted older RAR files.
2. Handle Multi-Part .rar Archives (.part1.rar, .r00) Properly
Large software packs or photo sets shared as split archives often arrive as numbered pieces such as Photos.part1.rar, Photos.part2.rar, and Photos.part3.rar.
- Keep all numbered parts inside the exact same Downloads folder before extracting.
- Double-click or right-click -> Extract strictly on
part1.rar(not part2 or part3) — Archive Manager reads across all remaining pieces automatically.
3. Watch Out for Password-Protected RAR Files
If an encrypted RAR archive asks for a password yet throws an error using basic free extractors, full unrar (installed above rather than unrar-free) handles modern RAR5 password-protected archives cleanly without corrupted filenames.