Gaming How Do You Install .tar.gz Files?`

.Chris

Clueless
OP
Member
Joined
Feb 20, 2009
Messages
2,195
Trophies
1
Location
United States
XP
809
Country
United States
After I extract all the files, how do I install the program?
install%20.tar.gz.png
 

Mazor

Z80 master arch
Member
Joined
Feb 14, 2008
Messages
547
Trophies
0
Age
17
Website
Visit site
XP
255
Country
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)
make
make install

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 )

Originality said:
Having WinRAR helps as a general 'one fits all' archive manager.
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?
 

Mazor

Z80 master arch
Member
Joined
Feb 14, 2008
Messages
547
Trophies
0
Age
17
Website
Visit site
XP
255
Country
Originality said:
WinRAR does have a Linux port.
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.
 

kamins

Active Member
Newcomer
Joined
Feb 27, 2010
Messages
31
Trophies
0
XP
31
Country
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.
 

Mazor

Z80 master arch
Member
Joined
Feb 14, 2008
Messages
547
Trophies
0
Age
17
Website
Visit site
XP
255
Country
Fishaman P said:
KDH said:
UNIX/Linux binaries don't have extensions.
It doesn't have an extension? Or it's hidden by default?

They don't have an extension. There is also absolutely no "default" in Linux or other Unix-likes, there are tons of different file managers that are each implemented very differently. While one may hide extensions in general by default, another one might not.

QUOTE(Fishaman P @ Apr 21 2011, 07:39 PM)
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.
 

.Chris

Clueless
OP
Member
Joined
Feb 20, 2009
Messages
2,195
Trophies
1
Location
United States
XP
809
Country
United States
kamins said:
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.
Whenever I do this, i just get:
CODEMust run as root to convert to deb format (or you may use fakeroot).
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-