element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum how to access...
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 9 replies
  • Subscribers 708 subscribers
  • Views 1239 views
  • Users 0 members are here
  • raspberry_pi
Related

how to access...

rhydian98
rhydian98 over 13 years ago

Hello

 

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

  • Sign in to reply
  • Cancel
  • wallarug
    wallarug over 13 years ago

    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.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rhydian98
    rhydian98 over 13 years ago in reply to wallarug

    I am trying to access perl but I cannot find how to find it so if you could tell me what the code is

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to rhydian98

    I thought Perl was just a language not a program?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mconners
    mconners over 13 years ago in reply to rhydian98

    assuming the install went ok, it should be in /usr/bin/

     

    you can type

     

    which perl

     

    which should give you the path if it finds it

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mconners
    mconners over 13 years ago in reply to wallarug

    perl is a language, but the interpreter is a program, not unlike python.

     

    Normally in a perl script (or sh, or csh, etc for that matter) you can put

    #!/usr/bin/perl (or #!/bin/sh , or whatever, at least on *nix systems)

    and once you change the execute bits using chmod, you can run the program just by typing the name, just like an exe, the executing shell will call the perl interpreter

     

    this achieves the same thing as typing

     

    perl myFile.pl

     

    but saves you from typing the first 5 characters

     

    the same thing works on python as well, but you need to know the path to the intepreter.

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mconners
    mconners over 13 years ago in reply to mconners

    one other thing, if you knew the path to the perl interpreter, and expected to run your script in the local directory and it gives you a file not found error, it may be that the current path (.)

    is not in your path, you may have to type

     

    ./myFile.pl to get it to run.

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 13 years ago

    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.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rhydian98
    rhydian98 over 13 years ago

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

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mconners
    mconners over 13 years ago in reply to rhydian98

    Alright, you have to give us more info

     

    if you type

     

    which perl

     

    what do you get?

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube