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 10-23-2002, 09:12 PM   #1
gemcgrew
LQ Newbie
 
Registered: Oct 2002
Location: Texas
Distribution: Redhat 8.0
Posts: 5

Rep: Reputation: 0
Installing programs?


I have just installed RedHat 8.0 and am dual booting with win98 as 2nd OS. Installation was easy enough but I have a lot to learn with RedHat (1st time user).

After downloading programs, how do you install them?

Can you create shortcuts on your desktop?

Thanks for your help!
 
Old 10-23-2002, 10:16 PM   #2
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
There are a couple of ways to install programs... it depends on the type of package you get.

for rpm's (redhat package manager):

rpm -i <package>

for source packages (<package>.tar.gz or <package>.tar.bz2)

1) first you mus unpack the compressed package:

for *.tar.gz:
tar -zxvf <package>.tar.gz

for *.tar.bz2:
tar -jxvf <package>.tar.bz2

this will extract a lot of files into a directory, usually called something like <package>-<maybe a version number here> I'll call it package-x.x for demo.

cd packate-x.x
./configure
make
make install

that will install it. You can send a lot of options to ./configure. To see all you can do, type "./configure --help | less". some common ones are --prefix=<path> where <path> is /usr, /opt, or anything else. the default is /usr/local most of the time.

There are a lot of threads on this here... just do a search.

yes you can make shortcuts to your desktop.... search around for that with your window manager (kde, gnome, ect) as a keyword.

good luck

-Adam
 
Old 10-23-2002, 10:29 PM   #3
Peingune
Member
 
Registered: Oct 2002
Location: Ill
Distribution: Gentoo x86 2006.0
Posts: 89

Rep: Reputation: 16
hey gemcgrew :-)

i can help you alittle. All i know is 7.3 and i don't know alot about it.

first there are your files
tar, tar.gz, tar.bz2, rpm, src.rpm
for the tar you can do this
tar -zxvf <filename>.tar
for the tar.gz
tar -zxvf <filename>.tar.gz
then move to the dir you copied the file and and then
( sometimes a file need this )
./configure
then " make install "
if it don't need the ./configure
then just do the " make install "
then there is the tar.bz2 files
bzip2 tar -d <filename>.tar.bz2
then there is rpm
rpm -ivh ( for installing ) and -uvh ( for upgrading )
I think the v stand for ver something
and then the src.tar files
this is hard but is cool :-)
rpm --rebuild --target i686 ( if you got it {here are some others i386, i486, i586, athlon and smp }) <filename>.src.tar
then when the computer go crazy extacting all the files and doing what it does you have to look at the last couple of lines for the dir of where the src files are. then you move to that dir and type in rpm -uvh ( if you are upgrading ) -ivh ( you are installing ) <filename>.rpm . For mass install do this
( just using tar as a sample ) tar -zxvh <filename>.tar <filename>.tar <filename>.tar or it's ( because I'm on 7.3 and not 8.0 ) tar -zxvf <filename>.tar;<filename>.tar or <filename>.tar ; <filename>.tar you see :-)
this is all I know right now after 5 days of redhat 7.3.

P.S. stick with the tar.gz and tar.bz2 files if you can :-) they install easier.


oh yeah, almost forgot the the .gz file
gzip -d <filename>.gz

sorry :-D


Last edited by Peingune; 10-23-2002 at 10:41 PM.
 
Old 10-23-2002, 11:25 PM   #4
gemcgrew
LQ Newbie
 
Registered: Oct 2002
Location: Texas
Distribution: Redhat 8.0
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for your help!
I am determined to learn this OS. It is a little overwhelming when you first attack it. Especially when you are not familiar with the commands.
 
Old 10-23-2002, 11:41 PM   #5
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
definitly overwelming at first.... maybe always, but you get used to it :-)

If you really want to start to understand how the system works, get (somewhat) comfortable with what you've got, then try out either slackware or linux from scratch (LFS) www.linuxfromscratch.org . you have to do a lot of work yourself to get these to work the way you want, and in the process you end up learning a lot. Plus, when you're done, you have a custom system that has only what you want.... so it's fast, and there's nothing going on behind the scenes that you don't know about.

... just something to keep in mind

happy linuxing

-Adam
 
  


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
Installing Programs farid_145 Linux - Software 1 12-25-2004 04:23 PM
Installing new programs... rrfish72 Linux - Software 5 11-18-2004 12:59 AM
installing programs mannybabe Linux - Software 5 08-06-2003 11:16 AM
installing new programs scottsteibel Linux - Newbie 4 07-31-2003 05:36 PM
Installing programs jpc82 Linux - Newbie 6 10-17-2001 08:52 AM


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