The Linuxbrew package manager is your ticket to Homebrew on Linux, and by putting in it, you’ll achieve entry to dozens of distinctive, helpful Unix-based applications and instruments that aren’t normally provided to customers by way of the conventional sources (DEB/RPM, Repos, in addition to Flatpak/Snap and AppImage). You’ll additionally discover some comparable apps you already see on Linux distros in there as effectively.

Getting used to the Homebrew packaging system on Linux with Linuxbrew could be very simple. On this tutorial, we’ll go over precisely how the Linuxbrew package manager works, and the way to get your fingers on all of the helpful and distinctive brew apps on the market as we speak!

Set up Linuxbrew package manager

Earlier than having the ability to entry and set up Homebrew functions on Linux, you’ll want to set up Linuxbrew. Doing this isn’t a sophisticated course of, but it surely does take a little bit of know-how.

To get the Linuxbrew system working in your Linux PC, go over to the official website. As soon as there, you’ll discover the obtain and set up directions, and it needs to be sufficient to get it working.

Are you having points getting the Linuxbrew packaging system up and working in your Linux PC? Don’t fear! We might help! Try our in-depth information all about putting in Linuxbrew right here!

Trying to find packages on Homebrew

Discovering packages in the Homebrew software program repository on Linux is completed with the brew search command. To use it in your PC, launch a terminal window and run the command to discover a particular app you’d like to use. For instance, to find the Homebrew ClamAV package, do:

brew search clamav

Basically, use brew search and the identify of a key phrase, app or program you’d like to use. Although, please understand that Homebrew doesn’t have each app ever made.

brew search key phrase

Need to search all Homebrew packages obtainable, fairly than only one? Run the brew search command with out a key phrase. It will show each package obtainable, fairly than only a key phrase consequence.

brew search

When working the brew search command, an enormous consequence record will seem on the display. Use it to kind by way of and discover what you want. Alternatively, add in the extra command as a pipe, to make the search outcomes simpler to learn.

brew search | extra

Z

You may also pipe the search leads to a textual content file for later.

brew search > ~/brew-packages.txt

View the output of the file with:

cat ~/brew-packages.txt

Set up packages on Homebrew

Putting in packages from the Homebrew repository is completed with the brew set up command. To put in a single package, do the following.

First, use the brew search command to find the identify of the program you’d like to set up in your system.

brew search

Subsequent, take the identify of the package and use the brew set up command in the terminal window to rapidly seize the newest model of the package.

brew set up programname

Set up a number of packages on Homebrew

The Homebrew package manager on Linux lets customers set up a number of applications at a time. To do it, seek for a package like regular. Then, after discovering the packages you’d like to set up, use the brew set up command alongside every package to set up.

For instance, to set up two Homebrew packages without delay, you’d do:

brew set up package1 package2

To put in 3, do:

brew set up package1 package2 package 3

There isn’t a restrict to what number of applications to set up with the Homebrew package manager. Simply record them one after the different and go!

Uninstalling packages on Homebrew

Uninstalling put in apps with Homebrew is completed with the brew uninstall command. To take away an app, begin by working the brew record command to view all put in packages.

brew record

Check out the listed packages on the system and pay attention to the ones you’d like to take away. Then, use the brew uninstall to do away with them. For instance, to uninstall the Homebrew model of ClamAV, do:

brew uninstall clamav

Or, when you’d like to take away a number of functions from Homebrew, do the similar as putting in a number of packages at a time. For instance, to uninstall two apps, comply with the instance beneath.

brew uninstall package1 package2

To take away three, attempt:

brew uninstall package1 package2 package3

Like putting in a number of applications, there isn’t a restrict to what number of Homebrew packages are eliminated. Simply record one after the different as desired.

Replace Homebrew packages

Updating with Homebrew works with two instructions: brew replace and brew improve.

brew replace:  updates the Homebrew system as a complete.

brew improve: used to replace particular person packages.

So, for instance, to set up a brand new launch of Linuxbrew for use in your Linux PC, open up a terminal and run brew replace.

brew replace

Or, when you’d like to replace a person program, do:

brew improve package1 package2



Source link

Share.
Leave A Reply

Exit mobile version