ketanco
Posts: 2
Joined: Mon May 08, 2017 8:37 am

What languages are used to program raspberry PI?

Mon May 08, 2017 8:42 am

Hello,
I am a beginner.
What languages are used to program raspberry PI?
and where on what platform?
what do we install where and then in what computer language we write?
as i said i am complete beginner and have no idea. please do not direct me to a 1 million page reference. I only need your 5 sentence answer that is all.

scotty101
Posts: 4477
Joined: Fri Jun 08, 2012 6:03 pm

Re: programming

Mon May 08, 2017 8:53 am

If you download the standard Raspbian installation, you will have all the tools needed to program with;
Python, C/C++, Java, Scratch (and more that I can't think of). You also have access to the online repositories to add support for almost any other programming language that exists.
You can program directly on the raspberry pi (it is a perfectly capable computer for small development tasks) or you can code on your regular laptop and move the code on to your pi.
The very website you are on now has a lot of beginner tutorials for various languages.
There is also the MagPi magazine which has some how-to articles.
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 32227
Joined: Sat Jul 30, 2011 7:41 pm

Re: programming

Mon May 08, 2017 8:56 am

Almost any language supported by Linux can be used (and that is most of them).

By default, C, C++, Python and a few others are installed IIRC, but it is very easy to install more.

You would do well to start with Python. A Google search will find may tutorials.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

ketanco
Posts: 2
Joined: Mon May 08, 2017 8:37 am

Re: programming

Mon May 08, 2017 2:05 pm

ok so I would install raspbian OS to my laptop and run that OS, and with that use a programming language like Phyton or C to start programming? is that correct? when I run raspbian OS, does it mean my laptop will be running on that OS instead of windows, or it is just like a program running on my computer?
and what is IIRC?

DirkS
Posts: 10867
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: programming

Mon May 08, 2017 2:13 pm

ketanco wrote:ok so I would install raspbian OS to my laptop and run that OS, and with that use a programming language like Phyton or C to start programming? is that correct?
No, you install Raspbian OS on your Pi.
Then you can program on the Pi, either using a keyboard + screen or remotely (using e.g. SSH or VNC)
and what is IIRC?
If I Remember Correctly

User avatar
PeterO
Posts: 6095
Joined: Sun Jul 22, 2012 4:14 pm

Re: programming

Mon May 08, 2017 2:19 pm

ketanco wrote:Hello,
I am a beginner.
What languages are used to program raspberry PI?
and where on what platform?
what do we install where and then in what computer language we write?
as i said i am complete beginner and have no idea. please do not direct me to a 1 million page reference. I only need your 5 sentence answer that is all.
Start here --> https://www.raspberrypi.org/help/

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

W. H. Heydt
Posts: 16179
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: programming

Mon May 08, 2017 3:51 pm

I think the OP is a tiny bit confused about what the Pi actually *is*.

The model of developing a program on one system and then transferring it to another is typically used by microcontrollers, e.g. Arduino. The Pi is a full computer that runs a full featured OS in its own right. You work within the OS to develop programs and run them in the Pi, just as you would any general purpose computer, ranging from a microcomputer like a PC or Mac up through minicomuters (e.g. DEC VAX), mainframes (e.g. IBM S/370 or z900) to supercomputers.

As already noted, you can program in pretty much any language you've ever heard of and probably quite a few you haven't. Raspbian comes with C, C++, Python, and Scratch already installed. If you can give us some background on how much programming you are already familiar with, we may be able to give you some pointers on where to go next.

scotty101
Posts: 4477
Joined: Fri Jun 08, 2012 6:03 pm

Re: programming

Mon May 08, 2017 4:22 pm

ketanco wrote: Phyton
Python, like the snake.
(This seems to be an incredibly common mis-spelling)
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

User avatar
r3d4
Posts: 1006
Joined: Sat Jul 30, 2011 8:21 am
Location: ./

Re: programming

Mon May 08, 2017 4:50 pm

PeterO wrote: Start here --> https://www.raspberrypi.org/help/

PeterO
Perhaps you mean hear --> https://www.raspberrypi.org/resources/ ( link from "Raspberry Pi Software Guide":raspberrypi.org/learning/software-guide )

or
https://www.raspberrypi.org/learning/demo-programs/
and
https://www.raspberrypi.org/learning/python-intro/


# 5 lines! if you dont count white space && comments :ugeek:
# no offence && no sentence's sorrynotsorry xD

User avatar
jahboater
Posts: 8693
Joined: Wed Feb 04, 2015 6:38 pm
Location: Wonderful West Dorset

Re: programming

Mon May 08, 2017 7:51 pm

ketanco wrote:ok so I would install raspbian OS to my laptop and run that OS, and with that use a programming language like Phyton or C to start programming? is that correct?
You install Raspbian on the Raspberry Pi, not on your laptop (though technically you could do that as well).
ketanco wrote:when I run raspbian OS, does it mean my laptop will be running on that OS instead of windows,
No, Raspbian runs on the Pi. There is absolutely no need to touch anything on your laptop.

Raspbian is an alternative to Windows - they are both an "OS" (an Operating System). Most people choose to run Raspbian on the Pi.

Raspbian is a form of Linux. One advantage of that is that its free! Another is that it has great support for programming built in. As people have said, it comes with several important and extremely widely used programming languages already included. No need to install anything - just start programming!

sep945366
Posts: 61
Joined: Fri May 31, 2019 3:59 pm

Re: What languages are used to program raspberry PI?

Tue Apr 14, 2020 7:29 pm

Hello all, I know this is an old post but I'm hoping some of you are still on here. I'm new to this as well. I've been learning how to control what I need to do in Python and so far so good. I need to create an interface now though. I did a couple tutorials in on guizero but these tutorials were extremely basic. Does anybody here have any recommendations on what software to use for a decent interface and preferably a little more user friendly to create? Any help would be appreciated. This project is for a computer to go into my car. I've gotten everything working through the pi that I need it to do, which is really just a series of simple on and off switches, now I just need a decent interface. Thanks in advance!

User avatar
neilgl
Posts: 6095
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near The National Museum of Computing

Re: What languages are used to program raspberry PI?

Tue Apr 14, 2020 7:53 pm

Have a look at python tkinter and at Glade

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 32227
Joined: Sat Jul 30, 2011 7:41 pm

Re: What languages are used to program raspberry PI?

Tue Apr 14, 2020 9:08 pm

sep945366 wrote:
Tue Apr 14, 2020 7:29 pm
Hello all, I know this is an old post but I'm hoping some of you are still on here. I'm new to this as well. I've been learning how to control what I need to do in Python and so far so good. I need to create an interface now though. I did a couple tutorials in on guizero but these tutorials were extremely basic. Does anybody here have any recommendations on what software to use for a decent interface and preferably a little more user friendly to create? Any help would be appreciated. This project is for a computer to go into my car. I've gotten everything working through the pi that I need it to do, which is really just a series of simple on and off switches, now I just need a decent interface. Thanks in advance!
It's usually best to start a new thread, even when your question seems related, but especially when the thread is this old. Don;t worry about starting new one, we try to be friendly here!
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

sep945366
Posts: 61
Joined: Fri May 31, 2019 3:59 pm

Re: What languages are used to program raspberry PI?

Thu Apr 16, 2020 8:36 pm

Hi guys, thank you for the advice. I installed Glade, but noticed in the video that they were using a vnc. When programming a gui, do I need to be using a vnc and program from another computer?

deepo
Posts: 1148
Joined: Sun Dec 30, 2018 8:36 pm
Location: Denmark

Re: What languages are used to program raspberry PI?

Thu Apr 16, 2020 8:41 pm

It's not a requirement to use VNC. If you have a monitor, keyboard and mouse you can probably do the coding on the RPi.

/Mogens

User avatar
neilgl
Posts: 6095
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near The National Museum of Computing

Re: What languages are used to program raspberry PI?

Thu Apr 16, 2020 10:29 pm

What video?

sep945366
Posts: 61
Joined: Fri May 31, 2019 3:59 pm

Re: What languages are used to program raspberry PI?

Thu Apr 16, 2020 11:03 pm

The video for installing glade is here:
http://helloraspberrypi.blogspot.com/20 ... ry-pi.html

But this is all I've really been able to find. I found one video on youtube so far about getting started on Glade once it's installed but it was all but worthless. Do you know if there's any other forums or instructions on getting this to work with the GPIO?

sep945366
Posts: 61
Joined: Fri May 31, 2019 3:59 pm

Re: What languages are used to program raspberry PI?

Thu Apr 16, 2020 11:49 pm

I just found this tutorial here for Glade:
http://blog.borovsak.si/2009/09/glade3- ... ction.html

I'm going through this and will let you know how it goes.

Return to “Beginners”