Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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
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
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 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:
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
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
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
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.
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. :)