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 tried to install a program. I downloaded a tar-file. I created a "download" directory in the tmp dir and downloaded the tar-file to that. I then unpacked the source files to that same directory (which I now know is not a good thing to do). I installed the files using make and make install. The problem is that it doesn't work properly and I would like to uninstall everything and try once more.
I could of course try to remove the "download" dir I created and everything in it, but during the install process files and dirs were put everywhere. How do I get rid of these?
Linux is totally new for me (used to the practical uninstall commands of Microsoft Windows).
Thanks for your quick repl!y! (but I am afraid I didn't understand much of it)
I am such a newbie that I don't even know what a repository is or how to see if may see if my the program is available through it!
I was supposed to install asterisk server (for SIP communication). Only the man function works. I am not able to run the program at all now. I somehow managed to run it from one directory last night, but now I cant't remember where that was.
yum is short for 'yellow dog update manager'. Do ls /etc/yum.repo.d/ and you should have some files in there. These files list repositories which are data stores on servers where the installation files are stored. So when you issue a yum command, assuming you are online?, such as yum install xine then the update manager will find the install files for xine from the redhat sites (or elsewhere) and install it. The beauty of it is that it will also deal with any dependency issues you might have. Not all the programs you may want will be available in the repositories but alot of the stuff you will need will be. You might need to add some extra files to your yum.repo.d directory.
For the moment, let us know:
1) What program you are installing
2) What is the output of ls /etc/yum.repo.d/ command?
Distribution: Ubuntu, Debian, Various using VMWare
Many software packages that you install using "./configure && make && make install" can be uninstalled using "make uninstall" from the source directory.
With regards to using YUM, I think it is better to use the programs in the repositories rather than building from source. This saves a lot of headaches later. Also, as was pointed out above, programs installed using YUM can be removed cleanly using YUM. Unfortunately, YUM will not remove programs compiled from source.
And though I now have learned the hard way that rpm instals are easier to handle, I thought I had to do this sooner or later as I am going to edit the code and later compile it from code again.
Anyway I would like to be able to use yum for other downloads. What do I do to make it work?
When i run locate yum I get: