I often find myself forgetting what I installed to get a certain command.  On my Arch machine, I can simply run pacman -Qo $(which &lt;command&gt;) and it finds the associated package.    Does anyone know of a way to do this using brew?
123862
$ brew link binutils  Linking /usr/local/Cellar/binutils/2.24... Warning: Could not link binutils. Unlinking...  Error: Could not symlink file: /usr/local/Cellar/binutils/2.24/share/info/configure.info Target /usr/local/share/info/configure.info already exists. You may need to delete it. To force the link and overwrite all other conflicting files, do:   brew link --overwrite formula_name   As I see I can not link binutils because there is configure.info file in my filesystem.  I am just wondering if there is any way to know which of installed home-brew formulas had installed this file ?
97302
I have an Ubuntu 10.04 LTS server with a minimal install that I want to compile postgres on. With the minimal install the server did not have gcc so I had to do an apt-get install gcc but now I keep getting this error from the postgres ./configure.  configure: error: readline library not found   I can't seem to find the name of the package that contains the readline library. So I have two questions.   What is the name of the package that contains readline? Is there some way given the error message above for me to find the associated package from its standard name?
90186
apt-cache search returns list of available packages. In my case I would like to look at  the list of files that would be installed on my PC in case I install the package usb-creator-gtk.  Something like dpkg-query -L does for an already installed package.   Thanks for help.
39425
I'd like to install software packages, similar to apt-get install &lt;foo&gt; but:   Without sudo, and Into a local directory   The purpose of this exercise is to isolate independent builds in my  server.  I don't mind compiling from source, if that's what it takes, but obviously I'd prefer the simplest approach possible. I tried apt-get source --compile &lt;foo&gt; as mentioned  but I can't get it working for packages like autoconf. I get the following error:  dpkg-checkbuilddeps: Unmet build dependencies: help2man  I've got help2man compiled in a local directory, but I don't know how to inform apt-get of that. Any ideas?  UPDATE: I found an answer that almost works at . The problem with chroot is that it requires sudo. The problem with apt-get source is that I don't know how to resolve dependencies. I must say, chroot looks very appealing. Is there an equivalent command that doesn't require sudo?
26167
I'm on a CentOS machine. I updated and installed some packages a few weeks back, but I don't remember the name of every package or the names of every dependency. I used yum.  Can I list the packages on my system by the date they were last installed or updated?
122298
I have noticed that while on Ubuntu, if I type the following:  mc   and it isn't installed, I get the message below:  The program 'mc' is currently not installed. You can install it by typing: sudo apt-get install mc   However in Debian, that is not available. It just gives a "-bash: /usr/bin/mc: No such file or directory" message. How can I implement the same functionality in bash command line on Debian? Yes, I know that if it is package suggestion that I want, I can simply do a regex search using apt-cache search. However I was hoping for the simpler suggestion immediately on typing the name of the program.  As per discussions, the functionality is provided by the package command-not-found. However even after installing it, and also installing bash-completion package, this isn't available on the Debian bash shell.
55081
I suppose you could build a list of all packages that would be installed if you started with an empty apt database and installed everything that deborphan -a currently tells you. Then compare that with what's currently installed.  The difference would be packages that cannot be retrieved automatically with the current list of repositories.  I've no idea where to start with that though.
76071
I know, I just can hit Super+A to see all installed apps in Ubuntu, but I need a command to list their names. The command  dpkg --get-selections | awk '{print $1}'   is also not an option because it shows all installed packages and it contains drivers, kernels and libraries.
73145
I have a package that's installed on my PC as an dependency to another package.  I would like to have the package explicitly installed, but without actually re-installing it, or downloading any files.  Is this possible?  update:  I do not have any packages cached in /var/cache/pacman/pkg, which is one of the reasons I want to change the package detail without a re-install.  Even If I had the packages cached, running pacman -S  would mean the whole install proccess is run, which I also want to avoid.
88988
When I have installed a package using apt, is there a way to find out by which command(s) I can run the installed program(s)?  For instance, the package httpcode is not available as httpcode, and the package description (apt show httpcode) does not explain how to run it. How could I have found out that it’s run via hc from the command line?  There are two slightly hacky workarounds I found:    Assuming that programs are by default installed in usr/bin, I ran ls -ltc | head -n 10 to find recenlty touched files there, and indeed I found hc. Similarly to 1, dpkg -L httpcode returns a list of files created by installing the package, which also lists /usr/bin/hc.   Is there a better solution to this problem that doesn’t hinge upon the intuition of where the program might be stored on disk?  I also found that man httpcode does open the man page of the program, even though I called it with the package name as argument. Does this always work (if the program provides a manpage)?
64587
I am running Debian jessie stable in order to understand how the .deb package interacts with the system. What is the correct way to extract and install a packge_name.deb without the command dpkg?
6299
Let's say there are A, B and C package.  A and C were installed manually with apt-get install, and B is a dependency of A and was installed by apt automatically.  Is it possible to know that with some apt-* or dpkg command?
54686
I am using a minimal Debian system which does not have the top program installed. I tried to install top with sudo apt-get install top, but top is not a package name.  It seems that top is a part of some other package. How can I find out which package I should install to get it? More generally, how can I find the package that contains a program?
42931
When installing something from source (say, Ruby 1.9.2), what command can I run to get a complete list of all the dependencies needed to install that application? Is this possible?
46451
I'm looking for a portable version of Chrome (not Chromium) that I can work with on Ubuntu 14.04 LTS. I can only find Chromium or really outdated versions. Due to limitation on the machine I'm using, I cannot install Wine or utilize any admin features as I am on a standard account. Ideally, I would rather have an official version or at least one that exists in a repository that I can apt-get from.   (I understand that apt-get requires sudo, I can use it for the initial vagrant setup, but that's all. Hence why I would need non-admin methods)
45716
When I type "mc" on my 14.04 Ubuntu terminal I get a   The program 'mc' is currently not installed. You can install it by typing: sudo apt-get install mc   How can I get details about the program 'mc' before installing it? I want to confirm that that is the file I want, and not some other one.
99989
I would like to instal  with use of Homebrew. I'm performing the following command:  brew install putty   which gives the seemingly correct output:  ==&gt; Downloading https://homebrew.bintray.com/bottles/putty-0.67.el_capitan.bottle.tar.gz Already downloaded: /Users/thisuser/Library/Caches/Homebrew/putty-0.67.el_capitan.bottle.tar.gz ==&gt; Pouring putty-0.67.el_capitan.bottle.tar.gz 🍺  /usr/local/Cellar/putty/0.67: 11 files, 1.5M   However, the putty command is not recognised:  thisuser-541/41:~$ putty -bash: putty: command not found