sorry for the newb questions, but I'm new to linux administration, and even newer to centOS. I do have some experience with Gentoo Linux.
How can I get a list of packages that are installed in my system? Is there an equivalent of merge -uDvt world? (This updates the installed packages with latest releases) Is there an equivalent of portage in centOS? (The portage site lists all available packages for Gentoo by 'category').
Thanks for the help.
JD
rpm -qa
2005/12/1, John Dangler jdangler@atlantic.net:
sorry for the newb questions, but I'm new to linux administration, and even newer to centOS. I do have some experience with Gentoo Linux.
How can I get a list of packages that are installed in my system? Is there an equivalent of merge -uDvt world? (This updates the installed packages with latest releases) Is there an equivalent of portage in centOS? (The portage site lists all available packages for Gentoo by 'category').
Thanks for the help.
JD
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Enrico Indiogine Parasol Laboratory Texas A&M University
enricoi@cs.tamu.edu hindiogine@gmail.com 979-845-3937
On 01/12/05, John Dangler jdangler@atlantic.net wrote:
sorry for the newb questions, but I'm new to linux administration, and even newer to centOS. I do have some experience with Gentoo Linux.
How can I get a list of packages that are installed in my system?
[1]$ rpm -qa [2]$ rpm -qa --last | tac
[1] will list all packages, and [2] all packages, sorted by installed date with the most recent last.
Is there an equivalent of merge -uDvt world? (This updates the installed packages with latest releases)
Look into yum for providing updates.
[1]# yum check-update [2]# yum -y update
[1] lists updated packages that would apply to your system and then [2] would install them.
Is there an equivalent of portage in centOS? (The portage site lists all available packages for Gentoo by 'category').
yum group-list perhaps?
Read up on RPM and Yum. RPM is the base package management for RH-like systems and Yum sort of a pull/delivery mechanism that resolves dependencies.
http://www.rpm.org/max-rpm/ should have more than you need to know about RPMs.
http://www.centos.org/modules/smartfaq/faq.php?faqid=8 and http://linux.duke.edu/projects/yum/ explains more about Yum.
Will.
John Dangler wrote:
sorry for the newb questions, but I'm new to linux administration, and even newer to centOS. I do have some experience with Gentoo Linux.
How can I get a list of packages that are installed in my system? Is there an equivalent of merge -uDvt world? (This updates the installed packages with latest releases) Is there an equivalent of portage in centOS? (The portage site lists all available packages for Gentoo by 'category').
CentOS uses the yum package manager. Some baic information to get you started is on the man pages at 'man yum' and 'man yum.conf'. Beyond that now would be a good time to read through "Managing Software with yum", an excellent guide on how to manage packages and keep your system updated.
http://mirror.centos.org/centos/4/docs/html/yum/
- K