Jago6060 Posted May 20, 2009 Share Posted May 20, 2009 The title pretty much says it all. I'm trying to install PostgreSQL on a CentOS 5 machine to be accessed by Project Open. I grabbed the .rpm file for PostgreSQL and ran it, but when I try to use the commands listed to start the software, it can't find the command. Any ideas? SIDE QUESTION: Do rpm's have to be in a specific place to install correctly?(I'm not familiar with using .rpm files) Quote Link to comment https://forums.phpfreaks.com/topic/158847-solved-trying-to-install-postgresql-74-4-on-centos-5-for-use-with-project-open/ Share on other sites More sharing options...
trq Posted May 20, 2009 Share Posted May 20, 2009 Firstly, unless you have the need for a sepecific version / feature you should probably be letting your package manager ( CentOS uses YUM I think ) take care of installing packages for you. Installing an rpm directly, you may run into dependency problems. but when I try to use the commands listed to start the software, it can't find the command. Likely the commands are not on your $PATH. You may need to su to root to execute them. SIDE QUESTION: Do rpm's have to be in a specific place to install correctly?(I'm not familiar with using .rpm files) Nope, but like I said, they may look for dependencies that you may or may not have available. Quote Link to comment https://forums.phpfreaks.com/topic/158847-solved-trying-to-install-postgresql-74-4-on-centos-5-for-use-with-project-open/#findComment-837937 Share on other sites More sharing options...
Jago6060 Posted May 20, 2009 Author Share Posted May 20, 2009 Thanks for the reply! My next question would be, what should I do now that I've already installed the .rpm? Will a simple uninstall take care of it? Quote Link to comment https://forums.phpfreaks.com/topic/158847-solved-trying-to-install-postgresql-74-4-on-centos-5-for-use-with-project-open/#findComment-838056 Share on other sites More sharing options...
trq Posted May 20, 2009 Share Posted May 20, 2009 If the rpm installed without fail, its likely ok to stay. But yeah, you may want to remove it and let your package manager handle manging packages. The entire point of a package manager is to make sure (or try to) all programs on your system are compatible with each other. So, installing rougue packages manually is not normally the wise thing to do unless you know what you are doing. Quote Link to comment https://forums.phpfreaks.com/topic/158847-solved-trying-to-install-postgresql-74-4-on-centos-5-for-use-with-project-open/#findComment-838057 Share on other sites More sharing options...
Jago6060 Posted May 20, 2009 Author Share Posted May 20, 2009 Ok, I'll keep that in mind. I actually had no idea what YUM was until you explained it. I've only been working with CentOS 5 since Monday. Quote Link to comment https://forums.phpfreaks.com/topic/158847-solved-trying-to-install-postgresql-74-4-on-centos-5-for-use-with-project-open/#findComment-838211 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.