Remember to install libc in your linuxbrew environment to avoid the binary incompatibilities mentioned above. Easier to work on the same project on multiple machines.postgresql 9.5 you simply run: brew install postgresql9.5. Same package interface on both macOs and linux Now that Homebrew/versions has been deprecated, Homebrew/core supports a few versions of formulae with a new naming format.Compile time configurable with extra features if needed.SW level configurability (packages builds from source).Avoids distro ABI incompatibilities, eg a program/library built with Ubuntu22.04 may not run/link on Ubuntu18.04.Can be passed as is to containers (podman, docker.Change or upgrade system while keeping SW dev environment intact.More system-independent environment (installs in one folder).Less need to add additional repository sources.Less need to upgrade from stable system version (Ubuntu LTS).More up to date software versions (packages constantly upgraded). I been using both macOS/Homebrew (10+yrs) and linux/apt (30+yrs, primarily Ubuntu, Debian or Debian-based). I've recently settled on a Ubuntu / Linuxbrew combo mainly for SW dev and scientific computing (llvm, gcc, numpy, jupyter. APT is also used to upgrade components of the OS.Īnd if you don’t know how to translate a particular Homebrew command to the APT syntax, don’t hesitate to ask!ġ apt-get is one of its parts and nowadays you can use just the apt command mostly.Ģ Homebrew is a 3rd party addition on both macOS and Ubuntu in fact.ģ Not that much if you know the principles of a package manager already.ĭoes it make sense to use brew on Ubuntu or should I stay with apt-get? For example, if Ubuntu users try to find advice online, they will be definitely directed at APT. The students should be able to operate the corresponding tool on their computers anyway. It will be a little more work for you at the beginning 3 but you can then teach the appropriate tool for the target system. If you’re going to teach using a package system, you should learn the right syntax with the target tool first. However, if someone is a pure Ubuntu user, I’d absolutely encourage them to use their native tool – APT. If you are used to Homebrew, you can install it on your Ubuntu. 2 And the most important difference from a user’s perspective is that they use different command syntax, although the tasks are quite similar. The difference is that APT 1 is native, required and fully integrated part of Ubuntu while Homebrew is a 3rd party addition. I am a user of both macOS and Ubuntu and use both Homebrew (on macOS) and APT (on Ubuntu).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |