как установить winrar на linux

как установить winrar на linux

Люди, которые перешли на Linux с ОС Windows, привыкли пользоваться архиватором WinRAR. Популярность этого архиватора и формата RAR в частности, уже прошла, но все же его можно встретить.

Так как формат архивов RAR является проприетарным, популярные дистрибутивы Linux, такие как Ubuntu, Linux Mint, Debain и Fedore, не поддерживают этот формат архива «из коробки», но ее легко добавить.

Для того, чтобы подружить Ubuntu или Debian с файлами 7-zip, Вам сюда

История WinRAR

Для операционной системы Linux компания RARL ab выпускает нативные приложения WinRAR. Скачать можно – здесь. На удивление, но версии WinRAR for Linux актуальны и выпускаются параллельно с win-версиями. Надо отдать должное создателю. Кстати, разработчиком является Евгений Рошал, родившийся в Челябинске. Кроме WinRAR он причастен к разработке ранее популярного FAR Manager.

Кроме гордости за причастность русских к разработке WinRAR, особых достоинств на сегодняшний день у него нет. OpenSource архиватор 7-zip по производительности и функционалу на голову выше WinRAR.

Поддержка проприетарного формата от WinRAR на сегодняшний день очень распространена на территории России. Поэтому поддержку сбрасывать RAR со счетов не стоит.

Установка пакетов unrar и rar

Данный способ добавляет поддержку стандартному архиватору вашей операционной системы. Также есть возможность работать с rar из консоли.

В Debian пакета unrar нет изначально, так как это проприетарный формат архива. В Ubuntu unrar установлен, если при установки ОС вы ставили галочку – ставить проприетарные пакеты.

Если хотите создавать RAR в Ubuntu, то устанавливаем пакет rar:

Всего и делов! Файлы RAR теперь открываются и можно создавать RAR прямо из контекстного меню Nautilus`a.

Примеры работы с rar и unrar

Используем unrar

Разархивируем файл rar в Linux — /home/user/file_name.rar в директорию /home/user/tmp:

Распаковываем rar, если он запаролен:

Проверяем целостность rar в Ubuntu:

Используем rar

Создаем RAR в Linux:

Степень сжатия может быть от 0 до 5. Если не указывать, то по умолчанию используется 3 (средняя степень сжатия).

Комментарии

У меня в ubuntu rar открывает, но кодировка не соответствует системной. Файлы с неправильной кодировкой не распаковываются. Как можно исправить?

laacrus: У меня в ubuntu rar открывает, но кодировка не соответствует системной. Файлы с неправильной кодировкой не распаковываются. Как можно исправить?

Даже не знаю. Не разу с таким не сталкивался.

А лучше установить в ubuntu архиватор 7-zip, который поддерживает работу с rar полностью
sudo apt-get install p7zip-full
примерно так 😉

Turuk Makto: А лучше установить в ubuntu архиватор 7-zip, который поддерживает работу с rar полностью sudo apt-get install p7zip-full примерно так 😉

Можно и так. Я об этом тоже писал здесь. Но замечательно, когда есть альтернативы

laacrus: У меня в ubuntu rar открывает, но кодировка не соответствует системной. Файлы с неправильной кодировкой не распаковываются. Как можно исправить?

unrar x имя_архива.rar или unrar e имя_архива.rar

Источник

Аналоги WinRAR для Linux

У многих пользователей, которые только перешли на Linux, часто возникает вопрос, а есть ли какие-либо менеджеры архивов под данную ОС, которые будут нормальной альтернативой WinRAR. Далее я покажу вам 4 хорошие, на мой взгляд, программы.

Аналоги WinRAR в Linux

По сути все архиваторы для Linux, которые работают в графическом интерфейсе, являются оболочками для консольных утилит, поэтому они поддерживают одни и те же форматы архивов. Но для этой поддержки нужно, чтобы в системе были установлены соответствующие утилиты (zip, unzip, rar, unrar, tar, lzma, p7zip, bzip2 и другие), если они вам нужны.

1. Ark

Архиватор, входящий в комплект программ KDE. Код программы написан на C++, интерфейс с использованием Qt. По сути является графической оболочкой для библиотек и консольных приложений, работающих с архивами. Распространяется под лицензией GPL.

как установить winrar на linux

Ubuntu

Ark присутствует в основном репозитории, просто введите следующую команду:

sudo apt install ark

Arch

Данный архиватор также имеется в стандартных репозиториях Arch:

2. File Roller

Аналог WinRAR Linux, разрабатываемый для оболочки Gnome (но это не значит, что её можно использовать только там). По сути File Roller является Front-end, графической оболочкой, дающей пользователю единый интерфейс для различных консольных архиваторов. Данная программа написана на C, а интерфейс на GTK+. Распространяется под лицензией GPL.

Внимание! На момент написания статьи программа не обновлялась с 23.09.13!

как установить winrar на linux

Ubuntu

Данный пакет присутствует в официальном репозитории Ubuntu, так что используйте следующую команду:

sudo apt install file-roller

Arch

Программа также есть в стандартных репозиториях:

3. PeaZIP

Бесплатный, кроссплатформенный архиватор, написанный на Object Pascal и Pascal. Распространяется для Windows 9x, Windows NT и Linux. Имеет свой формат пакетов «*.pea», который поддерживает многотомные архивы, сжатие, системы шифрования и контроля целостности. Работа же с другими форматами чаще обеспечивается за счёт различных внешних библиотек. Интерфейс программы имеет реализацию как на Qt, так и на GTK+. Распространяется под лицензиями GPL и LGPL.

Внимание! Поддержка кодировки UTF-8 реализована не полностью!

как установить winrar на linux

Ubuntu

В официальных репозиториях Ubuntu данного пакета нет. Лучше скачайте deb-файл с сайта проекта, выбрав нужную вам версию.

Arch

Данного пакета нет и в стандартных репозиториях Arch, так что придётся воспользоваться AUR. Qt версия:

4. Xarchiver

Легковесный файловый архиватор. Архиватор по умолчанию для таких сред, как LXDE и XFCE. Написана данная программа на C, интерфейс же построен на GTK+. Распространяется под лицензией GPLv2.

Внимание! Разработка приостановлена!

как установить winrar на linux

Ubuntu

Чтобы установить данную программу в этом дистрибутиве, просто выполните следующую команду в терминале:

sudo apt install xarchiver

Arch

Пакет с данной программой есть и в официальных репозиториях Arch:

Выводы

В данной статье мы рассмотрели несколько программ, которые можно использовать как аналоги WinRAR Linux. Какую из них использовать, решать вам. А каким архиватором предпочитаете пользоваться вы? Напишите в комментариях!

Нет похожих записей

Оцените статью:

Об авторе

Обычный подросток. Интересуюсь современными технологиями, СПО и различными ОС, начиная от Kolibri и React, заканчивая *BSD и GNU/Linux. На данный момент я использую Xubuntu.

31 комментарий

Для информации. Запустил свой любимый архиватор WinRAR под WINE и пользуюсь

peazip как оболочку, xz как архиватор, в редких случаях пакую в zip/bzip2 для старых компов

Благословляешь? Спасибо, уже многим пользуюсь.
MS Office 2003, TheBat, Архивариус 3000, dupkiller, FastStone, AIMP и прочее

Абсолютной защиты конечно нет, но можно сильно поднять непробиваемость.

Не забудьте указать файл Regedit.exe, иначе Вы сами не сможете больше запустить редактор реестра! Для сброса ограничения на запуск программ надо установить значение ключа RestrictRun в 0

И уже не много всего))))), можно сказать вообще ничего. Пользуйсь, закрываю

Источник

WinRAR Linux на Русском

как установить winrar на linux
Поддерживаемые ОСWindows, MAC, LinuxДля устроиствкомпьютерЯзык интерфейсаРусский, Английский и другиеПоследнее обновление2020Тип распространенияУсловно-бесплатныйСтоимость на официальном сайте1070 руб.РазработчикAlexander RoshalТриал40 днейОфициальный сайтwww.rarlab.com

WinRAR Linux скачать бесплатно русскую версию

Описание WinRAR

WinRAR (ВинРар) на русском языке – это мощнейшая утилита для создания надежных архивов. Уникальный алгоритм архивации RAR показывает результат до 15% лучше конкурентов по степени сжатия, а использование полной мощности многоядерных процессоров сэкономит время. Избежать ситуации, когда файл не помещается в письме или на диске поможет функция разделения архива на отдельные тома. Русская версия винрар идеально сочетает в себе простоту интерфейса, автоматические и ручные режимы архивации, а так же функции для защиты и восстановления архивов.

Функционал

Поддержканаиболее известных на сегодня форматов архивов;

6 методов сжатия, позволяющих выбирать соотношение степени и скорости сжатия;

Функция восстановления поврежденных архивов;

Возможность разделять архивы на несколько томов для их записи на внешние носители или отправки по e-mail;

Определение формата файла;

Автоматический выбор программой актуального метода архивации;

Использование 256-битного шифрования (AES) и электронных подписей для защиты;

Создание SFX архивов с помощью уникальных модулей;

Поддержка многоядерных процессоров, увеличивающая скорость сжатия RAR и ZIP;

Интеграция с проводником Windows, позволяющая создавать архивы в два клика.

Источник

How to Use RAR files in Ubuntu Linux [Quick Tip]

Last updated September 22, 2020 By Ankush Das 32 Comments

Looking for WinRAR in Linux? Here’s how to extract and use RAR files in Linux.

RAR is a quite good archive file format. But, it isn’t the best when you’ve got 7-zip in Linux offering great compression ratios and Zip files being easily supported across multiple platforms by default.

It is one of the most popular archive formats, but, Ubuntu‘s archive manager does not support extracting RAR files nor does it let you create RAR files. It would rather show you this error:

There is no command installed for RAR archive files. Do you want to search for a command to open this file?

как установить winrar на linux

Fret not, we have a solution for you. To enable the support to extract RAR files, you need to install UNRAR – which is a freeware by RARLAB. And, to create and manage RAR files, you need to install RAR.

Extracting RAR Files in Linux

Unless you have it installed, extracting RAR files will show you an error “Extraction not performed“. Here’s how it should look like (Ubuntu 18.04):

как установить winrar на linux

If you want to resolve the error and easily be able to extract RAR files, follow the instructions below to install unrar.

Step 1: Install unrar package from multiverse repository

Launch the terminal and type in the following command to make sure you have multiverse repository enabled in Ubuntu:

Update the package cache:

Now install unrar package:

Step 2: Extract RAR files either graphically or via command line

After installing unrar, you may choose to type in “unrar” (without the inverted commas) to know more about its usage and how to use RAR files with the help of it.

The most common usage would obviously be extracting the RAR file you have. So, you can either perform a right-click on the file and proceed to extract it from there or you can do it via the terminal with the help of this command:

You can see that in action here:

как установить winrar на linux

If the file isn’t present in the Home directory, then you have to navigate to the target folder by using the cd command in Linux. For instance, if you have the archive in the Music directory, simply type in “cd Music” to navigate to the location and then extract the RAR file.

Creating & Managing RAR files in Linux

UNRAR does not let you create RAR files. So, you need to install the RAR command-line tool to be able to create RAR archives.

To do that, you need to type in the following command:

Here, we will help you create a RAR file. In order to do that, follow the command syntax below:

When you type a command in this format, it will add every item inside the directory to the archive. In either case, if you want specific files, just mention the exact name/path.

By default, the RAR files reside in HOME directory.

как установить winrar на linux

In the same way, you can update/manage the RAR files. Just type in a command using the following syntax:

To get the list of commands for the RAR tool, just type “rar” in the terminal.

Wrapping Up

Now that you’ve known how to use RAR files on Ubuntu, will you prefer using it over 7-zip, Zip, or Tar.xz?

Let us know your thoughts in the comments below.

Like what you read? Please share it with others.

About Ankush Das

A passionate technophile who also happens to be a Computer Science graduate. You will usually see cats dancing to the beautiful tunes sung by him.

# The script is very simple, it’s just a quick help if you are interested.

# To run the code, just type:

# python3
# Example: python3 rar-extract.py file_to_extract.rar

import os
import sys

# rename rar file to remove spaces from the name
raw_argv = sys.argv[1]
argv_ws = raw_argv.replace(” “,”_”)
os.rename(sys.argv[1],argv_ws)

#create the new folder
current_directory = os.getcwd()
final_directory = os.path.join(current_directory, arg)
if not os.path.exists(final_directory):
os.makedirs(final_directory)

#path to the new flder
path = current_directory +”/”+ arg

#enter the new folder
os.system(“cd ” + path)

# command line to extract the file
terminal_line = “unrar e ” + str(argv_ws) + ” ” + path

Источник

How to Extract RAR Files in Ubuntu Linux

For users who don’t know, a RAR file is a compressed file that is split into a set of multi-volume files. This is usually done in cases where there are large file sets that are needed to be shared or transferred, hence are compressed into a zip file. Similarly, for zip files, when they are transferred or downloaded from the internet need to be extracted. A number of tools are available to help extract and compress these files within seconds, regardless of their size or quantity.

Extracting RAR Files in Linux distributions

RAR is a free tool that is pre-installed on Windows operating systems but unfortunately doesn’t support Linux platforms. If you will try extracting in Ubuntu, the archive manager will show you the following dialogue box:

как установить winrar на linux

This is because the system won’t recognize the file type like Windows and does not have any supported tool to extract it. In other cases, it will also display an error somewhat like this:

как установить winrar на linux

Read on below to find out how you can install RAR tools on Linux and use those to open, extract, and compress a file.

How to Install Unrar tool in Linux

Unrar is compatible mostly for Linux distributions where you can easily install the package from the command terminal using the apt programs.

Open Command Terminal and type the following command(s) if you’re using Ubuntu or Debian based distros:

If you are using Fedora distro, type the command in your command prompt:

For users using CentOS/ RHEL 64-bit distros, you can install the Unrar tool using these commands:

(Just remove ‘x64’ from the above command if you want to alter it for 32-bit systems)

How to Extract a RAR File in Linux

This will start extracting your file using the Unrar tool like this below:

как установить winrar на linux

Note: Since you have the Unrar tool, you can also perform these operations directly through the right click, besides using these commands on the terminal.

как установить winrar на linux

как установить winrar на linux

How to View Contents inside a RAR File in Linux

A compressed file contains multiple files of large sizes that are zipped together inside it. If you want to list out all the file contents inside an archive file, use the command below. This will display a list of files with their name, size, time, date created and permissions.

как установить winrar на linux

Testing a RAR File in Linux

If for instance, you have downloaded a file from the internet and would like to test its integrity, the Unrar tools offers that too. The following command will do a complete check on the archive file and its contents, and then show the results. Type:

как установить winrar на linux

The unrar tool that we just downloaded uses the unrar command to carry out the above tasks. It lets you extract, list out and test files. There is no option for creating a rar file with this particular tool. Therefore, we will install another Linux command-line utility called RAR to create compressed/archive files.

Installing RAR in Linux

To install the RAR command option, type the following commands in the terminal:

After you execute the commands, the result will be:

как установить winrar на linux

как установить winrar на linux

Creating RAR Files in Linux

This will create an archive file name ‘filename’ for the directory filename1. See how this will look like below:

как установить winrar на linux

Deleting Files from any Archive

Out of the multiple files in an archive, if you want to delete a particular file through the command terminal, type the following command:

Recovering deleted Archives

If you deleted an archive file by accident or lost it through data loss, don’t worry, you can always recover it back. The following command will recover the file back or will fix it if there has been any loss or damage.

как установить winrar на linux

Setting password on a Particular Archive

This incredible Rar tool lets you do a number of interesting things with your archive files from creating, deleting, and adding, to changing their directories and protecting them through passwords.

If you want to protect your files from unknown access or extraction, you can set a password on them. To password-protect your file, type the following command:

как установить winrar на linux

Now, to verify the changes, type the command to open the directory to see if it asks for password.

как установить winrar на linux

Wrap Up

RAR and UNRAR are very useful when it comes to handling and managing files in Linux. They provide multiple options to make your work easier and more convenient. When compared to Windows, things get a little complicated for Ubuntu, but these commands are simple, easy to execute and give results within seconds.

If you need more description on the commands, just the run the following two:

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

ВерсияПлатформаЯзыкРазмерФорматЗагрузка
WinRAR x32 для компьютераWindowsРусский1,9MB.exe