LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   A noob qn regarding Package managers. (https://www.linuxquestions.org/questions/linux-newbie-8/a-noob-qn-regarding-package-managers-865619/)

maobin 02-28-2011 09:37 PM

A noob qn regarding Package managers.
 
Hi all,
I have a noob qn, if I installed a program with yum, will I be able to see the details of the installed program with rpm -qa?

My linux has no internet access so I can't test it out.

AlucardZero 02-28-2011 09:39 PM

Yes. yum uses rpm in the background.

maobin 02-28-2011 09:42 PM

Quote:

Originally Posted by AlucardZero (Post 4274669)
Yes. yum uses rpm in the background.

Is there any package manager that doesnt use rpm as background? or it is a must to use rpm as a background?

frankbell 02-28-2011 09:55 PM

Quote:

Originally Posted by maobin (Post 4274673)
Is there any package manager that doesnt use rpm as background? or it is a must to use rpm as a background?

Not exactly sure what you mean.

Debian-based systems use apt; the packages are named *deb. *.deb packages and *.rpm packages are not interchangeable.

Arch uses its own package manager, pacman.

Slackware just quietly goes its own steady reliable way.

In any case, you can always compile from sources without bothering with a package manager, but then you may run into dependency issues.

This Wikipedia article is a good summary of package managers and formats:

http://en.wikipedia.org/wiki/Package_management_system

chrism01 02-28-2011 10:45 PM

If you're interested in rpm/yum cmds, try this http://kbase.redhat.com/faq/docs/DOC-2531

maobin 02-28-2011 11:18 PM

Quote:

Originally Posted by frankbell (Post 4274680)
Not exactly sure what you mean.

Debian-based systems use apt; the packages are named *deb. *.deb packages and *.rpm packages are not interchangeable.

Arch uses its own package manager, pacman.

Slackware just quietly goes its own steady reliable way.

In any case, you can always compile from sources without bothering with a package manager, but then you may run into dependency issues.

This Wikipedia article is a good summary of package managers and formats:

http://en.wikipedia.org/wiki/Package_management_system

so does it mean that red hat only has yum and rpm?

sumeet inani 02-28-2011 11:34 PM

yeah , red hat needs rpm file or source tarball to install software.
My friend had red hat without subscription support so he could not access repository for easy installation of software.
I suggest that you try cent OS which is similiar to red hat without hassles of compiling from source or locating desired rpm's as its repository is free .

maobin 02-28-2011 11:37 PM

Quote:

Originally Posted by sumeet inani (Post 4274740)
yeah , red hat needs rpm file or source tarball to install software.
My friend had red hat without subscription support so he could not access repository for easy installation of software.
I suggest that you try cent OS which is similiar to red hat without hassles of compiling from source or locating desired rpm's as its repository is free.

Thanks for the advice :)

maobin 02-28-2011 11:39 PM

1)yum used in Fedora, CentOS-5, Red Hat Enterprise Linux 5 and above, Scientific Linux, Yellow Dog Linux and Oracle Enterprise Linux

2)up2date used in Red Hat Enterprise Linux and CentOS (CentOS-3 and CentOS-4).

I pulled this from wiki, so other than yum there is also other package manager like up2date. It is true that all the front ends will have to use rpm somehow?

knudfl 03-01-2011 05:56 AM

Quote:

It is true that all the front ends will have to use rpm somehow ?
You are using an rpm based OS. All packages are "rpm packages" !

The install command used by yum (and the GUI tools) is 'rpm -Uvh <package>.rpm'.
( 'up2date' is a very old tool : Only used in some old EL4 / CentOS4.)
( EL3 / CentOS3 is obsoleted.)

..

maobin 03-01-2011 07:14 PM

Quote:

Originally Posted by knudfl (Post 4275037)
You are using an rpm based OS. All packages are "rpm packages" !

The install command used by yum (and the GUI tools) is 'rpm -Uvh <package>.rpm'.
( 'up2date' is a very old tool : Only used in some old EL4 / CentOS4.)
( EL3 / CentOS3 is obsoleted.)

..

Ic, thanks for the clarification.. :)

chrism01 03-01-2011 07:30 PM

Support Lifecycles for RHEL https://access.redhat.com/support/po...pdates/errata/


All times are GMT -5. The time now is 11:18 AM.