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.
Thanks for the help..I tried that and it gave a very long list of packages. But I can't see few softwares those I have installed through the installers few days back.
Is there any way that I can customise this listing of applications, say with recently installed applications, or say with 3rd party softwares...etc ...
A suggestion since you said its a few specific software you are searching for:
club grep along with the earlier command if you know the software you are searchin for:
rpm -qa | grep perl
Thanks for that extra effort for me...
I tried to get one such installed application, but unable to get that. this is what I tried :
[saji@anthurium ~]$ rpm -qa | grep GeneSpringGX10
Then I tried the same as root as well :
[saji@anthurium /]$ rpm -qa | grep GeneSpringGX10
Could you please suggest something, as I know that I am doing something wrong here....
If there are a lot of files that fly by your eyes, pipe it to less and press the spacebar to scroll through it:
[saji@anthurium ~]$ rpm -qa | grep pring | less
(I removed the capital letters and chose the most unique string of letters. Sometimes things will install in lowercase letters.)
rpm will only list the items installed as .rpm packages. If you compiled the program from source, you'll have to find where it is installed. try this:
1.) login as root ([saji@anthurium ~]$ su - )
2.) update the location database ([saji@anthurium ~]$ updatedb)
3.) locate the file ([saji@anthurium ~]$ locate pring | less)
here is another way, if you installed it with yum:
[saji@anthurium ~]$yum list installed | less
if it's listed after the yum command, you'll have to remove it using "yum remove <package name>"
Thanks for the information..It is really a great help..
[saji@anthurium ~]$ rpm -qa | grep pring didn't worked for me..
I tried updating database and locating pring with less option and got hell lot of files..Now, I will try to gather the required information from this..it seems that is not installed through rpm or Yum..
Is there any way that we can check whether application is installed through rpm..or Yum..or from source installers ??
Yum is just a front end for rpm, it adds dependency resolution. Anything installed with yum will appear in the rpm database. If you compiled from source without building an rpm(and installing said rpm) it will not show up in the rpm database. This makes it very difficult to find and can make it very difficult to remove (cleanly). While it is a PITA I would suggest always building an rpm (and installing it) rather than installing straight from source, this of course assumes a pre-built rpm is not available.