In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to use the brew package manager under Linux, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
Linuxbrew is the Linux version of Homebrew under OS X.
Installation depends on Debian or Ubuntusudo apt-get install build-essential curl file git
Fedora's
Sudo dnf groupinstall 'Development Tools' & & sudo dnf install curl file git
CentOS or Red Hat
Sudo yum groupinstall 'Development Tools' & & sudo yum install curl file git executes the installation script
Cannot be executed with root permission or sudo. Please give the user sufficient execution permissions in advance. The default user rights for each distribution are sufficient to prevent any problems from being reminded.
Sh-c "$(curl-fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
After the execution of the script, you will be reminded to create a new .zprofile in the current directory, vim ~ /. Zprofile to write:
Export PATH= "/ home/linuxbrew/.linuxbrew/bin:$PATH" export MANPATH= "/ home/linuxbrew/.linuxbrew/share/man:$MANPATH" export INFOPATH= "/ home/linuxbrew/.linuxbrew/share/info:$INFOPATH"
In addition to the new .zprofile file, the following script reminds you to add environment variables, which is not very necessary. The current user can execute the brew command without adding environment variables. Because of the collapse of the profile file before, resulting in the same situation as deleting glibc, there is a shadow. So after adding linuxbrew to the environment variable, the documentation and execution script have enough hints, I will not demonstrate here, the students with strong hands-on ability to do it by themselves.
Confirm installation
Execute in the current shell window
Source / .zprofilebrew install hello
The following hint is that the installation is successful and the installation may be a little slow. Slow is also due to the update of the warehouse. If the installation has been stuck in Updating Homebrew, you can press ctrl + c to force the update, and it will continue with the installation.
If the update problem persists, I use zsh, modify the ~ / .zshrc configuration file, add "export HOMEBREW_NO_AUTO_UPDATE=true" to ~ / .zshrc, which turns off the automatic update of brew, and add this statement to the configuration file according to different shell.
It is not known what is the harm of turning off automatic updates. The problem of slow update has not been solved, and the problem of raising the problem has been solved.
Fedora Linux uses brew package Manager Fedora Linux uses brew package Manager
Then execute the 'hello' command and enter World Hello, which means that the brew package manager is available to the current user. You can try all other software that can be installed with brew later.
Install other softwar
I found a tool here, annie. This is a tool written in go language that can easily and quickly download videos from the website.
Brew install annie
After the installation is successful, check the version
Annie-v
Test download video
Annie https://www.bilibili.com/video/av30693553
Thank you for reading this article carefully. I hope the article "how to use brew package Manager under Linux" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.