Only Need to Extract Files?
First, install RPM Fusion's free and nonfree YUM repositories. For detailed information about installing RPM Fusion, see: http://rpmfusion.org/Configuration
su -c "rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm"su -c "rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm"Next, install the unrar packages from RPMFusion's nonfree repository.
su -c "yum install unrar"Done! You now have unrar in /usr/bin/unrar. This binary can only extract files from Rar archives. Use this command to see all available options:
/usr/bin/unrar -?Need to Create Rar Archives?
First, download the source RPM from DAG: http://dag.wieers.com/rpm/packages/rar
wget -c http://dag.wieers.com/rpm/packages/rar/rar-3.5.1-1.rf.src.rpmNow, install the source RPM. This will create a $HOME/rpmbuild tree. Please
note that you do not need to be root.
rpm -iv rar-3.5.1-1.rf.src.rpmNext, build a binary package in $HOME/rpmbuild. Again, no need to be root.
rpmbuild -bb ~/rpmbuild/SPECS/rar.specFinally, install the built RPM as root:
su -c "rpm -Uvh $HOME/rpmbuild/RPMS/$(arch)/rar-3.5.1-1.rf.x86_64.rpm"Done! You now have rar in /usr/bin/rar. This binary can build and extract Rar files. Use this command to see all available options:
/usr/bin/rar -?
No comments:
Post a Comment