General Discussions

switching to linux – evdude

evdude

Member

Posts: 135
From: Earth Orbit
Registered: 03-14-2007
I just installed linux (xubuntu) on my computer! I like what I've seen so far, but I can't really do anything (as far as SDL/pygame).So I have some questions: How do I run an .RPM file, And how do I get code::blocks working. also, feel free to share any tips and tricks that you know about it.

Thank in advance.

------------------
dudey calls...

"Never try to sneak up on someone who knows Martial Arts, is a Jedi, a Narnian Knight, and is standing in front of a mirror. Especially the last part." -Mene Mene

Jari

Member

Posts: 1471
From: Helsinki, Finland
Registered: 03-11-2005
Since no one has responded yet I just want make one note/warning. Code::blocks may not work in xubuntu because it uses lightweight GUI. While codeblocks needs it's own stuff which however is possible to install in ubuntu or in kubuntu.
Hopefully that is not the case but now you know. Btw I built in from source according to the instructions in here: http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks

Or use one of the nightlybuilds for latest codeblocks...

------------------
Psa 32:5 I acknowledged my sin unto thee, and mine iniquity have I not hid. I said, I will confess my transgressions unto the LORD; and thou forgavest the iniquity of my sin. Selah.

[VoHW] (Help needed) [Blog] (Contact) - Truedisciple (mp3)

TallBill

Member

Posts: 298
From: St. Louis, MO
Registered: 11-22-2002
Ubuntu and its variants are based on Debian, so .rpm's might not be handled as expected right out of the box, but if you can get .deb's they shouldn't present a problem at all. Now, if you choose "Add/Remove" from the bottom of the "Applications" menu, some package management software will launch that might let you find something to handle .rpm's properly.

------------------
Never Forget to Pray!

“...prayer itself is an art which only the Holy Ghost can teach us. He is the giver of all prayer. Pray for prayer—pray till you can pray; pray to be helped to pray, and give not up praying because you cannot pray, for it is when you think you cannot pray that you are most praying. Sometimes when you have no sort of comfort in your supplications, it is then that your heart—all broken and cast down—is really wrestling and truly prevailing with the Most High.”
Charles Haddon Spurgeon, from the pamphlet, “Effective Prayer”

evdude

Member

Posts: 135
From: Earth Orbit
Registered: 03-14-2007
Alright, Intalling code::blocks and looking in add/remove!
Thanks again!!!!

------------------
dudey calls...

"Never try to sneak up on someone who knows Martial Arts, is a Jedi, a Narnian Knight, and is standing in front of a mirror. Especially the last part." -Mene Mene

TwoBrothersSoftware

Member

Posts: 141
From: Janesville, Wi USA`
Registered: 08-05-2006
Welcome to linux.

Installed my first distro in 2000 - only use windows when I have to now.

Love compiz - yeah it's mostly eye candy but beats Mac and Vista on that.

I can run the netbeans IDE on linux and not hit my swap file (1/2 gig or ram) but when I boot in XP - running netbeans hits the paging file (same thing) to the tune ot 371 Meg. And the hard drive usage drops doing that is murder on the battery.

Mike

blendenzo

Junior Member

Posts: 9
From: MI, USA
Registered: 11-25-2007
Welcome to Linux! I've been a Linux user since April of this year, and I'm not going back to Windows. I started with Ubuntu but quickly moved to Linux Mint, which is now my preferred distro.

Tallbill was correct that Debian GNU/Linux variants (like Ubuntu) do not have native support for RPM's, but you can use RPM's in Debian variants by using a package called Alien. Here's a link: http://www.debian.org/doc/FAQ/ch-compat.en.html#s-otherpackages

Also, if there are any Windows programs that you haven't found a replacement for yet, you can probably still run them in Wine (a Windows compatibility layering program for Linux). I run my favorite HTML editor, CD-ripper, and photo viewer/editor through Wine, and they all work very well (except for a few minor display annoyances).

------------------
The Life is in the Blood.

(Find Blender Game Engine tutorials at blendenzo.com.)

evdude

Member

Posts: 135
From: Earth Orbit
Registered: 03-14-2007
Thanks blendenzo! AND welcome to CCN!!!!!!! I saw Alien some were, but had no idea what it was.

------------------
dudey calls...

"Never try to sneak up on someone who knows Martial Arts, is a Jedi, a Narnian Knight, and is standing in front of a mirror. Especially the last part." -Mene Mene

evdude

Member

Posts: 135
From: Earth Orbit
Registered: 03-14-2007
I got alien working, but when ever it runs it says it needs to 'Run as root to convert to .deb format(or as fakeroot)'. does this mean I have to log in as the root user? if so, how do I?

------------------
dudey calls...

"Never try to sneak up on someone who knows Martial Arts, is a Jedi, a Narnian Knight, and is standing in front of a mirror. Especially the last part." -Mene Mene

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
quote:
Originally posted by evdude:
I got alien working, but when ever it runs it says it needs to 'Run as root to convert to .deb format(or as fakeroot)'. does this mean I have to log in as the root user? if so, how do I?



Just type sudo to run a program as root. sudo will then ask you for your user password.

------------------
All Your Base Are Belong To Us!!! chown -r us ./base
"After three days without programming, life becomes meaningless.'' -- Tao of Programming Book 2

"Oh, bother," said the Borg. "We've assimilated Pooh."

Any fool can know, the point is to understand. -- Albert Einstein

My Programming and Hacker/Geek related Blog

evdude

Member

Posts: 135
From: Earth Orbit
Registered: 03-14-2007
so, type something like "sudo alien file.rpm"?

EDIT: Never mind, it worked.

------------------
dudey calls...

"Never try to sneak up on someone who knows Martial Arts, is a Jedi, a Narnian Knight, and is standing in front of a mirror. Especially the last part." -Mene Mene

[This message has been edited by evdude (edited November 25, 2007).]

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
i have used linux for a while and i gave up on it ,i can't do anything productive through it without going through annoyance after annoyance of setup problems, i spent to weeks trying to get mon/monodevelop to run in open suse 10.2 without success, the graphics was really nice and the desktop system wasn't bad but it is hard to use linux without being somewhat of a linux geek and even if you are you must have lots of extra time to configure /install linux i mean why can't they just make a setup.exe like windows where you just run it and install it. with rpms/debs you try to install it but in my case was usually lots of dependency problems and when i get those resolved
there is version problems with the dependencies.

and in some programs you have to compile/make and install the program from the source code yourself and i don't want to do that i want to download install and use the program just like i do in windows.

i think the idea behind linux is nice but developers are not trying hard enough in satisfying the regular developer/user as their target audience.

not just that in professional enviroment i don't think many people use linux it's most likely either windows or mac.

and i rather run a program made for the system rather than use an emulator too but it's all my opinion.

i guess linux got too boring too fast for me, i have lots of distros on cd's right now and i don't know what to do with them?? i am a windows user now.

------------------
John 14:6

Jesus answered, "I am the way and the truth and the life. No one comes to the Father except through me.

blendenzo

Junior Member

Posts: 9
From: MI, USA
Registered: 11-25-2007
That's cool, spade89. Linux isn't for everyone. But my experience has been that it doesn't take more work than Windows, it just takes different knowledge. You're used to downloading an installer from a website, running a setup .exe and having a program installed. On Linux, you don't install programs that way. That's probably why you ran into so much trouble with it. If you try to download .deb files from websites and run them with GDebi (or dpkg or whatever you use), you're destined for one failure after another. It's just simply not meant to be done that way.

I use Linux Mint (a Debian/Ubuntu variant) with the Gnome Desktop Environment, and there are two very simple methods for installing software that will always work. First, all Ubuntu systems come with a program called "Synaptic Package Manager" (or simply "Synaptic" or "Package Manager", sudo synaptic from the terminal). You can find almost all programs you are looking for there. When you select a program you wish to install, it will alert you of all required dependencies and add them to the installation list. For example, you simply select "monodevelop" from the package list (yeah... I checked, and it's there, new to Ubuntu 7.10) and it checks your system against the dependencies list and marks everything you don't have for installation. When you click "Apply," all of the packages you need are downloaded from the repositories and installed to your system. Linux Mint also has a new feature called "Mint Install" which boasts one-click installation of many popular programs (the list is rapidly growing).

Of course, all the downloading seems like a bother for those who don't have an internet connection, since you might not download everything you need when you do have access to the web. It turns out that this is also very easy to work around. If you go somewhere where there is an internet connection and search the repositories at http://packages.debian.org or http://packages.ubuntu.com (search your distribution first before checking other repositories to avoid potential conflicts) you can get a full list of dependencies to download so that you will not go home without all the necessary files. Since you mentioned monodevelop, here's the repository listing for that.

I'm not really trying to convert you. If you're settled on Windows, that's fine by me. I just want you to realize that your problems didn't have so much to do with Linux as they had to do with your lack of experience with Linux and your attempts to use it like a free version of Windows. Recent studies have suggested that people who have never used either operating system have an easier time with Ubuntu Linux than they do with Microsoft Windows Vista. If you ever feel like giving Linux another try, I personally recommend that you read the article "Linux != Windows" first. Also, give Linux Mint a try. It is a distribution whose main focus is making Linux practical and usable for the office and home desktop environment.

------------------
The Life is in the Blood.

(Find Blender Game Engine tutorials at blendenzo.com.)

[This message has been edited by blendenzo (edited November 25, 2007).]

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
quote:

I'm not really trying to convert you. If you're settled on Windows, that's fine by me. I just want you to realize that your problems didn't have so much to do with Linux as they had to do with your lack of experience with Linux and your attempts to use it like a free version of Windows. Recent studies have suggested that people who have never used either operating system have an easier time with Ubuntu Linux than they do with Microsoft Windows Vista. If you ever feel like giving Linux another try, I personally recommend that you read the article "Linux != Windows" first. Also, give Linux Mint a try. It is a distribution whose main focus is making Linux practical and usable for the office and home desktop environment.


you made a wrong assumption about me i know a lot about linux i have experience installing and using many distros(fedora,mandriva,ubuntu,kubuntu,edubuntu,open suse,puppy linux) and i do have experience installing/configuring/compiling/ programs in linux.

i have more experience than you think and as i said i looked two weeks trying to get mono/monodevelop to run so that i could get started on this c# project on sourceforge but the thing is even after i downloaded lots of rpms,and stuff and installed them there was still problems with versions and i am mentioning this as an example.

i don't want to be obssesed with linux i just want to use my pc the easy way.

linux is really boring(to me now), the amount of software available for linux is not too bad considering it's open source but there are not enough varities to choose from not only that some softwares are made for windows only or for mac(look at photoshop) and the alternatives are not that good(gimp)i am sure if i gave it enought time and got obssesed with linux i can get used to the linux software but i'd rather use windows.

and to add on that i can't play dvd's on linux without violating the law, i can't play mp3's without using illegal software(lame i think).

and i rather not use wine to run my windows apps(for various reasons) stuff made for windows looks good on windows.

i don't think there is a lot that linux can do that windows can't(except stuff like the desktop fancy gui,etc..) and my hardware can't handle too much graphics and my processor is under 500mhz.

and not to mention the disclaimers i saw so far on linux distros is as-is software but it might not be that way with windows.

and in the case of windows you paid your money for it so you have the right to demand quaity service and quality software .in other words you get what you pay for. in linux you get what you get.

if linux works for you then good for you for me i would rather use windows since it is found on most computers and it is the most popular.

my experience with linux makes me think the phrase "you get what you pay for" might be more true than i thought.

------------------
John 14:6

Jesus answered, "I am the way and the truth and the life. No one comes to the Father except through me.

blendenzo

Junior Member

Posts: 9
From: MI, USA
Registered: 11-25-2007
quote:
Originally posted by spade89:
you made a wrong assumption about me i know a lot about linux i have experience installing and using many distros(fedora,mandriva,ubuntu,kubuntu,edubuntu,open suse,puppy linux) and i do have experience installing/configuring/compiling/ programs in linux.

I had a gut feeling that was the case when I pressed the "Submit Reply" button. I'm sorry. I hope I didn't offend you too badly. It seems that I have a habit of starting out that way at every new forum I join...

------------------
The Life is in the Blood.

(Find Blender Game Engine tutorials at blendenzo.com.)

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
no problems,i have that problem too so many times here at ccn i say something and people misunderstand me or i assume too much.

anyways welcome to ccn i hope you will like it (specially if you are into gamews which i am not).

------------------
John 14:6

Jesus answered, "I am the way and the truth and the life. No one comes to the Father except through me.

blendenzo

Junior Member

Posts: 9
From: MI, USA
Registered: 11-25-2007
Thanks for understanding.

Yeah, I'm into games. That's what brought me here... I've made a couple of games so far, but only one of them is up on my site, and it's from my pre-Linux days, so there's only a Windows version. It's technically cross-platform since I developed it with Blender, but the sound won't work on Linux or Mac (depends on PySonic and fmod).

Other than that, I'm big into web design. Don't judge me off my current site, though. It's a hobby site as of now, and its a hack together of the last two years of learning. My newer work (professional) is all valid XHTML 1.0 Strict, and I don't use tables for layout purposes anymore.

Anyway, enough off-topic... I forgot to mention that my kids like Linux better than Windows. After all, Windows doesn't have Tux

------------------
The Life is in the Blood.

(Find Blender Game Engine tutorials at blendenzo.com.)

Mene-Mene

Member

Posts: 1398
From: Fort Wayne, IN, USA
Registered: 10-23-2006
Welcome to CCN Blendezo! I'm glad I checked out this thread. I'd appreciate your input on my "Torque vs. BGE" Thread. http://www.christiancoders.com/cgi-bin/ubb-cgi/postdisplay.cgi?forum=Forum7&topic=000198

------------------
MM out-
Thought travels much faster than sound, it is better to think something twice, and say it once, than to think something once, and have to say it twice.
"Frogs and Fauns! The tournament!" - Professor Winneynoodle/HanClinto
I reserve the full right to change my views/theories at any time.