=== 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 [12:13] Hi, 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:14] have you used the package manager? [12:15] Applications / add-remove doesn't list gcc or python [12:16] System > Administrator > software sources ... i believe. then add the universe repositories [12:17] Kir1: lets do one at a time [12:17] Kir1: you already have python [12:18] I have python downloaded to my desktop [12:18] Kir1: nah, you have python already installed [12:18] it's a fundamental part of Ubuntu [12:18] Ok, how do I use it? [12:18] Kir1: do you know the python language already? [12:18] no [12:19] one guy suggested it would be a good front end for c++ [12:20] ok [12:20] Kir1: 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 python [12:21] Kir1: there are two ways to use python. You can write scripts and then run them or you can use it interactively in the interpreter [12:22] Ok. [12:22] basically 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 python [12:22] Kir1: to use the interpreter, just write "python" in the terminal and press enter [12:23] Great! Thank you. [12:23] Kir1: np, gcc is a bit different. You need to install that yourself (using the package manager) [12:23] What do I do with other software I download for python or gcc [12:24] Kir1: 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 programs [12:24] Kir1: the command to install build-essential is "sudo aptitude install build-essential" or you can use system > administration > synaptic [12:24] Kir1: what software do you mean? example? [12:25] Mesa, libMgTk, freeGlut, SDL [12:26] Kir1: all that stuff should be in the repositories, just use synaptic or apt [12:27] except I don't know what MgTK is [12:28] It's advertized on a webpage as a wrapper for one of the openGL clones. [12:28] link? [12:29] http://www.bebits.com/appver/1592 [12:30] There's a backlink on the page [12:30] updated 2001? [12:30] seems a bit old [12:31] Yeah, 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] just use python with pygtk [12:31] Ok, I'll look pygtk up. [12:32] Kir1: do you care what language it is in? almost every language has gtk bindings [12:33] Not much but I had a custom language written in VB.Net and it turned out way to slow especially for graphics. [12:34] that's like minutes per screen instead of 30 FPS or better. [12:37] So 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] good reasons [12:40] Ok, 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:42] Kir1: after installing build-essential, you can compile things like this: g++ -o outputfilename sourcecodefile.cc [12:42] The load old command was: [12:42] sudo apt-get install gcc build-essential [12:45] Do you specify a filepath like in Windows or just accept the default? [12:45] well I assume you are in the same directory as the source code [12:45] How do you change directories in UBUNTU? [12:46] Kir1: cd /path/to/new/place [12:46] !cli | Kir1 [12:46] Kir1: 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/BasicCommands [12:48] Yes 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:49] This UBUNTU has the first terminal, not the K-menu option [12:50] you are using GNOME then [12:50] I guess? [12:51] yeah, it is default for ubuntu [12:51] It came on a free UBUNTU Labeled and eveloped CD-R from a computer repair shop. [12:53] Kir1: cool, where's the repair shop out of curiousity? [12:53] Clatskanie, 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:54] ah [12:56] So where are you all from? [12:58] Kir1: I'm from boston [01:00] Well 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:02] Still don't but maybe after I get this GUI done. [01:03] Well, 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:05] Kir1: 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:06] Thank you much! === 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 [] [04:33] def typo [04:33] i added a ? === 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