Could someone do this?? For all Debian-derived users...

Status
Not open for further replies.

cool_dude_prav

In the zone
Could someone plz post a small Step-by-Step tutorial for Debian-derived-Linux users on how to install .tar.gz packages..?

I had requested our Moderator GNUrag... but he seemed a bit busy...

Could someone else take over???

Tnx in advance...
 

vignesh

Wise Old Owl
I agree I want it mainly for ubuntu.By the way dude my ubuntu crashed.Now I am unable to get into the gui.I dont know how I got into the gui last time.It went in automatically.
 

pradeep_chauhan

Cyborg Agent
irrespective of debian or redhat or gentoo the steps are the same to be more elaborate lets do it in six easy steps. Lets call the package abc.tar.gz

#gunzip abc.tar.gz

this will give you a file abc.tar in the current dir.

# tar -xvf abc.tar

this will create a new dir abc in which all the extracted files will be there.

#cd abc

change to the dir abc

#./configure

this will configure the make files and check for dependency

# make

this will compile thw source files

# su
#password

#make install

this will install the program

to run the package

#abc

I hope its clear now.
 

ujjwal

Padawan
What pradeep_chauhan posted was the general process for installing any package from source, and it would work no matter which distro you used. Please mention what error(s) you faced.

Also, sometimes you may need to pass special configuration options while configuring the software, type
./configure --help | less
to see what options you could modify. Also check the documentation provided (files called README and INSTALL or something similiar) to check that you have all the required dependencies on your system.

And one more thing, all this info is assuming that the software is provided as its source code, which is not necessary. A tar.gz may be a collection of binary files, and have an installation script to install them. Mozilla, for example, comes in this way in its official version.
 
OP
cool_dude_prav

cool_dude_prav

In the zone
Well.. I downloaded OpenOffice 2, and I extracted it into a directory as @pradeep mentioned... But to my dismay I have found it to be .rpm and hence cant install it!!! :sad:

I heard that there is some prog called alien on debian... :arrow: plz temme how to convert...

:arrow: or OpenOffice 2 for debian link plz...
 

pradeep_chauhan

Cyborg Agent
why dont you use apt-get to install software for debian its the best way the software database is also maintained perfectly this way.
just do the folloing
#su
#password
#apt-get update

to bring your system upto date do this this step is optional to install oofice

#apt-get upgraded


#apt-get install OpenOffice*

thats it it will get the latest package solve any dependency and install the package. realy clean no mess and simple,On my PC it showed a down load of about 355MB for all the files and dependencies and pluggins.
 

ramank

Broken In
Did you try this:
*installation.openoffice.org/servlets/ReadMsg?list=dev&msgNo=609

You can use 1.1.4 version from here: *openoffice.debian.net/
 
OP
cool_dude_prav

cool_dude_prav

In the zone
Hey!!!

I know i can get OpenOffice 1.1.4... But I wanted to install Beta 2 version!!!

Someone plz temme how to convert it using alien!!
 

ramank

Broken In
cool_dude_prav said:
Hey!!!

I know i can get OpenOffice 1.1.4... But I wanted to install Beta 2 version!!!

Someone plz temme how to convert it using alien!!

Did you read this buddy?
ramank said:
Did you try this:
*installation.openoffice.org/servlets/ReadMsg?list=dev&msgNo=609
 

//siddhartha//

Stabbing my shoe
pradeep_chauhan said:
irrespective of debian or redhat or gentoo the steps are the same to be more elaborate lets do it in six easy steps. Lets call the package abc.tar.gz

#gunzip abc.tar.gz

this will give you a file abc.tar in the current dir.

# tar -xvf abc.tar

this will create a new dir abc in which all the extracted files will be there.

#cd abc

change to the dir abc

#./configure

this will configure the make files and check for dependency

# make

this will compile thw source files

# su
#password

#make install

this will install the program

to run the package

#abc

I hope its clear now.

Hey guys, the DIGIT DVD features a program "mplayer" in .rpm format.. Now on a LIVE CD, how do I use it?
By the way, the steps you mentioned are good but I don't know where to use them.. Does, Linux have a Run option or something??
 

pradeep_chauhan

Cyborg Agent
open a terminal and start typing the commands mentioned. To open a terminal in gnome right click mouse anywhere on empty desktop and select open new terminal.
 

GNUrag

FooBar Guy
All those ./configure and make days are going to go away, if AutoPackage package manager becomes the default package manager standard.

Autopackage enables you to make Windows like click-and-install setup files that can be installed in any GNU/Linux platform... RedHat/Debian.... The same setup binary can launch a GUI setup installer or a command line installer depending upon your present configuration..

Highly recommended:
How to install Linux autopackages in 4 easy steps
*autopackage.org/docs/howto-install/

or go to the homepage itself:
www.autopackage.org
 

cnukutti

Broken In
Try
#man alien

If my memory is good, I think the command to convert .rpm file to .deb is

#alien -d filename.rpm

or

#alien --to-deb filename.rpm


Just check the man pages for more info.

After converting the rpm to deb file, use

#dpkg -i filename.deb


The best bet is to search for the packages for debian for Oo_O 2.0
Then you can directly use apt-get and install them.
It would be easy as it would directly solve all the dependancies.
 
Status
Not open for further replies.
Top Bottom