Bitcoin Forum
May 06, 2024, 11:47:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Stocked with homebrew script  (Read 210 times)
Zilon (OP)
Sr. Member
****
Offline Offline

Activity: 966
Merit: 421

Bitcoindata.science


View Profile WWW
August 02, 2022, 06:13:54 PM
Last edit: August 02, 2022, 08:44:40 PM by Zilon
Merited by Sandra_hakeem (4), vapourminer (1), Rruchi man (1), Rockstarguy (1)
 #1

Installing homebrew package manager
After entering this command line on my terminal i got this command
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"



How do i bypass the password pls.
It is not giving me an avenue to enter my password




Solved...

1714996044
Hero Member
*
Offline Offline

Posts: 1714996044

View Profile Personal Message (Offline)

Ignore
1714996044
Reply with quote  #2

1714996044
Report to moderator
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714996044
Hero Member
*
Offline Offline

Posts: 1714996044

View Profile Personal Message (Offline)

Ignore
1714996044
Reply with quote  #2

1714996044
Report to moderator
n0nce
Hero Member
*****
Offline Offline

Activity: 882
Merit: 5818


not your keys, not your coins!


View Profile WWW
August 02, 2022, 09:47:54 PM
Merited by ABCbits (1)
 #2

How do i bypass the password pls.
It is not giving me an avenue to enter my password
Oh, if you need to enter a user password in a unix prompt, you usually don't see anything (no asterisks *** or anything like that).
That's normal behaviour. It is still picking up the characters you're typing and you can even backspace-delete characters if you notice you mistyped.

As far as I know, there's no way to install the Homebrew package manager without root.

But if your goal was to install Bitcoin Core, I'd recommend pulling the source through git (like you've done) and building it locally, anyway.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Zilon (OP)
Sr. Member
****
Offline Offline

Activity: 966
Merit: 421

Bitcoindata.science


View Profile WWW
August 03, 2022, 03:12:47 AM
Last edit: August 03, 2022, 05:04:26 AM by Zilon
 #3

As far as I know, there's no way to install the Homebrew package manager without root.

But if your goal was to install Bitcoin Core, I'd recommend pulling the source through git (like you've done) and building it locally, anyway.
I pulled the source through git. I will like to ask is $brew command line doing the same thing $ sudo does ? Because pip isn't install anything for me on my mac command terminal



Chlotide
Full Member
***
Offline Offline

Activity: 305
Merit: 106



View Profile
August 03, 2022, 06:24:08 AM
 #4

I pulled the source through git. I will like to ask is $brew command line doing the same thing $ sudo does ? Because pip isn't install anything for me on my mac command ?

Brew is a packet manager. It does the same thing as apt does.
Do you have linux or mac ?
Apt is used on linux (apt install "whatever") and brew mostly on mac (brew install "whatever")
"sudo" is just a linux way to say "run as administrator" and it will ask for the password for your root account (master account when you installed linux)
vv181
Legendary
*
Offline Offline

Activity: 1932
Merit: 1273


View Profile
August 03, 2022, 06:27:04 AM
Merited by vapourminer (2), Husna QA (2), ABCbits (1)
 #5

I will like to ask is $brew command line doing the same thing $ sudo does ?
It's a completely different thing.

sudo is used to authorize something. While brew, is kind of like the App Store.

When in doubt you can always try to see the documentation/manual page.

Code: ($ man sudo)
NAME
       sudo, sudoedit - execute a command as another user

DESCRIPTION
       sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy.  The invoking user's
       real (not effective) user-ID is used to determine the user name with which to query the security policy.


Code: ($ man brew)
NAME
       brew - The Missing Package Manager for macOS (or Linux)

DESCRIPTION
       Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn´t include with macOS. It can also install software not
       packaged for your Linux distribution to your home directory without requiring sudo.

Zilon (OP)
Sr. Member
****
Offline Offline

Activity: 966
Merit: 421

Bitcoindata.science


View Profile WWW
August 03, 2022, 07:14:45 AM
 #6

Brew is a packet manager. It does the same thing as apt does.
Do you have linux or mac ?
Apt is used on linux (apt install "whatever") and brew mostly on mac (brew install "whatever")
"sudo" is just a linux way to say "run as administrator" and it will ask for the password for your root account (master account when you installed linux)
Mac is what i have. More like saying $sudo apt install "whatever" on linux and homebrew/bin/brew install "whatever" since i was denied access to sudo. This made me install brew manually
Chlotide
Full Member
***
Offline Offline

Activity: 305
Merit: 106



View Profile
August 03, 2022, 08:15:14 AM
 #7

Mac is what i have. More like saying $sudo apt install "whatever" on linux and homebrew/bin/brew install "whatever" since i was denied access to sudo. This made me install brew manually

https://support.apple.com/en-gb/guide/terminal/apd5b0b6259-a7d4-4435-947d-0dff528912ba/mac#:~:text=To%20run%20commands%20with%20superuser,sudo%20stands%20for%20superuser%20do.&text=You're%20asked%20for%20the%20password%20of%20the%20current%20user.&text=You're%20asked%20to%20enter,is%20opened%20for%20that%20user.

When you add sudo you are asked for your mac user password. The one you use to open your macbook.

What do you want to do ? Install Bitcoin Core ? Might as well download the archive directly https://bitcoin.org/en/download
Zilon (OP)
Sr. Member
****
Offline Offline

Activity: 966
Merit: 421

Bitcoindata.science


View Profile WWW
August 03, 2022, 08:27:36 AM
Last edit: August 03, 2022, 03:36:13 PM by Zilon
 #8

When you add sudo you are asked for your mac user password. The one you use to open your macbook.

What do you want to do ? Install Bitcoin Core ? Might as well download the archive directly https://bitcoin.org/en/download
I have the bitcoin core already i want to play around the open source code. Sudo apt locked the password with a key, that is the first [img] i uploaded. I didn't create any input window where i can enter my password
Chlotide
Full Member
***
Offline Offline

Activity: 305
Merit: 106



View Profile
August 03, 2022, 09:00:23 AM
 #9

I didn't create any input window where i can enter my password
After you enter the command " sudo ..... " it took you to the next row and it said "password: "
You just type there the password (doh). No extra field, no input, no *** instead of characters. Just write it and hit enter. It will register it.  Wink

Have fun playing around with the console. Hard at first with no UI but you'll get the hang of it
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6728


bitcoincleanup.com / bitmixlist.org


View Profile WWW
August 03, 2022, 09:35:07 AM
 #10

You can also just run sudo -i to get a root shell so you can copy/paste the command verbatim. Much more straightforward than typing a hidden password (how are you supposed to know when curl is finished downloading?)

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
n0nce
Hero Member
*****
Offline Offline

Activity: 882
Merit: 5818


not your keys, not your coins!


View Profile WWW
August 03, 2022, 01:24:24 PM
Merited by vapourminer (1), ABCbits (1)
 #11

As far as I know, there's no way to install the Homebrew package manager without root.

But if your goal was to install Bitcoin Core, I'd recommend pulling the source through git (like you've done) and building it locally, anyway.
I pulled the source through git. I will like to ask is $brew command line doing the same thing $ sudo does ? Because pip isn't install anything for me on my mac command terminal


All of your questions can be answered through simple web searches.

brew: OS Package manager.
apt: OS Package manager.
pip: Python package manager.
sudo: Execute command as superuser / root.
git: Version control system / VCS.

And how to enter your password on the command line is what I've answered in the very first reply. Was something unclear about that?

One more clarification: Installing Homebrew requires root; using it after it's installed does not.
https://github.com/Homebrew/install/blob/master/install.sh#L220
So you're looking at installing Homebrew through sudo /bin/bash -c ... and then using it afterwards simply with brew install ....

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Rizzrack
Copper Member
Hero Member
*****
Offline Offline

Activity: 764
Merit: 700


Defend Bitcoin and its PoW: bitcoincleanup.com


View Profile WWW
August 03, 2022, 01:41:17 PM
Merited by n0nce (1)
 #12

I would recommend making a Linux VM and experimenting/learning there.
In case you mostly copy+paste commands it would be safer to experiment on a VM than your everyday PC. There's no better way of learning than the hands-on approach, and a VM is a better test bed. You don't care if you FUBAR it  Grin (fuck up beyond any repair)

Just sayin' ...

Rizzrack
Copper Member
Hero Member
*****
Offline Offline

Activity: 764
Merit: 700


Defend Bitcoin and its PoW: bitcoincleanup.com


View Profile WWW
August 04, 2022, 12:01:18 PM
 #13

Why not macOS VM since OP currently use that OS?

You are right but just thought that if OP wants to...

play around the open source code.

... he might as well go the whole nine yards and use an open source OS as well. IMO it just seems wrong not to  Tongue

PrivatePerson
Member
**
Offline Offline

Activity: 173
Merit: 12


View Profile
August 04, 2022, 01:48:21 PM
 #14

Time Machine - to create a backup
Parallels - for VM Smiley
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!