How to install a rar or tr.gz package after downloading and extracting it??

Asked by Mark

How do I install a program after i have downloaded it.
I have found various bits of literature about it but it still leaves me a bit confused I understang I nedd to extract the files eg .rar and tar.gz.

Can somebody explain how to extract and install the desired package step by step in plain english please??

This is a game i would like to install hwsource.rar

how do i get to use the game?
I am a begginer.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Jensen Somers
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Please tell us the download site address ussually on the site there are install instructions...

To simply extract a tar file

Please open a Terminal from the menu Applications->Accessories->Terminal and type:

tar xvf hwsource.rar

or for .tar.bz or for .tar.bz2
tar jvf hwsource.tar.bz

or for .tgz o for .tar.gz
tar xvzf hwsource.tgz

Thank you

Revision history for this message
Best Jensen Somers (jsomers) said :
#2

A tar file is an archive just like a zip file. You can extract it via the command line as described by marcobra or you can, when using a graphical environment, right click on the file and choose "Extract here" from the menu. If you select "Open" it will open the File Archive manager which works in a similar way as WinZip or WinRar.

After you extracted the archive, most of the times a README and/or INSTALL file is present explaining the installation steps. These will most likely need to be performed from within a terminal.

Revision history for this message
Mark (mark-j-hogan) said :
#3

Thanks Jensen Somers, that solved my question.