LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2004, 10:14 AM   #1
ditch*
Member
 
Registered: Jul 2004
Posts: 50

Rep: Reputation: 15
how to install stuff on linux? (very short question)


Hey!

Iīm a total beginner so this might sound stupid:

Iīve downloaded the latest version of Mozilla firefox and I need to install it.

I am very much used to the Windows style of doing stuff: download one file, doubleclick it, press "next" a few times and bingo.

guess thatīs not what you do here though.


By the way, I am using Mandrake 10.0


So can you please outline a general procedure of installing files starting from the point where you have a "tar.gz " on your desktop.


You help will be greatly appreciated.
 
Old 09-22-2004, 10:16 AM   #2
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
.tar.gz file is an archive. First thing to do is to unpack it. Try double clicking, I believe you'll see a GUI tool that will let you unpack the contents of the archive somewhere.
In the exctracted folder, you will most probably find a file called 'INSTALL' or 'README'. Read it for further instructions.
The instructions will most probably be to open a terminal window, change directory to the folder where is your archive unpacked and running these commands:

./configure
make
su
<root password now>
make install
 
Old 09-22-2004, 10:24 AM   #3
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there
this below is an extract frm a tutrial which i had written for my LUG

Packages come in two formats in Linux
1.) rpm packages.
2.) Source packages.

Source packages generally come in 2 compressed formats

xmms-1.2.10.tar.bz2 --compressed with bunzip(bzip)
xmms-1.2.10.tar.gz --compressed with gunzip(gzip)

and others also

1.)first of all we need to extract these packages .
so copy the packages in your Linux partition. for example in /plugins directory.
go to that directory and extract them as follows

[root@gaurav root]# cd /plugins/
[root@gaurav plugins]# tar xjf xmms-1.2.10.tar.bz2
[root@gaurav plugins]#

OR

[root@gaurav root]# cd /plugins/
[root@gaurav plugins]# tar xvzf xmms-1.2.10.tar.gz
[root@gaurav plugins]#

here we pass the arguments
xjf --for uncompressing packages of the type (.tar.bz2)
xvzf --for uncompressing packages of the type (.tar.gz)

more on these attributes can be found by

[root@gaurav root]# man tar

if the packages are in some another format then u can extract them also by
a.)copy the package in your Linux partition
b.)Right click on the package
c.)choose extract here
this method surely takes some time more that the command line version but if you are having any problems in extracting with the command line then u may proceed in this manner

2.)after packages have been extracted then u need to compile them and then install these.
you can go through a file Readme or INSTALL
in all the install readme files you will find the procedure for installing source packages
I am briefing the procedure down here

a.) go to the directory containing the extracted packages

[root@gaurav root]# cd /plugins/xmms-1.2.10
[root@gaurav xmms-1.2.10]#

b.) './configure' will check if the files necessary for installation are available or not

[root@gaurav xmms-1.2.10]# ./configure

c.)' make' will compile the package

[root@gaurav xmms-1.2.10]# make

d.)'make install' will install the executable in '/usr/local/bin' (generally)

after these you can run your new packages by their name only or by giving the full path
[root@gaurav xmms-1.2.10]# xmms

OR

[root@gaurav xmms-1.2.10]# /usr/local/bin/xmms



for RPM packages

install rpm ap[ckaes

by

first go to that directory cd /plugins

cd /plugins

#rpm -ivh abc.rpm



i hope this might have helped u

regards
 
Old 09-22-2004, 10:36 AM   #4
ditch*
Member
 
Registered: Jul 2004
Posts: 50

Original Poster
Rep: Reputation: 15
Talking

Thank you very much for replying!

I have unpacked the file, but there doesnīt seem to be any help/readme files. There are some install files though. There's firefox-installer.bin and install.ini

but doubleclicking either one of them didnīt bring about much of a result.

I think I have to get used to using the terminal window, so what command is it that you use to change the directory to the appropriate folder?

(my terminal program is Konsole)


 
Old 09-22-2004, 10:45 AM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

after u are in the directory that has
firefox-installer.bin

run it by

./firefox-installer.bin

a gui setup window will come up in this case

regards
 
Old 09-22-2004, 10:57 AM   #6
ditch*
Member
 
Registered: Jul 2004
Posts: 50

Original Poster
Rep: Reputation: 15
Thanks!

The last comment helped!
- - the setup window did appear.

However, when I was trying to do it with
".configure"

the terminal window said:

[grisha@localhost firefox-installer]$ ./configure
bash: ./configure: No such file or directory

do you know what might have been the cause of that?
 
Old 09-22-2004, 11:12 AM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

for maximum source packages ./configure works

in this case, u do not need to run ./configure

run the ./firefox-installer.bin

regards
 
Old 09-22-2004, 02:13 PM   #8
paul86uk
LQ Newbie
 
Registered: Sep 2004
Location: uk, manchester
Distribution: mandrake 10.0
Posts: 2

Rep: Reputation: 0
hi there, found this thread when i had some problems installing, i managed to extract the the file but i cant make an install, the ./configure returns error
"configure: error: C++ preprocessor "/lib/cpp" fails sanity check"
(im trying to install glib, i tried to install xmms but it said i need glib?)
my initiall attempt was to install steam, but to do that i need wine, which told me i need xmms...please help, lol.

thanx
Paul
 
Old 09-22-2004, 02:18 PM   #9
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hey
i see ur using mandrake
so why don't u install the rpm of u must have i ur mandrake CD

why go for source compilation when u have the rpm for it

regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install my basic Linux stuff--Linspire 4 lectraplayer Linux - Software 13 07-10-2005 09:46 PM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 02:51 PM
newbe question haw do you install stuff and what extion msg4real Linux - Software 6 01-02-2005 09:39 PM
short modules question anadyr Slackware 1 01-02-2005 06:03 PM
how do i actually install stuff in linux?? stagnant7 Linux - Newbie 3 09-05-2003 03:32 PM


All times are GMT -5. The time now is 12:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration