Here are the steps to create a rar file in linux.
Install a rar package by the following command
$ sudo apt-get install rar
After that just typed the command to create a rar archive of a file or directory
$ sudo rar a filename.rar input
filename.rar is the output file.
input is nothing but a directory.
For extracting a RAR Files in Ubuntu,I have got a solution.
Install the package unrar
$ sudo apt-get install unrar
then run the below command to extract the files.
$ unrar x filename.rar
To list what are all the files inside the rar file.
$ unrar l filename.rar
After a mess up commands,i have got a solution from my friend who fix the Adobe Flex Builder in Linux(Much more easier way).
Create a new directory in /home/username/name of the directory.
Copy both the downloaded file to that directory.
Open up the ‘Terminal’.
Type the command to extract your eclipse.
$ sudo tar xf eclipse-java-europa-winter-linux-gtk.tar.gz
then start the Flex builder installer.
$ sh flexbuilder_linux_install_a4_081408.bin
Locate where you want to install the Flexbuilder and choose where you have your eclipse extracted.
It will be up and running…
Thanks .All credits go to my friend.