Oh boy- can anyone help please - I've just installed 'motion' and 'synaptic' (packet manager) on Raspbian, but I can't find where they downloaded to. How do I find them and then get them to appear on the desktop?
Thanks
Trian
Thanks Joan, I tried the 'find' cmd but I must have been misusing it as it kept coming up a blank. Is there a way to put shortcuts for both packages on the desktop? Oh, and v. dumb question - is it the 'executable' files I try to put on the desktop?joan wrote:The executables would normally go to /usr/bin.
The packages to /var/cache/apt/archives
The UNIX find command is called find (man find).
Code: Select all
dpkg -c curl_7.19.7-1ubuntu1.5_i386.deb
drwxr-xr-x root/root 0 2013-12-06 13:37 ./
drwxr-xr-x root/root 0 2013-12-06 13:37 ./usr/
drwxr-xr-x root/root 0 2013-12-06 13:37 ./usr/bin/
-rwxr-xr-x root/root 112328 2013-12-06 13:37 ./usr/bin/curl
drwxr-xr-x root/root 0 2013-12-06 13:37 ./usr/share/
drwxr-xr-x root/root 0 2013-12-06 13:37 ./usr/share/doc/
drwxr-xr-x root/root 0 2013-12-06 13:37 ./usr/share/doc/curl/
-rw-r--r-- root/root 1733 2008-08-28 12:27 ./usr/share/doc/curl/README
-rw-r--r-- root/root 13220 2009-02-13 09:11 ./usr/share/doc/curl/MANUAL.gz
...
-rw-r--r-- root/root 3063 2005-05-14 00:00 ./usr/share/doc/curl/VERSIONS
-rw-r--r-- root/root 8111 2008-08-27 09:01 ./usr/share/doc/curl/TheArtOfHttpScripting.gz
-rw-r--r-- root/root 5201 2009-10-21 18:49 ./usr/share/doc/curl/KNOWN_BUGS.gz
...
-rw-r--r-- root/root 24795 2013-12-06 13:37 ./usr/share/man/man1/curl.1.gzI'm trying to get command line oriented, but seem to be sinkin' fast. I'm very, very beginner and just trying to get 'motion' to work with a webcam without taking a million pictures per minute 'for all eternity'. I'll try the dpkg cmd with those options and the -iname alternative and see where it gets me - sorry people, I'm in way above my head.DBryant wrote:You might be also try using the dpkg command to determine details of the contents of any package.
For example (I've abbreviated to output):This command tells you exact names of files and their locations; after all there is no guarantee that the package motion installs a binary called motion. In this respect, when using find, as in previous post, you may want to use -iname (instead of -name) since this is case-insensitive (and will seek out Motion as well as motion).Code: Select all
dpkg -c curl_7.19.7-1ubuntu1.5_i386.deb drwxr-xr-x root/root 0 2013-12-06 13:37 ./ drwxr-xr-x root/root 0 2013-12-06 13:37 ./usr/ drwxr-xr-x root/root 0 2013-12-06 13:37 ./usr/bin/ -rwxr-xr-x root/root 112328 2013-12-06 13:37 ./usr/bin/curl drwxr-xr-x root/root 0 2013-12-06 13:37 ./usr/share/ drwxr-xr-x root/root 0 2013-12-06 13:37 ./usr/share/doc/ drwxr-xr-x root/root 0 2013-12-06 13:37 ./usr/share/doc/curl/ -rw-r--r-- root/root 1733 2008-08-28 12:27 ./usr/share/doc/curl/README -rw-r--r-- root/root 13220 2009-02-13 09:11 ./usr/share/doc/curl/MANUAL.gz ... -rw-r--r-- root/root 3063 2005-05-14 00:00 ./usr/share/doc/curl/VERSIONS -rw-r--r-- root/root 8111 2008-08-27 09:01 ./usr/share/doc/curl/TheArtOfHttpScripting.gz -rw-r--r-- root/root 5201 2009-10-21 18:49 ./usr/share/doc/curl/KNOWN_BUGS.gz ... -rw-r--r-- root/root 24795 2013-12-06 13:37 ./usr/share/man/man1/curl.1.gz
Note that dpkg operates on the package cache, so if you've done any housekeeping, and removed the package post installation, then the command will fail to return the information. Other useful options are -I (information) and -c (content) but see the man page for all manner of usefulness. The installation GUIs like Synaptic provide access to these options if you're not command line oriented.
"Yes" and "not really".trian wrote: Is there a way to put shortcuts for both packages on the desktop?
Oh, and v. dumb question - is it the 'executable' files I try to put on the desktop?

Not all packages automatically generate desktop icons or links - some are "command line only". synaptic does so and its link is within the "preferences" menu as shown in the first part of my guide to installing CUPS here: http://www.cpmspectrepi.webspace.virgin ... yCUPS.html (NB. that is somewhat old now).trian wrote:Oh boy- can anyone help please - I've just installed 'motion' and 'synaptic' (packet manager) on Raspbian, but I can't find where they downloaded to. How do I find them and then get them to appear on the desktop?
Thanks
Trian
Hey, TopGuy thanks,topguy wrote:"Yes" and "not really".trian wrote: Is there a way to put shortcuts for both packages on the desktop?
Oh, and v. dumb question - is it the 'executable' files I try to put on the desktop?
Like you said its "shortcuts" that you want to put on the desktop, not the executable files themselves.
While "synaptic" is a GUI program and you will probably find it easily enough in the start-menu, "motion" is not a GUI program and usually requires you to start it from a terminal window.
Search google and/or this forum for "lxde shortcuts" and hopefully you will find some tips.
( Tip1: "lxshortcut" seems to be a relevant program but I'm not sure if its meant for start-menu or desktop )
( Tip2: Open a terminalwindow and write "which motion" or "which synaptic" to find the exact path to use in shortcuts. )
Hey, thanks Trev,FTrevorGowen wrote:Not all packages automatically generate desktop icons or links - some are "command line only". synaptic does so and its link is within the "preferences" menu as shown in the first part of my guide to installing CUPS here: http://www.cpmspectrepi.webspace.virgin ... yCUPS.html (NB. that is somewhat old now).trian wrote:Oh boy- can anyone help please - I've just installed 'motion' and 'synaptic' (packet manager) on Raspbian, but I can't find where they downloaded to. How do I find them and then get them to appear on the desktop?
Thanks
Trian
Two other commands to help you discover what you (may) have installed are apropos (which is a bit like a search function) and which which tells you were a specific command is installed, if it exists.
Trev.
You (and everyone else) had the same problem learning Windows and Macs. I'm afraid you were younger then and you have forgot.trian wrote: ...
Hey, thanks Trev,
I was wondering how I worked out what files had already been installed with the Raspbian O/S & with my bumbling efforts.
Will try these now. Boy, its so different from the Mac/Windows. But that's why I got the Pi !
Thanks!