Three Random Simple Questions

Tim Littlemore tim at tjl2.com
Thu Oct 20 15:05:35 UTC 2005


Hi Dave,

>But, when I go to /usr/bin, there are absolutely no bittorrent related
>files there. I tried "locate":
>dave at ubuntu1:~/Desktop$ locate bittorrent
>/var/lib/dpkg/info/bittorrent-gui.list
>/var/lib/dpkg/info/bittorrent-gui.postrm
>/var/cache/apt/archives/bittorrent-gui_3.4.2-3ubuntu7_all.deb
>/usr/share/doc/bash/completion-contrib/bittorrent
>/usr/share/mime/application/x-bittorrent.xml
>/usr/share/icons/gnome/16x16/mimetypes/gnome-mime-application-x-bittorrent.png
>/usr/share/icons/gnome/48x48/mimetypes/gnome-mime-application-x-bittorrent.png
>/usr/share/mimelnk/application/x-bittorrent.desktop
>
>And none of these look like the actual application to me.
>Where did I mess up?
>
>--
>Dave M G
>  
>
'locate' is not the tool you want to use in this instance, as locate 
looks up files against a database. This database is only updated once 
per day, so if you run it now, it will not know about your newly 
installed files. You can either use find:

cd /usr/bin
find . | grep bittorrent

or you could try:

whereis bittorrent

or, you could force locate to update it's database:

sudo updatedb
locate bittorrent

If it is installing the bittorrent files into /usr/bin though, they will 
be added to your 'path'. I personally would type:

bitt[TAB][TAB] and get bash to figure out what I'm trying to type 
(that's what the tab key presses do). That should give you some clues as 
to what the bittorrent application file is called.

Cheers,

Tim




More information about the ubuntu-users mailing list