LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-26-2001, 09:13 PM   #1
ady
LQ Newbie
 
Registered: Jul 2001
Location: Goa, India
Distribution: Red Hat 9
Posts: 17

Rep: Reputation: 0
Installation Problems


I don' t know how to install programs in LInux, all the exe form Windows won't work here.

Can you tell me how to install new software in linux. and what are .rpm and .gz files?

Thanks
 
Old 07-27-2001, 05:15 AM   #2
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
.rpm stands for "redhat package manager" - developed by red hat (obviously) for easy install of packages. to install an rpm, you just type

rpm -ihv filename.rpm

a .gz file is usually a compressed source package. installing these is usually a bit more involved, but not terribly difficult. first, the file needs to be uncompressed, (also called untarred, don't ask why )

tar -zxvf filename.tar.gz

sometimes, the package will include installation instructions, in which case, follow the instructions. however, usually there's a standard couple of lines to run :

./configure
make
make install

usually, that does it.
 
Old 07-27-2001, 05:18 AM   #3
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
Once you uncompress your .gz package, 9 times out of 10 there is a file inside called README or INSTALL. Read these files for exact instructions for installation.
 
Old 07-27-2001, 05:21 AM   #4
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
yeah, but 9 times out of ten the README or INSTALL tells you to run

./configure
make
make install
 
Old 07-27-2001, 06:14 AM   #5
ct3
LQ Newbie
 
Registered: Jul 2001
Posts: 10

Rep: Reputation: 0
if i want to learn those commands, with explaination of the commands and the -zf whatever. is there any site regarding the learning of the commands with explaination?
 
Old 07-27-2001, 06:21 AM   #6
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
first, try typing "man rpm" or "man tar" at the command prompt. man is the linux/unix manual page program. it explains all the options of many common programs.
 
Old 07-27-2001, 06:23 AM   #7
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
your best bet for easy access to command syntax is...

Code:
man COMMANDNAME
using 'man' followed by your command name wil allow you to read the manual for a command.

For more information on the man command you can do a ...

Code:
man man
This will get you started, if you have any specific questions post them here and someone will try and help you.
 
Old 07-27-2001, 06:47 AM   #8
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
whoops, guess I was a little slow beating isajera to the answer.
 
  


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
installation problems Garibaldi3489 Slackware 8 01-27-2005 02:34 AM
installation problems marccu Linux - Newbie 14 09-28-2003 07:01 AM
Installation problems christer Linux - Software 2 09-27-2003 06:52 PM
Mandrake 9.0 Installation Problems: X-Server, GUI Problems? chromelocust Linux - Software 4 03-21-2003 02:59 AM
Installation Problems loran Linux - Software 16 03-03-2003 08:28 AM


All times are GMT -5. The time now is 10:12 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