LinuxQuestions.org
Register a domain and help support LQ
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-20-2004, 11:46 AM   #1
orisma
LQ Newbie
 
Registered: Oct 2004
Distribution: Suse 9.1
Posts: 15

Rep: Reputation: Disabled
Question problem installing basic programms


hi everyone

i am trying to install AOL on linux and there is a programm called peng that does just that. it even has its own tutorial, (yolinux.com/TUTORIALS/LinuxTutorialAOL.html is the site) but i just don't understand it ... like how do i Unpack and install.. i think i need a program to unpack..if i do, does any one have any recommendations..(I using suse 9.1)

p.s this is the very 1st program in trying to install on linux so that is probably a really stupid question.. but if anyone could help that would be great.
 
Old 10-20-2004, 12:10 PM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
What's the extension of the file you have? .tar.gz?
 
Old 10-20-2004, 12:15 PM   #3
Gkarfield
Member
 
Registered: Jul 2004
Location: Greece
Distribution: FreeBSD 6.2/widows[not 8 legs nor black]
Posts: 123

Rep: Reputation: 15
tar xzvf <File>xxx.tar.gz
or tar xjvf <File>xxx.tar.gz

one switch is for bz2 (or something like that)

prefer rmp for the basic installs.
where u do
rpm -i <file>.rpm

cheeeeeeeeers
 
Old 10-20-2004, 12:25 PM   #4
orisma
LQ Newbie
 
Registered: Oct 2004
Distribution: Suse 9.1
Posts: 15

Original Poster
Rep: Reputation: Disabled
What

soz.. havnt got a clue what ur on about
 
Old 10-20-2004, 01:24 PM   #5
kenji
Member
 
Registered: Sep 2004
Location: Philippines
Distribution: Slackware
Posts: 143

Rep: Reputation: 16
we need to know what extention does it have so that we can easily help you
if you have a " .rpm " it is a package if you have a " .tar.gz " you have an achieve
and a gunzip if you have a " .Z " you have a zip file so what extention does it have

for example
AOL.rpm
AOL.tar.gz
 
Old 10-22-2004, 07:50 AM   #6
orisma
LQ Newbie
 
Registered: Oct 2004
Distribution: Suse 9.1
Posts: 15

Original Poster
Rep: Reputation: Disabled
its an rpm file

thanksfor trying to help... the file is rpm

thakns
 
Old 10-22-2004, 08:00 AM   #7
_TT_
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Rep: Reputation: 0
If you are using a graphical interface, the installation can be quite simple. All you have to do is start Konqueror, and navigate to the folder which you downloaded the file to.
Click on the file, and it should open up in Konqueror with some information tabs, and a button which says "Install with Yast2". Use that button, and the program should be installed automatically. (You might have to type in the password for root)

If you want to install by command line, open up a terminal, such as Konsole.
Go to the folder where the rpm file is located and type:
rpm -i rpmname

(where rpmname is the name of the file)

Hope this helps.
 
Old 10-22-2004, 09:34 AM   #8
orisma
LQ Newbie
 
Registered: Oct 2004
Distribution: Suse 9.1
Posts: 15

Original Poster
Rep: Reputation: Disabled
sorry!

sorry!

the rmp version is for suse 8.1 . so i have downloaded a suse 9.1 version,but it is a tar.gz? or a .tar? i have a feeling they are same.

sorry about this

it anyone could help that would be grate
 
Old 10-22-2004, 09:46 AM   #9
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
.tar and .tar.gz are not the same. Tar is packing files together and gzip (.gz) is compressing. Another (greater) compressor is bzip2 (.bz2) which is more effective but slower.

To unpack a .tar.gz do this:
tar -xvzf file.tar.gz

If the file is a tar.bz2 do this:
tar -xvjf file.tar.bz2

(check out "man tar" for more info about how to use the tar-command)

After unpacking just rtfm.

/MezzyMeat

Last edited by Ephracis; 10-22-2004 at 09:48 AM.
 
Old 10-22-2004, 09:58 AM   #10
orisma
LQ Newbie
 
Registered: Oct 2004
Distribution: Suse 9.1
Posts: 15

Original Poster
Rep: Reputation: Disabled
im lost again about installing after un packing

ok..Tar is what i downloaded it as . so i need to unzip it and run it??. im sorry but i dont no anyting about linux and am again lost

I dont understand this part .. how do i xvzf.tar.gz somthing

"To unpack a .tar.gz do this:
tar -xvzf file.tar.gz"

i also dont understand this part


"After unpacking just rtfm." ???

i search man tar on google (check out "man tar" for more info about how to use the tar-command) and it came up with a load of stuff i didnt understand.

i am a complete novic at linux so if anyone could explain a simpley as possible that would be great
 
Old 10-22-2004, 12:06 PM   #11
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
Ok, you seem to have a lot to learn. Lets start with some basic stuff.

I hope you are able to find the console from where to run programs. If you use KDE I believe there is an icon at the bottom that looks like a shell (It was years since I last used KDE so I'm not sure).

When you have found a shell (they can be xterm, aterm, eterm, etc) what I meant was that you should type

man tar

Man is the command to view manual-pages and "tar" is the command you want to check out. It's also here I want you to type in

tar -xvzf yourdownloadedfile.tar.gz

tar = unpack-command
x = unpack, not pack
v = verbose
z = gz-formate
f = chose file (the file you typed in after this)

And now you should get a lot of text showing up. After that you should have a new dir created. Use "cd" to get to that dir and now you should look for a file called README. Read it and if there is a filed called INSTALL you should check that one out too. In these files there are help about how to install the program.

Most programs that comes with a source is installed in three steps:

./configure
make
make install

I don't have time to explain all these commands but shortly "./configure" runs a shell-script that checks out your system and builds a file called Makefile. "make" compiles your program and "make install" moves it to the correct places.

When you have done these steps you should be able to run your program. If you have installed a program called myprogram which came in the package myprogram-1.0.tar.gz the steps should be (not always but if not it should be in the README-file)

tar -xvzf myprogram-1.0.tar.gz
cd myprogram-1.0
./configure
make
make install

Once you have done this it will all come together, it's pretty simple after a while. :)

By the way RTFM means "Read The Fine Manual(s)" or "Read The Fucking Manual(s)", depending on my mood. :P

Good luck!

/MezzyMeat
 
Old 10-22-2004, 05:52 PM   #12
orisma
LQ Newbie
 
Registered: Oct 2004
Distribution: Suse 9.1
Posts: 15

Original Poster
Rep: Reputation: Disabled
oh so complicated

wow! installing of linux is so much complicated than windows . ill try what you said but i have a feeling i will get lost


p.s.

"rtfm" ... what manuals????
 
Old 10-22-2004, 07:22 PM   #13
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
Manuals like the man-pages
Code:
man man
or the README-files that come with most packages.

Yes, installing on Linux is a bit more to do but it doesn't have to be that way. You can also use package-systems like Debian's APT. To install a program in Debian you just type
Code:
apt-get install myProgram
Simpel, but it's good to know how to install source-code too. You maby know that many things in the Linux world is open-source, so then you don't have just a setup.exe, you actually got the whole code to the program. That's why you have to compile and install it by yourself.

/MezzyMeat

Last edited by Ephracis; 10-22-2004 at 07:28 PM.
 
Old 10-23-2004, 11:15 AM   #14
orisma
LQ Newbie
 
Registered: Oct 2004
Distribution: Suse 9.1
Posts: 15

Original Poster
Rep: Reputation: Disabled
yeah

yeah i have done a bit of programming in my time, are linux programs given like this to save time when downloading or is there another reason???
 
Old 10-23-2004, 12:39 PM   #15
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
Re: yeah

Quote:
Originally posted by orisma
yeah i have done a bit of programming in my time, are linux programs given like this to save time when downloading or is there another reason???
If you mean that they often come as open-source. This is much thanks to GNU, www.gnu.org. I guess you have heard of them and their license, GNU General Public Licens (GPL). Programs in Linux come as open-source much because we don't like what Microsoft is doing, locking a program up so only the developers at M$ can change and develop it.

Maby you have a good idea about a change in a program, then you can take the source, change it and maby even suggest this new code to the maintainers of the program. If they like it they use your new version. Thanks to this way of developing, the programs evolve much faster and they follow the ideas of the users, not some guys working in an office trying to guess what we want. :)

The downside is of course that you have to compile the programs by yourself if you download the source but those three steps (configure, make, make install) is absolutly worth the freedom of open-source. :)

/MezzyMeat

Last edited by Ephracis; 10-23-2004 at 12:41 PM.
 
  


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 programms for every user supersucker Linux - Newbie 4 09-02-2005 10:31 AM
removing programms Ayman.mashal Linux - Newbie 1 07-28-2005 11:50 AM
A wierd problem( Howto make programms work under normal user) k0ljat Linux - Software 2 09-01-2004 01:11 AM
programms needed..!!! maseby Red Hat 3 10-27-2003 04:38 PM
After Installing Driver Programms dont work fedivh Linux - Software 0 10-01-2003 05:06 PM


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