Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Am I missing package(s)? "command not found" (Read 2063 times) previous topic - next topic
0 Members and 5 Guests are viewing this topic.

[SOLVED] Am I missing package(s)? "command not found"

I just installed Artix a few days ago. I understand it is like bare bones which is a good thing IMHO.

Testing and getting my feet wet with Artix, I find a few commands whether on Artix or Arch websites/wikis/... etc. (which means they are "official" or supported commands) I get
Quote
command not found

for example
Quote
lenovo:[limo]:~$  systemd-analyze
bash: systemd-analyze: command not found
lenovo:[limo]:~$ pybootchartgui -i
bash: pybootchartgui: command not found
lenovo:[limo]:~$ systemctl enable upower
bash: systemctl: command not found
lenovo:[limo]:~$ sudo systemctl start ntpd.service
[sudo] password for limo:
sudo: systemctl: command not found
there maybe a few others more I encountered over the past couple days.

Am I missing specific packages that include those commands?
System:  Kernel: 6.4.10-artix1-1 , KDE Plasma 5.27.7, HP Spectre x360 Convertible 13-ae0xx
Dual Core  i7-8550U bits: 64
8 GB Ram - SSD:  (250 GiB), BTRFS

Re: Am I missing package(s)? "command not found"

Reply #1
Have you ... been to Manjaro?

Re: Am I missing package(s)? "command not found"

Reply #2
Hi @calvinh
Yes, I tried it for a while? But why? What does Manjaro has to do with this? I'm getting these commands either at Artix or Arch websites.
System:  Kernel: 6.4.10-artix1-1 , KDE Plasma 5.27.7, HP Spectre x360 Convertible 13-ae0xx
Dual Core  i7-8550U bits: 64
8 GB Ram - SSD:  (250 GiB), BTRFS

 

Re: Am I missing package(s)? "command not found"

Reply #3
Artix does not use systemd.
The commands systemd-analyze and systemctl are part of systemd which is not present and will never be present in Artix.
I never heard of command pybootchartgui, but according to my search it is part of bootchart (bootchart2 ?) and can be installed from AUR, but I have no idea if it will work.

Adding and starting services depends on the init you decided to use, in general you have to first install the init package e.g:
Code: [Select]
ntp-openrc
and than add and enable it e.g:
Code: [Select]
rc-update add ntpd default # add the service the default run level
rc-service ntpd start # start the service manualy

This example is for openrc, check our wiki for information regarding your init of choice.
https://wiki.artixlinux.org/Main/OpenRC
https://wiki.artixlinux.org/Main/Runit
https://wiki.artixlinux.org/Main/S6
https://wiki.artixlinux.org/Main/Suite66

PS: The command used by elogind is loginctl.

Re: Am I missing package(s)? "command not found"

Reply #4
Hi @calvinh
Yes, I tried it for a while? But why? What does Manjaro has to do with this? I'm getting these commands either at Artix or Arch websites.

Please can you be specific where on Artix websites we promote usage of these commands?
We would love to correct our mistakes if such a case exist.

Thank you for your help.

Re: Am I missing package(s)? "command not found"

Reply #5
Artix does not use systemd.
The commands systemd-analyze and systemctl are part of systemd which is not present and will never be present in Artix.
I never heard of command pybootchartgui, but according to my search it is part of bootchart (bootchart2 ?) and can be installed from AUR, but I have no idea if it will work.

Adding and starting services depends on the init you decided to use, in general you have to first install the init package e.g:
Code: [Select]
ntp-openrc
and than add and enable it e.g:
Code: [Select]
rc-update add ntpd default # add the service te 
rc-service ntpd start # start the service manualy

This example is for openrc, check our wiki for information regarding your init of choice.
https://wiki.artixlinux.org/Main/OpenRC
https://wiki.artixlinux.org/Main/Runit
https://wiki.artixlinux.org/Main/S6
https://wiki.artixlinux.org/Main/Suite66

PS: The command used by elogind is loginctl.
I see. Please excuse me for being that "illiterate", I'm just a user with some "general knowledge"
Thanks @SGOrava for clarifing and for the links.
I'll check them. Hopefully I will understand a bit more about Artix (which I am well satisfied for not using "systemd" which I can see in performance. I've been distro hopping for about 2 months, and it seems I will be settled here with Artix. Till now I'm 4 days on Artix without even reinstalling it which didn't happen with any distro during my distro hopping)
System:  Kernel: 6.4.10-artix1-1 , KDE Plasma 5.27.7, HP Spectre x360 Convertible 13-ae0xx
Dual Core  i7-8550U bits: 64
8 GB Ram - SSD:  (250 GiB), BTRFS

Re: Am I missing package(s)? "command not found"

Reply #6
Please can you be specific where on Artix websites we promote usage of these commands?
We would love to correct our mistakes if such a case exist.

Thank you for your help.
Sorry @SGOrava
My bad! I am seriously sorry.
Please accept my sincere apologies.
It was all on Arch websites NOT Artix.
I don't know how to fix my bad doing!
Apologies  everybody.
I was reading a lot  and hoping between Arch and Artix website. So I made this unintentional mistake.
I'll appreciate your understanding. I don't want you to think anything bad about me. PLEASE.
System:  Kernel: 6.4.10-artix1-1 , KDE Plasma 5.27.7, HP Spectre x360 Convertible 13-ae0xx
Dual Core  i7-8550U bits: 64
8 GB Ram - SSD:  (250 GiB), BTRFS

Re: [SOLVED] Am I missing package(s)? "command not found"

Reply #7
The whole point of the existence of Artix is to have Arch without systemd. If you don't care about systemd (check these links as to why you should: https://suckless.org/sucks/systemd https://nosystemd.org/), use Arch. But if you are using Artix, first check Artix wiki, and then Arch wiki. When applying instructions from Arch wiki, always bear in mind that systemd-specific commands (mainly having to do with services) will not work and need to be adjusted for your specific init system. Some services or programs are not included in Artix, either because they are too deeply integrated with systemd, or because they are less used and nobody made the conversion yet. While Artix has means to include Arch repositories, using programs from Arch repositories is not officially supported because of the varying degrees of dependance on systemd. Programs from AUR are not even supported by Arch, because they are provided by users and are not yet verified by Trusted Users (TUs).

Re: [SOLVED] Am I missing package(s)? "command not found"

Reply #8
Sorry @SGOrava
My bad! I am seriously sorry.
Please accept my sincere apologies.
It was all on Arch websites NOT Artix.
I don't know how to fix my bad doing!
Apologies  everybody.
I was reading a lot  and hoping between Arch and Artix website. So I made this unintentional mistake.
I'll appreciate your understanding. I don't want you to think anything bad about me. PLEASE.
My question and comments reflect my view, opinions and knowledge.
No need to be sarcastic (that should be the word, right?) about it.
Good luck and have fun, feel free to ask questions.

PS: I also have many shortcomings.

Re: [SOLVED] Am I missing package(s)? "command not found"

Reply #9
The whole point of the existence of Artix is to have Arch without systemd. If you don't care about systemd (check these links as to why you should: https://suckless.org/sucks/systemd https://nosystemd.org/), use Arch. But if you are using Artix, first check Artix wiki, and then Arch wiki. When applying instructions from Arch wiki, always bear in mind that systemd-specific commands (mainly having to do with services) will not work and need to be adjusted for your specific init system.
Sorry @strajder
Now, you teach me something new. I was mistakenly under impression that given that Artix which is based on Arch doesn't use systemd THEN Arch as well doesn't use systemd. This was another mistake I made.

I should MORE carefully read. (but honestly because I'm not an IT guy or a developer.... sometimes I read something and it just slips down my eyes or my brain throws it away because he doesn't understand it properly)

Thank you again and I really hope you understand now how I made this mistake.
Thank you again and sorry again!

System:  Kernel: 6.4.10-artix1-1 , KDE Plasma 5.27.7, HP Spectre x360 Convertible 13-ae0xx
Dual Core  i7-8550U bits: 64
8 GB Ram - SSD:  (250 GiB), BTRFS

Re: [SOLVED] Am I missing package(s)? "command not found"

Reply #10
My question and comments reflect my view, opinions and knowledge.
No need to be sarcastic (that should be the word, right?) about it.
Good luck and have fun, feel free to ask questions.

PS: I also have many shortcomings.
Just a second! It seems we are having a misunderstanding here (may be because of different languages/ mother tongues/ cultures/ my age? Above 60 here so maybe I come from another generation as well)
Honestly I really don't understand
Quote
No need to be sarcastic
I am/was not sarcastic in anyway. Why say so. I was simply apologizing for making a mistake and saying I read it on an Artix website. I just felt so embarrassed.
I cant pinpoint where is my sarcasm.
If I don't care I wont bother myself to write this.
Thank you.
System:  Kernel: 6.4.10-artix1-1 , KDE Plasma 5.27.7, HP Spectre x360 Convertible 13-ae0xx
Dual Core  i7-8550U bits: 64
8 GB Ram - SSD:  (250 GiB), BTRFS

Re: [SOLVED] Am I missing package(s)? "command not found"

Reply #11
OK, noted, I made a mistake.
That it how I interpreted it.

Saying less is better for me, or I will once again say something bad.

Re: [SOLVED] Am I missing package(s)? "command not found"

Reply #12
OK, noted, I made a mistake.
That it how I interpreted it.
Oh no. No mistakes.
Thank you for your understanding.
Maybe a word or something I wrote gave you that impression.
You know what, as far as I know even within the same language a certain word can have different meanings in different countries speaking the same language. Maybe the structure of the sentence. I cant remember now specific words with different meanings in different countries in English.

But I am really glad you understand and above all I hope you trust and respect me. This is the most important thing for me.
System:  Kernel: 6.4.10-artix1-1 , KDE Plasma 5.27.7, HP Spectre x360 Convertible 13-ae0xx
Dual Core  i7-8550U bits: 64
8 GB Ram - SSD:  (250 GiB), BTRFS