The output for the above git command: brew install git To install git using brew, the command will be like this: brew install git So, now the package manager is on our system, let’s try to install some packages, for example, git or python. test -d ~/.linuxbrew & eval $(~/.linuxbrew/bin/brew shellenv) test -d /home/linuxbrew/.linuxbrew & eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) test -r ~/.bash_profile & echo "eval \$($(brew -prefix)/bin/brew shellenv)" >~/.bash_profile echo "eval \$($(brew -prefix)/bin/brew shellenv)" >~/.profile Add Homebrew to your system PATH Example to use Brew command on Linux or Windows subsystem for Linux Run the following command on your Linux system one by one. To run brew command of this package manager from anywhere in the terminal regardless of the directory in which we are, we have to tell our system about it by adding it to the bin. sh -c "$(curl -fsSL )" Install HomeBrew Step 4: Add Homebrew to your system PATH Now, simply copy & paste the command given below which will download the master script file needed to set up brew on Linux or WSL. Sudo yum install libxcrypt-compat Step 3: Command to download and install HomeBrew Sudo yum groupinstall 'Development Tools' Sudo apt-get install build-essential curl file gitįor RedHat, Fedora, CentOS or other same kinds of Linux OS
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |