You are not logged in.

#1 2008-04-24 07:23:37

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

What's the name of the rar utility?[SOLVED]

What is it? pacman yielded no clue so far; it acts as if there were no such thing. Meanwhile both Ark and Krusader refuse to build a rar archive.

Last edited by Llama (2008-11-08 18:38:36)

Offline

#2 2008-04-24 07:32:59

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: What's the name of the rar utility?[SOLVED]

pacman -S unrar

it's in the [extra] repo wink


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#3 2008-04-24 07:51:07

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: What's the name of the rar utility?[SOLVED]

unrar's in place. Reinstalled it; no difference.

Offline

#4 2008-04-24 08:21:01

semdornus
Member
From: Tokyo
Registered: 2007-08-07
Posts: 47

Re: What's the name of the rar utility?[SOLVED]

I believe unrar is for, well, unrarring only.
If you want to make RARs you'll have to get rar itself.
It doesn't seem to be in AUR anymore, but Google cache still has it.

Last edited by semdornus (2008-04-24 08:21:45)

Offline

#5 2008-04-24 08:23:06

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: What's the name of the rar utility?[SOLVED]

Unrar, like it's name implies, only extracts rar files. The rar file is a proprietary format, owned by RarLab, they charge for the utility to create the archives.

Here is the PKGBUILD for the shareware version of rar:

# Contributor: Vinay S Shastry <vinayshastry@gmail.com>

pkgname=rar
pkgver=3.7.1
pkgrel=3
pkgdesc="The RAR compression program"
arch=('i686')
url="http://rarlab.com/"
[ "$CARCH" = "i686" ] && depends=('gcc-libs')
[ "$CARCH" = "x86_64" ] && depends=('lib32-gcc-libs')
source=(http://www.rarlab.com/rar/rarlinux-$pkgver.tar.gz)
md5sums=('b52249002e279a3e97afc25b5758ec7c')
license=('custom')
options=(docs !strip)
conflicts=('unrar')
provides=('unrar')

build() {
  cd $startdir/src/rar
  mkdir -p $startdir/pkg/{usr/bin,/usr/lib,etc}
  install -m 755 rar $startdir/pkg/usr/bin
  install -m 755 unrar $startdir/pkg/usr/bin
  install -m 644 rarfiles.lst $startdir/pkg/etc
  install -m 755 default.sfx $startdir/pkg/usr/lib

  # License
  mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
  install -m644 license.txt $startdir/pkg/usr/share/licenses/$pkgname/

  # Manual
  mkdir -p $startdir/pkg/usr/share/doc/rar
  install -m644 rar.txt readme.txt whatsnew.txt technote.txt $startdir/pkg/usr/share/doc/rar
}

Last edited by elliott (2008-04-24 08:26:27)

Offline

#6 2008-04-24 08:39:06

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: What's the name of the rar utility?[SOLVED]

Ah, sorry, I misunderstood.


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#7 2008-04-24 18:21:41

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: What's the name of the rar utility?[SOLVED]

I can't really understand that. If it's not free of charge, installing it without a payment is a theft, PKGBUILD, pkg.tar.gz of whatever. If it's free of charge, a loose PKGBUILD is a joke in a bad taste. After all, I can play mp3, use nvidia drivers, all with no strings attached within the same distribution, can I not?

Offline

#8 2008-04-24 18:29:38

skymt
Member
Registered: 2006-11-27
Posts: 443

Re: What's the name of the rar utility?[SOLVED]

RAR is shareware. That is, it's freely distributed, but the author requests payment for its use after a trial period.

Offline

#9 2008-04-24 18:41:26

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: What's the name of the rar utility?[SOLVED]

Llama, mp3s are patent-burdened (not available as standard in many distros), and Nvidia do not (and probably cannot, without being sued themselves) release their sourcecode - and again, not available as standard.

Anyway, the bottom line is, use e.g. .tar.bz2 to compress files, instead of rar wink

Last edited by brebs (2008-04-24 18:42:25)

Offline

#10 2008-04-24 18:49:18

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: What's the name of the rar utility?[SOLVED]

brebs wrote:

Anyway, the bottom line is, use e.g. .tar.bz2 to compress files, instead of rar wink

Or p7zip.

Offline

#11 2008-11-08 18:36:57

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: What's the name of the rar utility?[SOLVED]

rar is in archlinuxfr repository smile

Add to /etc/pacman.conf:

[archlinuxfr]
Server = http://repo.archlinux.fr/i686

or

[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64

There's a lot more there, like a packaged virtualbox, yaourt, etc. smile

Last edited by Llama (2008-11-08 18:39:50)

Offline

Board footer

Powered by FluxBB