Separate names with a comma.
Discussion in 'Computer Games and General Discussion' started by .Chris, Apr 20, 2011.
In Ubuntu, how do I install .tar.gz files?
tar.gz is an archive. You can extract it through command line:
(Sometimes you can also Right Click -> Extract)
Having WinRAR helps as a general 'one fits all' archive manager.
After I extract all the files, how do I install the program?
I want to know this as well! Cave Story FTW!
Generally the process of installing stuff from archives on Unix-likes is:
1. tar -zxvf (v optional, for verbose).
Depending on contents of package and what you want to do go to either 2A or 2B.
2A. Copy the binaries in the archive to some place from where you want to use them (like /usr/local/bin/) or just run them from where they are. In your case, you have the binaries rar, unrar and rar_static (linked statically to not require dependencies).
2B. If there were no binaries or you want to compile yourself, generally do:
./configure (not in this specific case since there is no configure file, there generally is though)
So yeah. You have the binaries which you can run by just just typing in the terminal, or copy to some place included in your PATH environment variable such as /usr/local/bin so that you can then run them by just typing their name (like: unrar )
The guy is running Ubuntu (as can be seen from any of his other topics apart from him stating it in the OP of this thread) so that's pretty irrelevant. Also 7-zip has the benefits of being less bloat and completely free over Winrar, is there any reason to use Winrar over 7-zip?
WinRAR does have a Linux port. There's no real reason to use WinRAR instead of 7-zip; I just don't like the 7-zip UI. I only offered it as a suggestion.
Okay, which file extension does the binary have?
UNIX/Linux binaries don't have extensions.
No, there certainly isn't. There is however "RAR" provided by Rarlab who made WinRAR, but that's what he already downloaded and wanted help extracting.
Or you could create a debian package and install with your package manager.
1. First install alien:
sudo apt-get install alien
2.Then navigate in terminal to the folder the tar.gz archive is at, or just move the archive to your home folder.
3.make the package with alien -k file.tar.gz
4. install it with synaptic or ubuntu software center.
It's more work but you get a clean install.
It doesn't have an extension? Or it's hidden by default?
Anyway, then how are you supposed to know which one to run?
You will know from their filenames. They also show up as binaries in file managers, because they are binary files as opposed to text/other files.
use sudo before the command.
Thanks, that work perfectly!