LinuxQuestions.org
Help answer threads with 0 replies.
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 07-01-2005, 12:20 AM   #1
GameGuru
Member
 
Registered: Jun 2005
Location: Minnesota
Distribution: Ubuntu v5.04
Posts: 85

Rep: Reputation: 15
How do you install programs?


I tried googling it to no avail. How do you install apps in Linux? Anyone have a step by step they can give me or maybe a link to a website on this? Thanks.
 
Old 07-01-2005, 12:23 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
well you have to tell us what distro your using and what type of package your interested in installing?
There are many different packages, rpm, tgz, deb, tar.gz, tar.bz2, etc, etc......
 
Old 07-01-2005, 12:24 AM   #3
rizhun
Member
 
Registered: Jun 2005
Location: England
Distribution: Ubuntu, SLES, AIX
Posts: 268

Rep: Reputation: 47
Hi GameGuru,

Can you provide anymore information?

1) Do you know what linux distro you have? (eg. RedHat, Fedora, SuSE etc.)
2) Which desktop environment (if any) do you have?
3) What do you want to install?

Cheers,
 
Old 07-01-2005, 10:32 AM   #5
GameGuru
Member
 
Registered: Jun 2005
Location: Minnesota
Distribution: Ubuntu v5.04
Posts: 85

Original Poster
Rep: Reputation: 15
I am using Mandrake 10.1 Offical DVD with the KDE desktop. I downloaded the latest FireFox and it is in my HOME area but I don't know how to install it (I am a newb from the Windows world).
 
Old 07-01-2005, 10:57 AM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
Linux/GTK2

Extract the tarball and run the installer like so:
Open a terminal/console/konsole and type:
tar -xzvf firefox-1.0.4.installer.tar.gz
cd firefox-installer
./firefox-installer


Although you would probably be better off using a RPM.
 
Old 07-01-2005, 11:11 AM   #7
GameGuru
Member
 
Registered: Jun 2005
Location: Minnesota
Distribution: Ubuntu v5.04
Posts: 85

Original Poster
Rep: Reputation: 15
In /firefox/firefox-installer is another folder called /xpi with a file called "xpcom.xpi" but I don't know what to do with it.
 
Old 07-01-2005, 12:38 PM   #8
GameGuru
Member
 
Registered: Jun 2005
Location: Minnesota
Distribution: Ubuntu v5.04
Posts: 85

Original Poster
Rep: Reputation: 15
Can anyone help me from here. I also downloaded the newest Kopete but again I have no idea how to install software. I am trying those websites but my Windows mind is clouding me. Anyone have any step-by-step for blind Windows users?
 
Old 07-01-2005, 01:04 PM   #9
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
In the firefox-installer directory you want to run the program firefox-installer by typing "./firefox-installer"

For Kopete, what did you download? Does it end in .tar.gz, .rpm, or something else?
 
Old 07-01-2005, 01:07 PM   #10
GameGuru
Member
 
Registered: Jun 2005
Location: Minnesota
Distribution: Ubuntu v5.04
Posts: 85

Original Poster
Rep: Reputation: 15
kopete-0.10.1.tar.bz2

I will try to install Firefox now. Man I hate being a newbie ha ha.
 
Old 07-01-2005, 01:09 PM   #11
GameGuru
Member
 
Registered: Jun 2005
Location: Minnesota
Distribution: Ubuntu v5.04
Posts: 85

Original Poster
Rep: Reputation: 15
I got this error:

bash: ./firefox-installer: is a directory

What is that about?
 
Old 07-01-2005, 01:41 PM   #12
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
READ the very first link in my first post. Along with the ones refering to Mandrake/mandriva.

Most Mandrake/Mandriva "newbie" problems can be resolved by going to Easy URPMI and following the directions to set up your sources. Instead of resorting to tarballs and "wild" rpms, just "urpmi NAMEOFPACKAGE" on the command line. Urpmi also has an easy-to-use graphical front-end called RPMdrake which is integrated into the Mandrake Control Center.

Although web sources for urpmi are not added on the installation of Mandriva Linux, they are available at EasyUrpmi or through an option in the Software Sources Manager in versions above 2005LE (10.2).

Easy Urpmi
http://easyurpmi.zarb.org/

Last edited by craigevil; 07-01-2005 at 01:43 PM.
 
Old 07-01-2005, 02:00 PM   #13
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
firefox-installer is both a name of a directory and a name of a program inside that directory. Type:

Code:
cd firefox-installer
to change to the firefox-installer directory. Next, type:

Code:
./firefox-installer
to run the installer.

As for installing most other programs that don't have an installer program like firefox, it depends on the kind of package and your distribution of Linux. I'm not familiar with how Mandrake handles it, but the standard way to install files ending in .tar.bz2 or .tar.gz is the following:

1. Type "tar jxvf filename.tar.bz2" or "tar zxvf filename.tar.gz" (depending on whether it's a .bz2 or a .gz file).
2. Type "cd filename" to change to the directory where everything was extracted to.
3. Read the README and INSTALL files to get details on what is required to install the program and how to install it. This can be done, for example, by typing "pico INSTALL" or "cat INSTALL | more"
4. In the vast majority of cases, the program is then installed by typing:

Code:
./configure
make
make install
 
Old 07-01-2005, 02:36 PM   #14
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally posted by jrdioko
I'm not familiar with how Mandrake handles it, but the standard way to install files ending in .tar.bz2 or .tar.gz is the following:

1. Type "tar jxvf filename.tar.bz2" or "tar zxvf filename.tar.gz" (depending on whether it's a .bz2 or a .gz file).
Mandrake uses RPM.

For GameGuru just to explain what those commands do:

tar is an archiving program, I guess you can think of it as being like zip in a way. The next four letters are called flags:

x says to extract the files from the archive
v is for verbose, it shows you what it's doing, ie. the files that are being extracted and to where
f is to specify the filename of the archive
and j or z are to specify the type of archive; j being for .tar.bz2 and z being for tar.gz.

The order of the flags doesn't matter, I don't think.

Last edited by Nylex; 07-01-2005 at 02:41 PM.
 
Old 07-01-2005, 02:48 PM   #15
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 86
I don't want to start a "distro war," here, but have you thought about using Mepis instead of Mandriva?

Installing apps in a Debian-based distro is extremely easy. You just have to search for the app and click install. Mepis also has an easy graphical way to enable extra repositories (for multimedia codecs, etc.). Synaptic Package Manager can be your friend.

I couldn't figure out the urpmi think in Mandriva...

Well, either way, good luck. But please don't use .tar files to install things until you get really comfortable with Linux.
 
  


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
can't install g++ so I can't compile and install any programs musicmaniac414 Linux - Software 12 02-06-2008 09:31 PM
can't install some programs khh80 Linux - Software 2 08-02-2005 09:43 PM
How do you install programs? Sir Loin Linux - Software 16 03-15-2005 12:31 PM
where to install programs to CrotchCricket Linux - Newbie 2 10-26-2004 06:42 AM
Cannot install programs garbo73 Mandriva 16 09-24-2003 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:34 AM.

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