how to install .tar.gz package in ubuntu

Asked by amiththa

i want to install downloarded .tar.gz package to ubuntu

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Nick Gorbunov (intsurfer) said :
#1

hi!

i prefer to use console. ;)

1. unpack this file - sudo tar -xvvf xxx.tar.gz
2. install package - sudo dpkg -i full_name_of_the_package

enjoy! :)

Revision history for this message
midnightflash (midnightflash) said :
#2

It's not that "Nick Gorbunov"-easy the most times.

It highly depends of what you find inside the tar-ball.

If you tell us which programm/tar-ball you want to install it might be much easier to help you.

Greetings

Revision history for this message
Tom (tom6) said :
#3

Try using one of the package managers to find, download, install and update stuff for you. Go up to the top taskbar and click on

System - Administration - Synaptic Package Manager

it asks for your user password, not your SuperUser/Root one. Use either search tool to find the package you are looking for and right-click to install it. Packages that are already installed on your system are marked with a green splodge so you could choose to reinstall some of them (or uninstall) them if they are causing a problem. Usually when you try to install something it will be a very tiny package compared to an equivalent Windows version and this is because packages share libraries rather than having duplicate versions of the same libraries loaded separately for each package. Sometimes this means that a library or another package needed in order to run whatever program you are trying to install may not already be on your system, we call packages that are depended on "dependencies". Using a package manager means that all the dependencies of a selected package are marked for install, something that's very difficult to do for yourself without extensive in-depth knowledge - as you are finding out. It does have the advantage that linux manages to be much more efficient in use of resources such as Ram, hard-drive space cpu cycles and so on. Note that while in Synaptic there's a button "Mark all Updates" and this updates the libraries, codecs and everything that you have on your system - it's not just about 'security' updates, almost always it's about increasing functionality. Finally click the "Apply" button.

Good luck and regards from
Tom :)

Revision history for this message
Luky Winarto (luckyborneo) said :
#4

Hi amiththa,

Usually I do like this:
$ tar -zxvf xxx.tar.gz

And usually there's a file that assist us to install the program. Try to look Readme or Install file. Open it with gedit or any text editor program.
$ cd xxx
$ gedit Readme

Hopefully that will help you. Cheers...
-Luky-

Can you help with this problem?

Provide an answer of your own, or ask amiththa for more information if necessary.

To post a message you must log in.