LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installation Problems (https://www.linuxquestions.org/questions/linux-newbie-8/installation-problems-4765/)

ady 07-26-2001 08:13 PM

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

isajera 07-27-2001 04:15 AM

.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.

cinnix 07-27-2001 04:18 AM

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.

isajera 07-27-2001 04:21 AM

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

./configure
make
make install

ct3 07-27-2001 05:14 AM

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?

isajera 07-27-2001 05:21 AM

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.

cinnix 07-27-2001 05:23 AM

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.

cinnix 07-27-2001 05:47 AM

whoops, guess I was a little slow beating isajera to the answer.


All times are GMT -5. The time now is 10:37 PM.