Gazou - how to install (new to linux)

Hey guys, I'm new to linux in general and wanted to install "Gazou" https://github.com/kamui-fin/gazou/blob/master/README.md First I tried to use boxbuddy (arch) and the command listet in github. After asking me which language I wanted to install (what seemed to work?) it didn't continue. Its not listed in boxbuddy so I guess it didn't work? (some files got installed) After that I tried to install it manual (building from source) but I got an error message (image). I guess I'm missing the "dependencies"? but from looking it up it seems like they are from ubuntuu? Would it work if I install them with boxbuddy and do I need to delete gazou first to install it afterwards?
GitHub
gazou/README.md at master · kamui-fin/gazou
Japanese and Chinese OCR for Linux & Windows. Contribute to kamui-fin/gazou development by creating an account on GitHub.
No description
36 Replies
termdisc
termdisc•3mo ago
you can install it from the AUR right now, paru has issues, so you can use yay as your AUR helper Install yay:
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
when that's eventually done, install gazou-git:
yay -S gazou-git
yay -S gazou-git
if you want, you can start with a fresh arch box
termdisc
termdisc•3mo ago
No description
Brightly
BrightlyOP•3mo ago
thank you very much it seems to work. At least the first part didn't bring an error message. Just to make sure: Do I need to press I or A here?
No description
termdisc
termdisc•3mo ago
I did A although in hindsight, you probably want that -DGUI=off somewhere in there if you're using wayland
Brightly
BrightlyOP•3mo ago
I'm really sry that I don't know how to read all that but did it actually do anything?
No description
termdisc
termdisc•3mo ago
it's asking a different question maybe it's better to terminate this right now and redo it with the necessary DGUI flag if you're using Wayland
Brightly
BrightlyOP•3mo ago
I think its preinstalled but I have an AMD. So it shouldn't matter?
termdisc
termdisc•3mo ago
it matters for non-GPU reasons
termdisc
termdisc•3mo ago
GitHub
gazou/README.md at master · kamui-fin/gazou
Japanese and Chinese OCR for Linux & Windows. Contribute to kamui-fin/gazou development by creating an account on GitHub.
termdisc
termdisc•3mo ago
I don't know the right way to pass the -DGUI=OFF flag through to cmake via yay, so you'll just have to remember to not use it as a GUI
Brightly
BrightlyOP•3mo ago
What exactly does that mean? Am I just not allowed to use shortcuts? And the "diff to show" <- Is that only to compare lines? Can I just "skip" it with "N"one?
termdisc
termdisc•3mo ago
you can just skip with N for the diffs the global keyboard shortcuts won't work in Wayland you have to run the app as a command line run gazou --help for the syntax
Brightly
BrightlyOP•3mo ago
So when it finished downloading the language-package its done and I can just use this command line in the terminal?
termdisc
termdisc•3mo ago
yes is that in the container?
Brightly
BrightlyOP•3mo ago
In the terminal. Do I need to write that in boxbuddy arch?
termdisc
termdisc•3mo ago
yes
Brightly
BrightlyOP•3mo ago
Doesn't seem to work?
No description
termdisc
termdisc•3mo ago
did you finish installing gazou via yay? something along the lines of this
Package (2) Old Version New Version Net Change

gazou-git 0.3.3.r0.g7dd023f-1 77.37 MiB
gazou-git-debug 0.3.3.r0.g7dd023f-1 0.3.3.r0.g7dd023f-1 0.00 MiB

Total Installed Size: 82.48 MiB
Net Upgrade Size: 77.37 MiB

:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring [############################################] 100%
(2/2) checking package integrity [############################################] 100%
(2/2) loading package files [############################################] 100%
(2/2) checking for file conflicts [############################################] 100%
:: Running pre-transaction hooks...
(1/1) Distrobox hook /etc/distrobox-pre-hook.sh...
:: Processing package changes...
(1/2) installing gazou-git [############################################] 100%
(2/2) reinstalling gazou-git-debug [############################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Distrobox hook /etc/distrobox-post-hook.sh...
(3/3) Distrobox hook /usr/share/libalpm/scripts/distrobox_post_hook.sh...
📦[outphase@temparch ~]$ gazou
Package (2) Old Version New Version Net Change

gazou-git 0.3.3.r0.g7dd023f-1 77.37 MiB
gazou-git-debug 0.3.3.r0.g7dd023f-1 0.3.3.r0.g7dd023f-1 0.00 MiB

Total Installed Size: 82.48 MiB
Net Upgrade Size: 77.37 MiB

:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring [############################################] 100%
(2/2) checking package integrity [############################################] 100%
(2/2) loading package files [############################################] 100%
(2/2) checking for file conflicts [############################################] 100%
:: Running pre-transaction hooks...
(1/1) Distrobox hook /etc/distrobox-pre-hook.sh...
:: Processing package changes...
(1/2) installing gazou-git [############################################] 100%
(2/2) reinstalling gazou-git-debug [############################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Distrobox hook /etc/distrobox-post-hook.sh...
(3/3) Distrobox hook /usr/share/libalpm/scripts/distrobox_post_hook.sh...
📦[outphase@temparch ~]$ gazou
because gazou is installed as an app, distrobox can't discern that you would want to export the binary, and exporting the app won't work the way we want it to. create a new file gazou in ~/.local/bin and add in
#!/bin/sh

distrobox enter arch -- /usr/bin/gazou "$@"
#!/bin/sh

distrobox enter arch -- /usr/bin/gazou "$@"
make that gazou executable, then you can run it from your host
Brightly
BrightlyOP•3mo ago
i closed the terminal to write the new command. It finished downloading the language package and didn't asked for anything else. I created a text file with you text in it. Then changed it to an .exe and clicked on it When I try to execute it it opens bottle? Is that normal? Do I need to create a new bottle?
termdisc
termdisc•3mo ago
I didn't say to change it to an .exe I provided the suggested name (which could be anything really), the location and the contents
Brightly
BrightlyOP•3mo ago
yeah I changed it to an exe
No description
termdisc
termdisc•3mo ago
ok. why?
Brightly
BrightlyOP•3mo ago
with you content
termdisc
termdisc•3mo ago
oh, I think you misunderstood what I meant by "make it executable"
Brightly
BrightlyOP•3mo ago
oh sry I misread that you didn't want that. I thought "make that gazou executable," meant that yes sry
termdisc
termdisc•3mo ago
right click on it, in the menu, there's an option to flag it as executable
Brightly
BrightlyOP•3mo ago
what for a format does it need to be? (.txt, .exe or something like that?)
termdisc
termdisc•3mo ago
nothing, no extension you can call it something else if you want to not have a conflict when running it within the container itself
Brightly
BrightlyOP•3mo ago
Then I will add a number but tbh I can't really see where I need to flag it?
No description
termdisc
termdisc•3mo ago
this is an example of why you shouldn't have incomplete screenshots. you've cropped out the place you need to click
Brightly
BrightlyOP•3mo ago
sry its in propeties?
No description
termdisc
termdisc•3mo ago
yes
Brightly
BrightlyOP•3mo ago
this little box right? After that I only need to click on it?
No description
termdisc
termdisc•3mo ago
yes
Brightly
BrightlyOP•3mo ago
Nothing happend... I just checked in /usr/bin/gazou and there is no gazou file So the installation didn't work? I'm really grateful for your help and I learned so so much. I'm really sorry how difficult it must have been to work with me. I think I should learn more about linux before attempting this one again. (At least here it's getting late) Thanks you very very much. I hope you have a nice day
termdisc
termdisc•3mo ago
/usr/bin/gazou is referring to the arch container distrobox enter arch -- /usr/bin/gazou "$@" this is the command in the bash script I had you add distrobox enter arch means to enter the arch box -- means run the following stuff in the arch box /usr/bin/gazou exists in the arch box "$@" are arguments passed in with the command so if you create ~/.local/bin/gazou to be the script I provided, you can run gazou in your host's terminal
Want results from more Discord servers?
Add your server