/srv/irclogs.ubuntu.com/2007/04/01/#ubuntu-classroom.txt

=== sareth [n=sareth@cpe-24-174-46-74.houston.res.rr.com] has joined #ubuntu-classroom
=== Kir1 [n=kirk@71.93.229.210] has joined #ubuntu-classroom
Kir1Hi, I moved from WinXP to UBUNTU two days ago but can't figure out how to setup for programming in gcc, python, and load in other packages beyond my desktop.12:13
sarethhave you used the package manager?12:14
Kir1Applications / add-remove doesn't list gcc or python12:15
sarethSystem > Administrator > software sources ... i believe. then add the universe repositories12:16
jribKir1: lets do one at a time12:17
jribKir1: you already have python12:17
Kir1I have python downloaded to my desktop12:18
jribKir1: nah, you have python already installed12:18
jribit's a fundamental part of Ubuntu12:18
Kir1Ok, how do I use it?12:18
jribKir1: do you know the python language already?12:18
Kir1no12:18
Kir1one guy suggested it would be a good front end for c++12:19
jribok12:20
jribKir1: docs.python.org and www.diveintopython.org are great resources for learning the language.  #python is great too if you have any questions about programming in python12:20
jribKir1: there are two ways to use python.  You can write scripts and then run them or you can use it interactively in the interpreter12:21
Kir1Ok.12:22
jribbasically to write a script, you use your favorite text editor.  At the top you write "#!/usr/bin/env python" without the quotes.  After that, you write your python12:22
jribKir1: to use the interpreter, just write "python" in the terminal and press enter12:22
Kir1Great!  Thank you.12:23
jribKir1: np, gcc is a bit different.  You need to install that yourself (using the package manager)12:23
Kir1What do I do with other software I download for python or gcc12:23
jribKir1: there is a "gcc" package but you will want to install "build-essential" to get the basic stuff you need to actually compile and build programs12:24
jribKir1: the command to install build-essential is "sudo aptitude install build-essential" or you can use system > administration > synaptic12:24
jribKir1: what software do you mean?  example?12:24
Kir1Mesa, libMgTk, freeGlut, SDL12:25
jribKir1: all that stuff should be in the repositories, just use synaptic or apt12:26
jribexcept I don't know what MgTK is12:27
Kir1It's advertized on a webpage as a wrapper for one of the openGL clones.12:28
jriblink?12:28
Kir1http://www.bebits.com/appver/159212:29
Kir1There's a backlink on the page12:30
jribupdated 2001?12:30
jribseems a bit old12:30
Kir1Yeah, I don't know if I need it-- what I want to do is write a GUI for my robot to work over wireless.12:31
jribjust use python with pygtk12:31
Kir1Ok, I'll look pygtk up.12:31
jribKir1: do you care what language it is in?  almost every language has gtk bindings12:32
Kir1Not much but I had a custom language written in VB.Net and it turned out way to slow especially for graphics.12:33
Kir1that's like minutes per screen instead of 30 FPS or better.12:34
Kir1So that, not wanting to pay Microsoft for my robot software if it ever makes me a dime, and some ethernet bug in my WinXP (and general frustration with MS over the years) motivates my move to UBUNTU.12:37
jribgood reasons12:37
Kir1Ok, so how do I access c++?   I did what I saw on a blog to install gcc but I found it only loaded 4.0 instead of 4.1 the current release.  Then I still couldn't find any way to call it.12:40
jribKir1: after installing build-essential, you can compile things like this:   g++ -o outputfilename sourcecodefile.cc12:42
Kir1The load old command was:12:42
Kir1sudo apt-get install gcc build-essential12:42
Kir1Do you specify a filepath like in Windows or just accept the default?12:45
jribwell I assume you are in the same directory as the source code12:45
Kir1How do you change directories in UBUNTU?12:45
jribKir1: cd /path/to/new/place12:46
jrib!cli | Kir112:46
ubotuKir1: The linux terminal or command-line interface is very powerful. Open a terminal via Applications -> Accessories -> Terminal (Gnome) or K-menu -> System -> Konsole (KDE).  Manuals: https://help.ubuntu.com/community/BasicCommands12:46
Kir1Yes I'm already seeing the command line is much more used here.  In Windows there were some important commands but you had to go to a computer store to learn them.12:48
Kir1This UBUNTU has the first terminal, not the K-menu option12:49
jribyou are using GNOME then12:50
Kir1I guess?12:50
jribyeah, it is default for ubuntu12:51
Kir1It came on a free UBUNTU Labeled and eveloped CD-R from a computer repair shop.12:51
jribKir1: cool, where's the repair shop out of curiousity?12:53
Kir1Clatskanie, OR  USA.  Unfortunately he doesn't know enough to get me set up but he said if I learn it he'll be asking me questions.12:53
jribah12:54
Kir1So where are you all from?12:56
jribKir1: I'm from boston12:58
Kir1Well small world -- during the Clinton years I'd get lots of invitations to move my robot business to Mass. even though I didn't have a product yet.01:00
Kir1Still don't but maybe after I get this GUI done.01:02
Kir1Well, I've gone back and copied all the good advice from this conversation into an email to myself.  Anything else that should be said before signing off?01:03
jribKir1: well help.ubuntu.com has a nice intro to ubuntu in general.  There are a bunch of programming irc channels, usually ##language or #language to help you with the programming and there is always #ubuntu for help with ubuntu.  Good luck with your project!01:05
Kir1Thank you much!01:06
=== Kir1 [n=kirk@71.93.229.210] has left #ubuntu-classroom []
=== vorian [n=vorian@ubuntu/member/Vorian] has joined #ubuntu-classroom
=== ash211 [n=andrew@user-1121npi.dsl.mindspring.com] has joined #ubuntu-classroom
=== raffytaffy [n=raf@user-0cdf5dr.cable.mindspring.com] has joined #ubuntu-classroom
=== Turgon [n=Turgon@unaffiliated/turgon] has joined #ubuntu-classroom
=== croppa [n=stuart@135.27.233.220.exetel.com.au] has joined #ubuntu-classroom
=== vorian [n=vorian@ubuntu/member/Vorian] has joined #ubuntu-classroom
=== vorian_ [n=vorian@ubuntu/member/Vorian] has joined #ubuntu-classroom
=== DM| [n=dm@cpe-65-186-68-182.columbus.res.rr.com] has joined #ubuntu-classroom
=== wims [n=wims@unaffiliated/wims] has joined #ubuntu-classroom
=== Flannel [n=flannel@cpe-76-176-22-229.san.res.rr.com] has joined #ubuntu-classroom
=== blimpdude [n=pppoe_du@unaffiliated/blimpdude] has joined #ubuntu-classroom
=== Flannel [n=flannel@cpe-76-176-22-229.san.res.rr.com] has left #ubuntu-classroom []
wimsdef typo04:33
blimpdudei added a ?04:33
=== Crusher [n=You@ppp157-132.lns11.adl6.internode.on.net] has joined #ubuntu-classroom
=== blimpdude [n=pppoe_du@unaffiliated/blimpdude] has joined #ubuntu-classroom
=== hybrid [n=x@easyubuntu/supporter/hybrid] has joined #ubuntu-classroom
=== pppoe_dude [n=pppoe_du@unaffiliated/blimpdude] has joined #ubuntu-classroom
=== hybrid [n=x@72.169.30.254] has joined #ubuntu-classroom
=== hybrid [n=x@72.169.30.254] has joined #ubuntu-classroom
=== pradeep [n=pradeep@unaffiliated/pradeep] has joined #ubuntu-classroom
=== croppa [n=stuart@135.27.233.220.exetel.com.au] has joined #ubuntu-classroom
=== DerXero [n=patrick@dslb-082-083-132-191.pools.arcor-ip.net] has joined #ubuntu-classroom
=== sacater [n=sacater@host86-150-150-151.range86-150.btcentralplus.com] has joined #ubuntu-classroom
=== finalbeta [n=finalbet@d54C689F7.access.telenet.be] has joined #ubuntu-classroom
=== vorian [n=vorian@ubuntu/member/Vorian] has joined #ubuntu-classroom
=== PriceChild [n=pricechi@ubuntu/member/pricechild] has joined #ubuntu-classroom
=== Crusher [n=You@ppp50-66.lns11.adl2.internode.on.net] has joined #ubuntu-classroom
=== sacater [n=sacater@host86-150-150-151.range86-150.btcentralplus.com] has joined #ubuntu-classroom
=== LjL [n=ljl@ubuntu/member/ljl] has joined #ubuntu-classroom
=== PWill [n=paul@cpe-24-208-190-43.columbus.res.rr.com] has joined #ubuntu-classroom
=== Turgon [n=Turgon@unaffiliated/turgon] has joined #ubuntu-classroom
=== finalbeta [n=finalbet@d54C689F7.access.telenet.be] has joined #ubuntu-classroom
=== finalbeta [n=finalbet@d54C689F7.access.telenet.be] has joined #ubuntu-classroom
=== DM| [n=dm@cpe-65-31-7-98.insight.res.rr.com] has joined #ubuntu-classroom
=== lotusleaf [n=ohzone@kernel-panic/member/carne.asada.burrito] has joined #ubuntu-classroom
=== DM| [n=dm@cpe-65-31-7-98.insight.res.rr.com] has joined #ubuntu-classroom
=== DM| [n=dm@cpe-65-31-7-98.insight.res.rr.com] has joined #ubuntu-classroom
=== pradeep [n=pradeep@unaffiliated/pradeep] has joined #ubuntu-classroom
=== lotusleaf [n=ohzone@kernel-panic/member/carne.asada.burrito] has left #ubuntu-classroom ["trombone"]
=== DM| [n=dm@cpe-65-31-7-98.insight.res.rr.com] has joined #ubuntu-classroom
=== ryanakca [n=ryanakca@ubuntu/member/ryanakca] has joined #ubuntu-classroom
=== pradeep_ [n=pradeep@59.92.33.158] has joined #ubuntu-classroom
=== DM|_ [n=dm@cpe-65-31-7-98.insight.res.rr.com] has joined #ubuntu-classroom
=== sacater [n=sacater@host86-150-150-151.range86-150.btcentralplus.com] has joined #ubuntu-classroom
=== vorian [n=vorian@ubuntu/member/Vorian] has joined #ubuntu-classroom
=== elkbuntu [n=melissa@ubuntu/member/elkbuntu] has joined #ubuntu-classroom
=== pipedream [n=pipedrea@musselcracker.aims.ac.za] has joined #ubuntu-classroom
=== elkbuntu__ [n=melissa@ppp19-119.lns2.syd7.internode.on.net] has joined #ubuntu-classroom
=== vorian [n=vorian@ubuntu/member/Vorian] has joined #ubuntu-classroom
=== pipedream [n=pipedrea@musselcracker.aims.ac.za] has joined #ubuntu-classroom
=== raffytaffy [n=raf@user-0cdf5dr.cable.mindspring.com] has joined #ubuntu-classroom
=== vorian [n=vorian@ubuntu/member/Vorian] has joined #ubuntu-classroom
=== pipedream [n=pipedrea@musselcracker.aims.ac.za] has joined #ubuntu-classroom
=== raffytaffy_ [n=raf@user-0cdf5dr.cable.mindspring.com] has joined #ubuntu-classroom
=== vorian [n=vorian@ubuntu/member/Vorian] has joined #ubuntu-classroom
=== raffytaffy [n=raf@user-0cdf5dr.cable.mindspring.com] has joined #ubuntu-classroom
=== pipedrea1 [n=pipedrea@musselcracker.aims.ac.za] has joined #ubuntu-classroom
=== pipedream [n=pipedrea@musselcracker.aims.ac.za] has joined #ubuntu-classroom
=== RainCT [n=RainCT@77.209.14.30] has joined #ubuntu-classroom
=== DM| [n=dm@cpe-65-31-7-98.insight.res.rr.com] has joined #ubuntu-classroom
=== LjL [n=ljl@ubuntu/member/ljl] has joined #ubuntu-classroom
=== LjL [n=ljl@ubuntu/member/ljl] has joined #ubuntu-classroom
=== macconline [n=macconli@190.37.40.216] has joined #ubuntu-classroom
=== jesus [n=jesus@81-235-137-174-no63.tbcn.telia.com] has joined #ubuntu-classroom
=== PriceChild [n=pricechi@ubuntu/member/pricechild] has joined #ubuntu-classroom
=== vorian [n=vorian@ubuntu/member/Vorian] has left #ubuntu-classroom ["Leaving"]
=== LjL [n=ljl@ubuntu/member/ljl] has joined #ubuntu-classroom
=== DerXero [n=patrick@dslc-082-082-134-241.pools.arcor-ip.net] has joined #ubuntu-classroom

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!