9 Replies Latest reply on Jan 9, 2013 12:34 PM by mconners

    how to access...




      I have just got my raspberry pi and was wondering how would i be able to access the things that i apt get

        • Re: how to access...

          depends what it is that you are downloading.  Some things are part of the Graphical User Interface (GUI) and can only be accessed by logging into a graphical session using: 'startx' command.


          Others are accesses by simply typeing in the name of the program.  For Example:


          omxplayer -o hdmi file.mp4

          will load up 'file.mp4' and play the file.  other examples include:

          minicom /dev/ttyAMA0

          ...Which will load a serial command prompt session on device '/dev/ttyAMA0'.


          Most of the time you can just google how to use the program you have just installed.  Otherwise try typing the program name and -?:

          program -?

          ...for help.


          Hope this is what you meant and hope this works for you.

          • Re: how to access...

            Perl should have been already installed by default, at least in Raspbian.


            One other thing to note is that if you put a bin directory in your home directory (~/bin), the next time you login, that will automatically be in your $PATH, at least in the console (~/.profile does that).  Then as long as you are in the text console, have the proper shebang line as the first line of the Perl script (#!/usr/bin/perl as mentioned by Michael), and the script has execute permission, you can simply type the name of the script to run it.


            However, for some reason when you startx, it seems to use a default $PATH instead of the one .profile sets during login, so your personal bin may be missing from your $PATH in lxterminal.

            • Re: how to access...

              the /usr/bin/perl does not work and i cannot get the execution to work