Or even simpler: rpmquery synaptic
If your not sure what it's called exactly use grep on the whole list: rpmquery -a|grep -i syn This will take a few seconds depending on speed. (-i means case-insensative) Not only is locate updated once per day (4 AM by default) but also /var/log/rpmpkgs. This log is like an rpmquery -a except it's sorted, has the .rpm extension and the archatecture (ie: i386, athlon): grep -i syn /var/log/rpmpkgs Aloha, Tom Please respond to [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: [luau] locate apt and synaptic after rpm -i? TB wrote: > I'm trying to get fedora going, so I downloaded the > rpm for apt and synaptic and installed them. I think. > I ran rpm -i filename. > > Then I tried "locate apt-get" and got nothing. And > "locate synaptic", also nothing. then I tried just > running apt-get, it worked. > > Why is the locate command letting me down? How do I > find out where rpm installed synaptic? locate uses a database that is rebuilt automatically once per day from cron. It wont immediately know about changes to your filesystem. You can force a rebuild of that database with "updatedb". After a RPM package is installed, use the following command to list all files within that package. rpm -ql synaptic Warren _______________________________________________ LUAU mailing list [EMAIL PROTECTED] http://videl.ics.hawaii.edu/mailman/listinfo/luau
