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.
36 Replies
you can install it from the AUR
right now, paru has issues, so you can use yay as your AUR helper
Install yay:
when that's eventually done, install
gazou-git
:
if you want, you can start with a fresh arch boxthank 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?
I did A
although in hindsight, you probably want that
-DGUI=off
somewhere in there if you're using waylandI'm really sry that I don't know how to read all that but did it actually do anything?
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 WaylandI think its preinstalled but I have an AMD. So it shouldn't matter?
it matters for non-GPU reasons
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.
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 GUIWhat 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?
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 syntaxSo when it finished downloading the language-package its done and I can just use this command line in the terminal?
yes
is that in the container?
In the terminal. Do I need to write that in boxbuddy arch?
yes
Doesn't seem to work?
did you finish installing gazou via yay?
something along the lines of this
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
make that gazou
executable, then you can run it from your hosti 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?
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
yeah I changed it to an exe
ok. why?
with you content
oh, I think you misunderstood what I meant by "make it executable"
oh sry I misread that you didn't want that.
I thought "make that gazou executable," meant that
yes
sry
right click on it, in the menu, there's an option to flag it as executable
what for a format does it need to be? (.txt, .exe or something like that?)
nothing, no extension
you can call it something else if you want to not have a conflict when running it within the container itself
Then I will add a number but tbh I can't really see where I need to flag it?
this is an example of why you shouldn't have incomplete screenshots. you've cropped out the place you need to click
sry its in propeties?
yes
this little box right? After that I only need to click on it?
yes
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
/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