Ask Your Question
0

search in packages before install them

asked 2015-04-12 14:40:30 -0600

yasharne gravatar image

updated 2015-04-13 11:45:38 -0600

mether gravatar image

Hi,

I used apt-cache search in ubuntu to search in packages description, What command should I use in order to do that in Fedora?

Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
4

answered 2015-04-12 14:57:02 -0600

updated 2015-04-12 15:56:26 -0600

You can use

dnf search NAME_OR_DESCRIPTION
or
yum search NAME_OR_DESCRIPTION
Next, you can print the info for a specific package by using
dnf info PACKAGE_NAME
or
yum info PACKAGE_NAME

edit flag offensive delete link more
0

answered 2015-04-12 16:06:07 -0600

sergiomb gravatar image

You can use command repoquery from yum-utils

repoquery -a --pkgnarrow=available

will give all packages that you have in repos and not installed, you have man repoquery have good examples .

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-04-12 14:10:02 -0600

Seen: 327 times

Last updated: Apr 12 '15