 |
16-04-2005, 10:15 AM
|
#1 (permalink)
|
|
In The Zone
Join Date: Sep 2004
Location: Chennai
Posts: 353
|
Could someone do this?? For all Debian-derived users...
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...
__________________
The Bloglines of an Angry Indian -
www.angry-indian.com
If only life were as easy as Ctrl+Z (undo) and F4/Ctrl+Y (redo)...
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
16-04-2005, 10:32 AM
|
#2 (permalink)
|
|
Wise Old Owl
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
|
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.
|
|
|
16-04-2005, 11:25 AM
|
#3 (permalink)
|
|
Wise Old Owl
Join Date: Aug 2004
Location: New Delhi
Posts: 1,150
|
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.
__________________
**** happens
|
|
|
17-04-2005, 07:03 PM
|
#4 (permalink)
|
|
In The Zone
Join Date: Sep 2004
Location: Chennai
Posts: 353
|
Did not work man!!!
Someone using Debian-derived Distros plz explain!!!
GNUrag!!! Where are u??
__________________
The Bloglines of an Angry Indian -
www.angry-indian.com
If only life were as easy as Ctrl+Z (undo) and F4/Ctrl+Y (redo)...
|
|
|
17-04-2005, 07:07 PM
|
#5 (permalink)
|
|
Wise Old Owl
Join Date: Aug 2004
Location: New Delhi
Posts: 1,150
|
What did not work ?
Its a simple what error where do you get stuck.
by the way i too run debian.
__________________
**** happens
|
|
|
17-04-2005, 08:33 PM
|
#6 (permalink)
|
|
Alpha Geek
Join Date: Dec 2003
Posts: 780
|
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
Quote:
|
./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.
__________________
Hardware - Celeron 266 MHz, 128MB RAM, Intel i740 8MB RAM
Software - Slackware Linux 10.1; Archlinux 0.7; Windows 98 SE
Humanware - GS/CS C++ L+++ w b+++ DI+ D+ e
|
|
|
17-04-2005, 11:16 PM
|
#7 (permalink)
|
|
In The Zone
Join Date: Sep 2004
Location: Chennai
Posts: 353
|
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!!!
I heard that there is some prog called alien on debian...  plz temme how to convert...
 or OpenOffice 2 for debian link plz...
__________________
The Bloglines of an Angry Indian -
www.angry-indian.com
If only life were as easy as Ctrl+Z (undo) and F4/Ctrl+Y (redo)...
|
|
|
17-04-2005, 11:25 PM
|
#8 (permalink)
|
|
Wise Old Owl
Join Date: Aug 2004
Location: New Delhi
Posts: 1,150
|
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.
__________________
**** happens
|
|
|
18-04-2005, 11:35 AM
|
#9 (permalink)
|
|
Apprentice
Join Date: Jun 2004
Location: Chennai
Posts: 62
|
__________________
Whatever happens, happens for good!
|
|
|
18-04-2005, 02:01 PM
|
#10 (permalink)
|
|
In The Zone
Join Date: Sep 2004
Location: Chennai
Posts: 353
|
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!!
__________________
The Bloglines of an Angry Indian -
www.angry-indian.com
If only life were as easy as Ctrl+Z (undo) and F4/Ctrl+Y (redo)...
|
|
|
18-04-2005, 06:28 PM
|
#11 (permalink)
|
|
Alpha Geek
Join Date: May 2004
Location: India
Posts: 930
|
Did you type the #'s too???
They are just for representing the terminal...
|
|
|
18-04-2005, 06:30 PM
|
#12 (permalink)
|
|
In The Zone
Join Date: Sep 2004
Location: Chennai
Posts: 353
|
Quote:
|
Originally Posted by NikhilVerma
Did you type the #'s too???
|
LOL!!! ROFL!!!
Come on mate!!! I am not that dumb!!!
I did install OpenOffice in another way!!!
Tnx anyways pradeep and others!!!
__________________
The Bloglines of an Angry Indian -
www.angry-indian.com
If only life were as easy as Ctrl+Z (undo) and F4/Ctrl+Y (redo)...
|
|
|
18-04-2005, 08:28 PM
|
#13 (permalink)
|
|
Apprentice
Join Date: Jun 2004
Location: Chennai
Posts: 62
|
Quote:
|
Originally Posted by cool_dude_prav
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?
Quote:
|
Originally Posted by ramank
|
__________________
Whatever happens, happens for good!
|
|
|
18-04-2005, 11:03 PM
|
#14 (permalink)
|
|
In The Zone
Join Date: Sep 2004
Location: Chennai
Posts: 353
|
Forget it man!!!
I installed using the Editors Universe pkg set from Synaptic
Tnx anyways..!!
__________________
The Bloglines of an Angry Indian -
www.angry-indian.com
If only life were as easy as Ctrl+Z (undo) and F4/Ctrl+Y (redo)...
|
|
|
19-04-2005, 05:44 AM
|
#15 (permalink)
|
|
Stabbing my shoe
Join Date: Jan 2005
Location: Ahmedabad
Posts: 306
|
Quote:
|
Originally Posted by pradeep_chauhan
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??
__________________
>> Siddhartha <<
> http://sidroy.wordpress.com <
> Beauty lies in the eyes of the Beer Holder <
|
|
|
19-04-2005, 09:22 AM
|
#16 (permalink)
|
|
Wise Old Owl
Join Date: Aug 2004
Location: New Delhi
Posts: 1,150
|
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.
__________________
**** happens
|
|
|
20-04-2005, 05:41 PM
|
#17 (permalink)
|
|
Wise Old Owl
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
|
type those commands in the terminal or konsole
|
|
|
20-04-2005, 07:49 PM
|
#18 (permalink)
|
|
FooBar Guy
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
|
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
http://autopackage.org/docs/howto-install/
or go to the homepage itself:
www.autopackage.org
|
|
|
20-04-2005, 08:23 PM
|
#19 (permalink)
|
|
Wise Old Owl
Join Date: Aug 2004
Location: New Delhi
Posts: 1,150
|
terminal == Konsole == xterm == aterm == Eterm
use any X terminal software.
__________________
**** happens
|
|
|
29-04-2005, 08:55 AM
|
#20 (permalink)
|
|
Apprentice
Join Date: Feb 2004
Location: Chennai,India
Posts: 99
|
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.
|
|
|
24-05-2005, 11:48 AM
|
#21 (permalink)
|
|
Stabbing my shoe
Join Date: Jan 2005
Location: Ahmedabad
Posts: 306
|
Guys, tell me how do you install programs that come with a .tgz extension in the DIGIT DVDs.. I tried all the steps given above.. But the given programs are not sources, are they? How, do you install PROGRAMS, and NOT COMPILE SOURCES AND INSTALL PROGRAMS? Plz help..
__________________
>> Siddhartha <<
> http://sidroy.wordpress.com <
> Beauty lies in the eyes of the Beer Holder <
|
|
|
24-05-2005, 03:05 PM
|
#22 (permalink)
|
|
FooBar Guy
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
|
siddharth, If the tgz files are not sources, then you may have to install differently. You may have to extract the tarball then read through its README or INSTALL.
As for an example in the case with tgz files downloadble from Mozilla's site, You have to extract the tar file and run the ./install script from terminal
|
|
|
25-05-2005, 07:25 AM
|
#23 (permalink)
|
|
Broken In
Join Date: Sep 2004
Location: Bangalore, India
Posts: 154
|
//siddhartha//
The terminals are smart and they show you files with differet attributes in colours. Like any executable 'program' or 'script' will be shown green in FC3 terminals.
To answer your previous question you can install any rpm package if you have RPM installed. In redhat OS like Fedora you can direcly double click on them in nautilus and provide the root password if required. The instalation will follow, in case the requirement are not met it will tell you.
It can be done with command line too. First in terminal change the directory to where the rpm file is.
Issue su to log in as root.
Then issue rpm -ivh [packagename.rpm]
to install
__________________
----------------------------------------------------
Blender India forums
http://www.bestfreeforums.com/forums/blenderindia.html
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|