Closed stottj closed 1 year ago
Using Homebrew on MacOS
use brew to search for a package
commands: brew search macdown
installing MacDown, an open source for Markdown documents
commands: brew install --cask macdown
for MacOS you should run brew update twice and brew doctor for generic troubleshooting. brew doctor will give the user information on what they should do to fix problems. If this doesnt work then one should create an issue using the logs created when using run brew gist-logs
commands: brew update brew doctor
👍🏻
I have a shell alias for brew to update and upgrade which is helpful when starting the day
alias update = "brew update && brew upgrade && any-other-system-updates-here
Summary
Learn the basics of package management by installing a software package using
apt
on a Debian-based system orbrew
on a macOS system. This skill is essential for managing software and libraries on Unix-like operating systems.Description
Objective: Gain proficiency in using package managers (
apt
orbrew
) to install, update, and manage software packages on your operating system.Scope:
apt
andbrew
Learning Tasks
Introduction to Package Management:
Understanding
apt
andbrew
:apt
andbrew
are and how they differ regarding usage and features.Installing a Package:
apt
orbrew.
Verifying Installation:
Hands-on Practice:
apt
orbrew
to search for a package (e.g.,git
orcurl
).apt install <package-name>
orbrew install <package-name>.
git --version
).Troubleshooting:
Learning Goals
apt
orbrew.
Priority