InfoHeap
Tech
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Brew tutorials

  • Mac brew (homebrew) - quick start guide
  • Mac brew - how to find latest available package without installing
  • Mac brew - how to relink installed binaries for a package
 
  • Home
  • > Tutorials
  • > Mac
  • > Brew

Mac brew – how to find latest available package without installing

By admin on Dec 20, 2015

Find available packages on Mac using brew

$ brew search [package name]
$ brew search lua
lua                                    lua51                                  luabind                                luajit                               
homebrew/emacs/lua-mode                             homebrew/nginx/lua-nginx-module                     homebrew/versions/lua53 

Get info about a specific package using brew

$ brew info lua
lua: stable 5.2.4 (bottled)
Powerful, lightweight programming language
http://www.lua.org/
Not installed
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/lua.rb
==> Options
--universal
	Build a universal binary
--with-completion
	Enables advanced readline support
--without-luarocks
	Don't build with Luarocks support embedded
--without-sigaction
	Revert to ANSI signal instead of improved POSIX sigaction
==> Caveats
Please be aware due to the way Luarocks is designed any binaries installed
via Luarocks-5.2 AND 5.1 will overwrite each other in /usr/local/bin.

This is, for now, unavoidable. If this is troublesome for you, you can build
rocks with the `--tree=` command to a special, non-conflicting location and
then add that to your `$PATH`.

Note that package does not have to be installed for finding info.

Find if newer brew package is available

In case you have package (lua) already installed you will see info about installed version also as shown below. Then you can compare the two versions and see if there is a newer version available.

$ brew info lua
lua: stable 5.2.4 (bottled)
Powerful, lightweight programming language
http://www.lua.org/
/usr/local/Cellar/lua/5.2.4_1 (81 files, 1.1M) *
  Poured from bottle
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/lua.rb
==> Options
--universal
	Build a universal binary
--with-completion
	Enables advanced readline support
--without-luarocks
	Don't build with Luarocks support embedded
--without-sigaction
	Revert to ANSI signal instead of improved POSIX sigaction
==> Caveats
Please be aware due to the way Luarocks is designed any binaries installed
via Luarocks-5.2 AND 5.1 will overwrite each other in /usr/local/bin.

This is, for now, unavoidable. If this is troublesome for you, you can build
rocks with the `--tree=` command to a special, non-conflicting location and
then add that to your `$PATH`.

Suggested posts:

  1. How to resize image (including animated gif) using Image magick convert
  2. How to use CasperJS to automate website testing
  3. bower – installation and quick start guide
  4. CSS – style for element having two classes (both)
  5. How to install node (node.js) on Mac
  6. How to install phantomjs on Ubuntu Linux
  7. Mac – how to convert mp4 to webm
  8. Php look ahead and look behind regex examples
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Brew, Mac, Mac Command Line, Tutorials
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | Company results | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries | InfoHeap Money

Copyright © 2025 InfoHeap.

Powered by WordPress