Ask Your Question
0

Which package provides pactl command

asked 2016-11-04 10:54:18 -0600

madchem gravatar image

In my FC24 there is no pactl command. If I use: pactl or /usr/bin/pactl the shell returns

command not found

dnf provides '\*pactl\*' says no matches found. Is it any package in Fedora with the pactl command or does it have analogous command?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-11-04 13:31:45 -0600

ssieb gravatar image

updated 2016-11-04 17:23:57 -0600

The package is pulseaudio-utils. You could find that by doing dnf install /usr/bin/pactl.

edit flag offensive delete link more
2

answered 2016-11-04 13:57:02 -0600

fcomida gravatar image

updated 2016-11-04 14:02:12 -0600

dnf provides \*/pact\*

no quotes

edit flag offensive delete link more

Comments

I learned something. That is somewhat confusing as both rpm and repoquery use "whatprovides" to find the package that provides something and "provides" to find out what a specific package provides.

And yes, either quotes or backslash, but not both.

ssieb gravatar imagessieb ( 2016-11-04 17:26:31 -0600 )edit

without backslashes usually dnf will also look into your current working directory (actually bash will do that, expanding the glob) and, if any .rpm is in there (e.g an older version of a package you dowloaded previously) you might be puzzled by dnf refusing of doing some actions (that's how I learned a bout it) so the lesson here is always escape the glob * with a backslash

fcomida gravatar imagefcomida ( 2016-11-04 18:20:40 -0600 )edit

My previous explanation is not clear. yum used localinstall to deal with local stuff (e.g rpms), dnf makes no distinction, you for instance write dnf install <packagename> for both local or remote packages. Putting a backslash in front of packagename will force dnf to only deal with your remote repos.

fcomida gravatar imagefcomida ( 2016-11-04 18:32:45 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-11-04 10:54:18 -0600

Seen: 1,961 times

Last updated: Nov 04 '16