New to arch. Failed 1st / makepkg install. Advice how to fix

Hello fellow Endeavour OS users! I am trying to learn my way around this new Arch based environment and am running into issues with installing software.

I am a long time debian user and usually use brave-browser. I used to just apt-get install brave-browser and it was done.

How do I accomplish this in EndOS?

I could not find it using “pacman -Ss brave”

After some research, you can find the brave-browser here at “https://aur.archlinux.org/packages/brave/

So I used the comand “git clone https://aur.archlinux.org/brave.git

Then I went into the directory to apply the “makepkg -si” inside where the PKGBUILD is located.

However, I received this error when trying to finish. ( Learned these steps from TIPS video on welcome screen ).

" ==> ERROR: ‘pacman’ failed to install missing dependencies.
==> Missing dependencies:
→ npm
→ python2
→ gperf
→ java-runtime-headless
→ clang
→ python2-setuptools
→ ncurses5-compat-libs
==> ERROR: Could not resolve all dependencies."

Thank you for your time,
-dONNIE_

You should have yay, an AUR helper, installed with EndOS to install brave with.

Don’t have to build it either, you can just install the brave binary package brave-bin.

yay -S brave-bin

No need to build a browser if you don’t have to.

You can also use yay to search the AUR.

$ yay brave
9 aur/suave 2.0-1 (+0 0.00)
Sport Utility Assault Vehicle Extreme. Drive very small, but very brave tank.
8 aur/trisquel-icon-theme 7.0_4-1 (+3 0.00) (Out-of-date: 2018-04-29)
Trisquel GNU/Linux icon theme, based on Gnome Brave icon theme
7 aur/brave-dev-bin 1.24.72-1 (+9 0.00)
Web browser that blocks ads and trackers by default (dev binary release).
6 aur/brave-nightly-bin 1.25.37-1 (+16 1.01)
Web browser that blocks ads and trackers by default (nightly binary release).
5 aur/brave-beta-bin 1.24.74-1 (+22 1.03)
Web browser that blocks ads and trackers by default (beta binary release).
4 aur/brave-git 1.25.33.g0126e4e-1 (+23 0.00)
A web browser that stops ads and trackers by default. Master branch.
3 aur/brave 1.23.73-1 (+88 13.79)
A web browser that stops ads and trackers by default
2 aur/brave-bin 1:1.23.73-1 (+377 27.23)
Web browser that blocks ads and trackers by default (binary release).
1 community/python-adblock 0.4.4-1 (1.1 MiB 7.1 MiB)
Brave's adblock library in Python
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
3 Likes

If you install with yay it updates with yay, also sudo apt update && sudo apt upgrade is replaced with just yay

This worked perfect! Thank you for your quick and thoughtful response.

Could I ask why it is better to pick the brave-bin over the brave package? I notice the brave one is like 23GBS!!!.

brave-bin was much smaller and worked flawlessly.

Thanks again!

1 Like

It isn’t better or worse. The package brave is built from source. It is large because you are downloading the entire source code. brave-bin is a binary that has been built for you so you are only downloading the binary.

Some people prefer to build the browser themselves, others prefer the convenience of a pre-built binary.

2 Likes

Just adding to what dalto says, building browser takes lot of time. As a newbie, I remember putting Waterfox to build on my old Core Duo + 4gb ram PC . Learnt my lesson. Never built a browser again.

1 Like

Because, typically, people do not like to wait 10+ hours to compile a web browser every time it gets a new update. But if you have a 24 core CPU, it may only take an hour or two. :rofl:

1 Like

Ah yes, renting all the computers in my locality and running distcc on them to compile browser every Sunday.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.