First of all, don't use
sudo for this. This can cause permissions issues and, when used in combination with
x which extracts the archive with the full path, might result in inadvertently overwriting important system files. Instead, just use
unrar x file.rar.
Now, the error you are getting is most likley because you have saved the file in directory X but are running the command from directory Y. For example, you have saved the file in
/home/superpajamarama/Downloads and are running the command from
To avoid this kind of thing, always use tab completion for file names in the terminal. Start typing the name of the file, and then hit tab:
unrar x file<TAB>
That will give you the possible completions and will let you know that the file is there.
Anyway, you need to either move into the correct directory, for example:
unrar x filename.rar
Or give the full path to the file:
unrar x /home/superpajamarama/Downloads/filename.rar
In your case, the problem is that your path has a space in it. You need to either escape that space with a
\ or quote the path:
unrar x "~/Desktop/PS2 Games/Futurama.rar"
unrar x ~/Desktop/PS2\ Games/Futurama.rar