• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

brew

7zip in Mac OS

April 6, 2022

Install

brew install p7zip

brew install p7zip

Extract

7z x file.7z

7z x file.7z

Compress

7z a file.7z mydirectory

7z a file.7z mydirectory

Filed Under: Mac Tagged With: append, brew, extract, install, p7zip

Homebrew

January 8, 2017

Homebrew is the missing package manager for the Mac OS. It’s missing because the MacOS doesn’t have one. Homebrew is the MacOS equivalent of apt-get or aptitude in Ubuntu Linux. With Homebrew installed on your MacOS, you can easily install and uninstall programs, packages, and utilities via the command line. For example, to install the wget, apache, git and ffmpeg, you can run the following commands from the Terminal.

$ brew install wget
$ brew install apache
$ brew install git
$ brew install ffmpeg

$ brew install wget $ brew install apache $ brew install git $ brew install ffmpeg

If you don’t have Homebrew installed, run the following command from the Terminal.

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

If for some unexplained reason you’re having problems with Homebrew, you can uninstall and reinstall it.

$ rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

$ rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Filed Under: Linux, Mac Tagged With: brew, homebrew, package manager

  • Home
  • About
  • Archives

Copyright © 2023