I'm trying to install:
hunspell-en or hunspell-us(if not -en?)
hunspell-ar
But I get
lenovo:[limo]:~$ sudo pacman -S hunspell-ar
error: could not register 'system' database (database already registered)
error: target not found: hunspell-ar
lenovo:[limo]:~$ sudo pacman -S hunspell-en
error: could not register 'system' database (database already registered)
error: target not found: hunspell-en
lenovo:[limo]:~$ sudo pacman -S hunspell-us
error: could not register 'system' database (database already registered)
error: target not found: hunspell-us
By the way what is
error: could not register 'system' database (database already registered)
and how to sort it out.
My previous experience, hunspell-ar was much better than aspell-ar.
I already installed hunspell and gtkspell.
sudo pacman -S hunspell
and
sudo pacman -S gtkspell
Thanks for your support.
Can you provide your /etc/pacman.conf ?
I guess you might have multiple entries for system there, but it is just guess.
English has more dictionaries to select from. So run the search.
pacman -Ss hunspell-en
hunspell-ar, I managed to find it only in the AUR
aur/hunspell-ar 3.5-2 [12+] [0.00%] [5 Jan 2020]
Arabic dictionary for hunspell
Thanks a lot SGOrava
I checked /etc/pacman.conf and actually found a duplicate and fixed now.
I already installed hunspell-en_us.
But how to install hunspell-ar from AUR? Same for "gtkspellcheck"
P.S. I just to feel safe I installed pamac and enabled AUR, but when I tried to install hunspell-ar I get
Building hunspell-ar...
==> ERROR: Cannot find the fakeroot binary.
What to do to "find fakeroot" or better install hunspell-ar from command line?P.S. what are these numbers in
aur/hunspell-ar 3.5-2 [12+] [0.00%] [5 Jan 2020]
Arabic dictionary for hunspell
Just curious and want to learn more Artix.
P.P.S. Why hunspell-ar is in AUR not in main repos like others?
you need to install base-devel
pacman -S base-devel
The numbers are I think the number of votes and popularity percentage from AUR.
I used an AUR helper "trizen" to find it.
See Archwiki for more information about AUR and AUR helpers:
https://wiki.archlinux.org/title/AUR
https://wiki.archlinux.org/title/AUR_helpers
Thank you
sudo pacman -S base-devel
went fine and installed, then rebooted (just in case).
But
lenovo:[limo]:~$ sudo pacman -Ss hunspell-ar
lenovo:[limo]:~$ sudo pacman -S hunspell-ar
error: target not found: hunspell-ar
lenovo:[limo]:~$
Nothing happens!
I think I would install "yay". Right?
UPDATE: installing yay as shown https://www.tecmint.com/install-yay-aur-helper-in-arch-linux-and-manjaro/
I believe "yay" installed. I don't know why it is giving me hard time this time! I did all this before!
lenovo:[limo]:~$ sudo yay -S gtkspellcheck
-> Avoid running yay as root/sudo.
-> Could not find all required packages:
gtkspellcheck (Target)
lenovo:[limo]:~$ sudo yay -S hunspell-ar
-> Avoid running yay as root/sudo.
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1] hunspell-ar-3.5-2
:: (0/1) Downloaded PKGBUILD: hunspell-ar
-> error fetching hunspell-ar: fatal: could not create work tree dir 'hunspell-ar': Permission denied
context: exit status 128
lenovo:[limo]:~$
OOPS. My bad! I did "sudo yay"!
Still can't find gtkspellcheck
lenovo:[limo]:~$ yay -S gtkspellcheck
-> Could not find all required packages:
gtkspellcheck (Target)
lenovo:[limo]:~$ sudo pacman -S gtkspellcheck
error: target not found: gtkspellcheck
lenovo:[limo]:~$
Look at the links for AUR and AUR_helpers I sent you last time.
If you want to use AUR yu need to either do it manually or use some AUR helper.
yay is fine and can do the job.
As @SGOrava said yay is fine and will do what you need, however, yay is in the universe repo. therefore you will need to add that repo to your /etc/pacman.conf.Look here to see how to do that: https://wiki.artixlinux.org/Main/Repositories#Unofficial_User_Repositories
Once you have yay installed just run
yay hunspell-ar
Thanks again for your patience and support.
Well... I have dictionaries, gtkspell. aspel, and yay installed.
Still "gtkspellcheck" can't be found/installed.
Well, all this is because I am using ZIM wiki notes, and there is a spell check plugin I still can't enabel.
Here is what it says when I select it.
lenovo:[limo]:~$ yay -S gtkspellcheck
-> Could not find all required packages:
gtkspellcheck (Target)
lenovo:[limo]:~$ yay -S gtkspell
[sudo] password for limo:
warning: gtkspell-2.0.16-8 is up to date -- reinstalling
So, I think it still needs "gtkspellchek" which I don't know how to find it. (I have /home/limo/gtkspellcheck/gtkspellcheck.tar.gz) and tried
lenovo:[limo]:~$ sudo tar -xvf /home/limo/gtkspellcheck/gtkspellcheck.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
lenovo:[limo]:~$
I feel lost! Sorry.
Learn basic commands of pacman.
How to find it out?
Search for zim with pacman.
> pacman -Ss zim
world/zimg 3.0.3-1 [installed: 3.0.1-2]
Scaling, colorspace conversion, and dithering library
extra/zimg 3.0.3-1 [installed: 3.0.1-2]
Scaling, colorspace conversion, and dithering library
community/libzim 7.0.0-2
Reference implementation of the ZIM specification by the openZIM project
community/libzim6 6.3.2-3
Reference implementation of the ZIM specification by the openZIM project, v6
community/zim 0.74.2-2
A WYSIWYG text editor that aims at bringing the concept of a wiki to the desktop.
community/zim-tools 3.0.0-1
Various ZIM command line tools
Found the name of the package in question "zim".
Display detailed information for the zim package:
> pacman -Si zim
Repository : community
Name : zim
Version : 0.74.2-2
Description : A WYSIWYG text editor that aims at bringing the concept of a wiki to the desktop.
Architecture : any
URL : https://zim-wiki.org/
Licenses : GPL PerlArtistic
Groups : None
Provides : None
Depends On : python python-gobject ttf-font gtk3 python-xdg
Optional Deps : bzr: Version Control plugin
git: Version Control plugin
mercurial: Version Control plugin
gnuplot: Insert Gnuplot plugin
ditaa: Insert Ditaa plugin
graphviz: Insert Diagram plugin
xdot: Link Map plugin
gtkspell3: Spell Checker plugin
r: Insert GNU R Plot plugin
scrot: Insert Screenshot plugin
lilypond: Insert Score plugin
gtksourceview3: Source View plugin
texlive-bin: Insert Equation plugin
Conflicts With : None
Replaces : None
Download Size : 1817,46 KiB
Installed Size : 7903,86 KiB
Packager : Felix Yan <[email protected]>
Build Date : Pi 3. december 2021, 02:23:14
Validated By : MD5 Sum SHA-256 Sum Signature
Search for gtkspell in the output (Optional Deps), found it.
gtkspell3: Spell Checker plugin
now install it and it should work.
PS: To check what optional dependencies are already installed you can use command:
pacman -Qi <package>
PS2: You can also use your AUR helper to do the search, this will also include the results from AUR and create you much bigger list.
Thank a lot SGOrava
yay -S gtkspell3
did it!
It is working now.
Thanks to you I learnt something new. To find a dependency/requirement just
pacman -Si "package name"
Right?
I wonder why it is mentioned "gtkspellchek" not "gtkspell3"
One wonderful thing is that learning in Linux especially Artix never ends.
Another wonderful thing that made me insisting to get my laptop to "accept" installing Artix
(https://forum.artixlinux.org/index.php/topic,3309.msg22057.html#msg22057) apart from a wonderful distro is the community here and the amazing support and feelings I get here.
Please keep up the good work you are doing for Artix and the forum.
Thanks again.
I dont know from where you have gotten the package name "gtkspellchek".
The package names are different across distributions, maybe you would be able to find such package in Debian/Ubuntu based distributions.
Yes, and to search use "pacman -Ss <something>" (or use your aur helper, most of them mirror pacman commands.)
It is/was in the app itself as I posted above.
last 2 lines.
So remains the same question, why mentioned "gtkspellcheck" while installing "gtkspell3" was the one that sorted it out!
Thanks conky60
I checked /etc/pacman.conf
and I have :
[gremlins]
[system]
[world]
[galaxy]
[galaxy-gremlins]
[community]
[multilib]
[omniverse]
Are these OK? I didn't see anything AUR.
Well, they are not ok....you probably don't need/want the two "gremlins" repos enabled as they are testing repos, not recommended for a new user and not necessary at all. You should also have the arch linux repo "extra" enabled to go along with the arch "community" repo.
You also do not have the "Universe" repo enabled so you can install yay, as I mentioned in my previous reply. Also, I provided a link
to help you in that regard.....if you read fully the repository information page and follow the instructions on that wiki page it will help you to understand better the Artix repository structure and what is necessary.
Best regards.
OK. I hashed and unhashed in /etc/pacman.conf as you mentioned.
I updated "pacman" and "yay" so it is almost OK now (almost because I noticed some installed apps are more recent than the repos I have. I think it is because I previously had testing repos. - but in a while hopefully they will be moved to my current repos).
Here is my pacman.conf now:
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
#IgnorePkg =
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Artix Linux
# packagers with `pacman-key --populate artix`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The gremlins repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[gremlins]
#Include = /etc/pacman.d/mirrorlist
[system]
Include = /etc/pacman.d/mirrorlist
[world]
Include = /etc/pacman.d/mirrorlist
#[galaxy-gremlins]
#Include = /etc/pacman.d/mirrorlist
[galaxy]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the lib32 repositories as required here.
#[lib32-gremlins]
#Include = /etc/pacman.d/mirrorlist
#[lib32]
#Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
# Artix
# [system]
# Include = /etc/pacman.d/mirrorlist
Arch
[extra]
Include = /etc/pacman.d/mirrorlist-arch
[community]
Include = /etc/pacman.d/mirrorlist-arch
[multilib]
Include = /etc/pacman.d/mirrorlist-arch
[universe]
Server = https://universe.artixlinux.org/$arch
Server = https://mirror1.artixlinux.org/universe/$arch
Server = https://mirror.pascalpuffke.de/artix-universe/$arch
Server = https://artixlinux.qontinuum.space:4443/universe/os/$arch
Server = https://mirror.alphvino.com/artix-universe/$arch
[omniverse]
Server = http://omniverse.artixlinux.org/$arch
I hope this is OK now.
Any other repos you recommend to add or remove? I think now it goes on with the link https://wiki.artixlinux.org/Main/Repositories#Unofficial_User_Repositories that you posted.
This is my pacman.conf, but I do not use "lib32" or "multilib" repos for my 64 bit machine The order of the repos is important as the ones closest to the top have preference....I have some options enabled and added to the "misc options" section that you may find helpful/interesting. This works perfect for my needs, but yours may of course differ:
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
#NoProgressBar
CheckSpace
VerbosePkgLists
ParallelDownloads = 5
ILoveCandy
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Artix Linux
# packagers with `pacman-key --populate artix`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The gremlins repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[gremlins]
#Include = /etc/pacman.d/mirrorlist
[system]
Include = /etc/pacman.d/mirrorlist
[world]
Include = /etc/pacman.d/mirrorlist
#[galaxy-gremlins]
#Include = /etc/pacman.d/mirrorlist
[galaxy]
Include = /etc/pacman.d/mirrorlist
[universe]
Server = https://universe.artixlinux.org/$arch
Server = https://mirror1.artixlinux.org/universe/$arch
Server = https://mirror.pascalpuffke.de/artix-universe/$arch
Server = https://artixlinux.qontinuum.space:4443/universe/os/$arch
[omniverse]
Server = http://omniverse.artixlinux.org/$arch
# If you want to run 32 bit applications on your x86_64 system,
# enable the lib32 repositories as required here.
#[lib32-gremlins]
#Include = /etc/pacman.d/mirrorlist
#[lib32]
#Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
#
# ARCHLINUX
#
#[testing]
#Include = /etc/pacman.d/mirrorlist-arch
[extra]
Include = /etc/pacman.d/mirrorlist-arch
#[community-testing]
#Include = /etc/pacman.d/mirrorlist-arch
[community]
Include = /etc/pacman.d/mirrorlist-arch
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist-arch
#[multilib]
#Include = /etc/pacman.d/mirrorlist-arch
That's great help conky60.
I just hashed "multilib"
For the "misc options" I didn't touch as I always prefer to go by defaults AND I really don't know what are these!
Thank a lot.
Great distro and a great comunity as usual.
I'm glad I could help....hope your experience w/Artix is a good one. :)
Best regards.
Thank you again.
Artix and this community are the best thing that happened to me since I started Linux 21 years ago.
You know about the issue I had about my BIOS not accepting any distro other than MX.
Though MX is #1 on distrowatch, I kept trying and trying to sort out the BIOS only to install Artix and be back home (Artix and the community)
Thank you again.