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.
Is there a way i can remove existing packages instead of reinstalling?
How can i tell what i should remove so there is no conflict with version and stuff?
How do i get the initial conf file? i tought i could issue ./configure but it keeps my old conf file.
I am installing a LAMPS server (Linux, Apache, Mysql, PHP, SSh)
and it never works so far, i keep on reinstalling the distro before i try to properly install and configure it, but it is a pain...
Definitely! In fact, it's suggested to fix your problem rather than re-install.
Ok, so you might wanna give us some more info so we can help, how are you installing your packages? Are you using the RPM's on the install CD? If not, you might look into that. Then, to remove/add the packages, all you have to do is type:
rpm -e filename
To remove, and then to install:
rpm -ivh filename.rpm
Ok, I suggest you look into using something called checkinstall (can be found at www.freshmeat.net ) and then when you install from tar.gz (tarballs) you can easily uninstall with the help of checkinstall (Read the sites documentation, great tool).
Checkinstall will take a tarball, and at the point where you normally type:
At that point checkinstall will take over, and during it's 'magic' will ask you if you have Slackware (tgz) Debian (.deb) or RedHat (rpm) so you say Redhat and it creates an RPM, installs it with the RPM install deal, and then it gets recorded just like other RPM's.
Give it a try, you'll see what I mean, read the documentation though, basically, it's like this:
make test (make check whatever)
And then instead of:
You will be typing:
Originally posted by captainstorm Are there some other ways to uninstall or check the programs installed by tar.gz file?
Thank you Master.
Occasionally a programmer will include a make uninstall target which will simply do the opposite of the make install. It seems to be rare though, and not always on the applications you'd expect it to be. Really the best I've found is checkinstall, works great and seems to be on the 3 systems that need it most (deb, RH, SLack).