LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Missing command appz (https://www.linuxquestions.org/questions/linux-newbie-8/missing-command-appz-367763/)

vwagheim 09-28-2005 07:14 AM

Missing command appz
 
Hi,

I'm running Mandriva 10.1 and I've had my share of problems - being new at this and all...
I'm trying to learn to work in a none-graphic environment, but I seem to be missing some of the command applications. I can (as an example) not use the tree- or the info-command. I thought those were part of a "standard" package. Am I totally lost in that assumption?

I've tried both in bash and sh.

How/ where can I get the missing appz?

-vw-

flower.Hercules 09-28-2005 07:56 AM

rpmdrake is the command to install new packages in Mandrake/Mandriva.

vwagheim 09-29-2005 01:20 PM

Thank you!

A quick answer! This really helped - you gave me a kick in the right direction without telling me the whole procedure... I actually learned something! ;)

Sry that it took so long to reply how it went.!

-vw-

bertlef 09-29-2005 05:12 PM

Before you start installing programs check to see if you do have it installed, if you just type "tree- or the info-command" the system will look for it in YOUR $PATH, if it is not there or you don't have a link to the program you are trying to use, the system will not find it. So I sugest you chek like this.

1- updatedb (to update the system database, as root and not needed all the time)
2- locate tree (or whatever you are lloking for) (there are many ways to find something in linux so go man locate to see more about this)

If you find it then check to see if it is in your path
3- echo $PATH (it will print the path of the user you are logged in as)

If it is in your system but not in your path create a link to it (see "man ln" for more detatils )
4- ln -s (path_to_program) (path_to_link)

Hope it was clear and that it helps too.

vwagheim 09-30-2005 02:03 PM

Hi!

I checked both with find and locate before I posted the question. Before that I had run updatedb many times, due to a Linux.-class I'm taking. They just weren't there... After installation it worked without any problems. $PATH didn't need any changes.

But tnx for a very informative reply. If I hadn't done it already, it would've helped a lot! :D

Btw - I got the pinfo instead of info, and I'm very happy with it...

-vw-


All times are GMT -5. The time now is 05:35 AM.