Pejman Moghadam / Slackware

Slackware 13.1 - Installing unrar (with epkg)

Public domain


Installation

cd /usr/src
wget ftp://ftp.rarlabs.com/rar/unrarsrc-4.0.5.tar.gz
su - install
cd /usr/src
tar xf unrarsrc-4.0.5.tar.gz
cd unrar
cp makefile.unix Makefile
make
make install DESTDIR=/usr/local/encap/unrar-4.0.5/usr
cd /usr/local/encap/
mkencap unrar-4.0.5/
logout
cd /usr/local/encap/
epkg unrar-4.0.5

Usage

Extract files to current directory :

unrar e filename.rar

Extract files with full path :

unrar x filename.rar

BY: Pejman Moghadam
TAG: epkg, unrar
DATE: 2011-01-29 14:24:13


Pejman Moghadam / Slackware [ TXT ]