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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
3 - yes (but the "-r" is pointless as its not a directory)
4 - no. Well... additional configuration files can be left behind, so reinstalling can pick up where it left off, if in doubt, just check, but generally no. It's not like it would be acceptable to delete your data by uninstalling postgresql. It will generally remove what it put there.
1- what is the difference between 'yum erase' and 'yum remove'?
1. Both are the same. If you will do man yum you will find that it will list both options as one.
Quote:
]2- when using 'yum remove <package_name>' do you also have to ALSO do ' rpm -e package_name' to remove the rpm file?
2. No, it is not needed. Yum and rpm are two different methods of package management. Yum is a useful tool when you have got repository configured. Yum will automatically resolve the dependecies and will install the package. rpm is usually used when you are trying to install a single rpm file. Remember if you know that the rpm you are trying to install has got dependencies then it is a good idea to incorporate that rpm file in your repository so that you can use yum to resolve the related dependencies for you.
Quote:
3- is it ok (after two previous steps) to delete the original package_name.rpm by doing 'rm -rf /dir/package_name.rpm'
3. Don't get confused between yum and rpm. These are two different methods for package managment. Have a look at the following link to get the information on yum and rpm: http://www.google.co.in/url?sa=t&rct...Rn_yIw&cad=rja
Quote:
4- do you have to manually delete all the programs folders i.e. for postgresql 'rm -rf /usr/pgsql-9.0@ ??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.