How to properly install any application

Thank you very kindly! I will indeed follow your advice!

And if you have Rocky 8 installed, you need to enable the epel repository first, which meant also copying the first command in the list of three dnf commands given.

The [root@localhost Oscar]# looks like a shell prompt. Do not type the prompt.
The root@rocky9:~# looks like a shell prompt. Do not type the prompt.

I guess that you had terminal open and it did show the prompt:

[root@localhost Oscar]# 

Then you did copy-paste to the prompt:

root@rocky9:~# ls /home/
Oscar

which is same as typing first:

root@rocky9:~# ls /home/

Where the shell sees “word” root@rocky9:~# (and some other words after it).
Since root@rocky9:~# is not a known command, the shell says so:

bash: root@rocky9:~#: command not found

and then your copy paste “typed” a second “command”:

Oscar

Which is not a known command either. It looks like possible output from command ls.

What you should have typed (or copy-pasted) is the

ls /home/

where the ls is a real command and the /home/ is an option, argument for ls.


One can also do:

echo ~

and shell should expand the ~ into current users homepath.

1 Like