A Year of Linux, Februray 3: Installation Recipes!
February 3, 2009 by AshPringle
Filed under Gear
The old plan: Ring in the new year by switching over to Linux for a week, documenting each day of the transition. To read that first week, click here!
The new plan: Keep using Linux for the rest of the year, giving periodic updates on my experiences, all of which you can read here!
February 3: Installation Recipes!
Last week I moved back in with Linux and tried to convince it to do a favour for me and install Java, even though I hadn’t washed the dishes the entire time I was there and also accidentally set Linux’s couch on fire during my daily meditation, because my chakras wouldn’t centre and I dropped my incense.
Linux wasn’t very happy with me, but in the end it did what I asked. Like a true friend it took my abuse with no expectation of ever getting anything out of the relationship in return, and with no expectation of ever getting back its foot massager or its copy of The World According to Garp (which I haven’t started yet, but I’m totally gonna start reading it when I have some free time, man.)
All in all I got a taste of what it’s like to have difficulty installing an app in Linux, and now I want more of that delicious, moist, fluffy frustration. So join me for my installation recipes!

The Linux version of Toribash, doing its best to guide me through its installation
My latest obsession is a video game called Toribash. I was introduced to it on a Windows machine at a friend’s place, where we first started learning the martial technique of spastically flailing like a crash test dummy experiencing massive seizures while jacked up on a host of amphetamines.
When I get home I am happy to see that there is a Linux version of Toribash available, just waiting for me to haphazardly attempt to install it and then write an article about it, so that readers like you can derive some enjoyment out of my ragdoll-like technological spasms!
Sticking with my usual style I decide to rush in head first with my arms flopping at my sides like dead rainbow trout, with no regard for the potential risk of tearing myself apart in the event that things go wrong.
My first step is to check the Linux download section on Toribash’s site, which I find has a few different installation types for different versions of Linux. I don’t immediately see anything that looks familiar, and so without any consideration whatsoever I grab two different packages designed for “other distributions.”
My first step in finding some tangy, melt-in-your-mouth installation options is to go to work on the tar.gz package, because it is somewhat familiar to me. I know that the .tar file is an archive, so I open it up to see what I can find. Inside there are some files that look like they ought to run the game, so I extract them to a folder and click on the one that says “Toribash.”
The next thing that happens is nothing. Either that or Toribash looks exactly like my desktop when absolutely nothing is happening. I decide to pick the most obvious possibility of the two: that I have once again failed miserably in my first attempt at getting something to work in Linux. Mmm, scrumptious.
With the sweet sting of failure lingering on my palette, and absolutely no desire to figure out how to manipulate any of the files in the .tar archive to get them to work, I decide to move on to the automatic installation file. Automatic installation files are nice because they are files that install automatically, instead of not installing automatically. With this key piece of information in mind I click on the file and wait for it to automatically do its automatic thing, like a microwave turning a raw potato into a perfect batch of gnocchi.
What actually transpires is nothing of the automatic installation sort. In fact what happens is so far from an installation, and so far removed from anything that makes sense given our standards of reasoning, that it became the primary reason for writing an entire article — an article that you may or may not be reading at this very moment. (I don’t want to make any assumptions about what you like to read. That would just be presumptuous of me.)
Rather than install, the automatic installer chooses to communicate to me that an error has occurred, via an error window. The error window is titled “Error,” which actually makes quite a bit of sense when you think about it.

Oh God it is sooo good. Mnhgh, you have to give me the recipe. Mmnumn, yes, I need more, it is too tasty.
It is the next part that doesn’t disappoint me with any of that sensical nonsense; the error window’s next step is to inform me that the error which has occurred is, in fact, Success.
Oh God it is so delicious.
The error was success. I cannot think of anything more brilliant than that. I don’t even have to write any more bad jokes, because that error window made something more perfect than I could ever hope to imagine even thinking about one day considering.
The irony is actually tangible. It has a flavour, and it tastes like a gigantic cake topped with icing made from another liquefied cake, stuffed inside yet another cake and then condensed into a bite-sized morsel, which is placed delicately on the most concentrated area of taste buds on my tongue. It is installationy culinary perfection.
Finally, it leaves me with a button that simply says OK, as if to imply that by pressing the button I am somehow just A-okay with what it has shown me. “Error: Success. OK?” it tells me as I stare at it in utter confusion, my only course of action being to press the OK button and be forced into accepting that the logical abomination it just presented me with is just fine.
My hunger for installation insanity has truly been sated by this automatic installer, and there is almost no reason for me to continue writing, or even continuing living for that matter. Yet I must continue, for the sake of the article.
With the aftertaste of that fantastic second failure still in my eating hole, my next step is to head to the Add/Remove programs app, and then Synaptic, to see if Toribash is included in those collections for easy installation. Unfortunately, both apps come up with nothing and I am left in a strange and scary situation.
Up until now installation of programs in Linux has been fairly easy: if using the resources provided by the creators of the software didn’t work, then I could simply find a way within Ubuntu to get things installed. Even Java, which was more of a pain to get working than was probably necessary, was still supported enough by the resources of Linux to be installable through Add/Remove and Synaptic.
But now I am left in a barren wasteland of installationlessness. I am cold and alone, with no support from the OS and no idea what to do to get this wonderful game installed so I can start tearing my own arms off while trying to injure my opponent. What do you do to get something installed when Ubuntu doesn’t seem to directly support it?
With that I head to the forums, which in the past have been a great help. As usual I see that someone else is having the same problem as me, and has made a thread about it. But unfortunately all the answers in the thread are actually vague non-answers, and only explain that I should get the libraries or something, which I don’t know how to do.
You’ve failed me forums! After so many good times spent together you’ve turned your back on me when I needed your help the most: namely, when I wanted to install a video game based entirely on contracting glutes to make people’s limbs fly off.
“There must be an easier way,” I yell to myself as loudly and discontendedly as possible. The person next to me tells me to keep it down, because this is a quiet dining area. Discouraged and tired, I decide that I could probably get some better work done at some place other than a restaurant, and there’s only one place left to go… the manual.

Linux is "not gonna do it." That is, install downloaded files that don't have the .deb extension! That's a bit of topical humour for you guys. You can use it if you want, free of charge.
I’ve made fun of the Ubuntu manual before for not really helping with anything ever and being so smelly (I think the only thing it eats is boiled cabbage) so hopefully it will not hold any grudges now that I have come crawling back, looking for its help.
It turns out that the manual is actually totally fine with it, invites me in, asks me if I want some cabbage, tells me it doesn’t get many visitors, and then insists that we are best friends forever now that I made eye contact with it without telling it that it smells like cabbage.
The manual then proceeds to tell me a very long, boring story about its cat Donald who is apparently so cute when it meows, because it sounds just like Dana Carvey doing an imitation of George Bush senior, and also something about installing things in Linux. After many many paragraphs of stuff I don’t care about, something the manual says catches my ear. “To install downloaded packages,” it says, “just use the one that is a .deb file.”
That’s it! I grab my coat, tell the manual that I had a good time and to shut the hell up about its cat, and run out the door to the Toribash site. There I find the .deb installation file, which runs perfectly and installs the game, and before I know it I am doing backflips and breaking my own head off!
And so I learned a good lesson during my quest for delicious installation recipess: just use the .deb file if there are no other options. It may have ended up tasting like disgusting cabbage, but it worked.
I was a bit confused early on in my my relationship with Linux by the slick Add/Remove programs app, because there didn’t seem to be any other way to install things. It wasn’t like Windows, which will run you through an installation wizard for any old app or spyware or virus; instead it seemed the Add/Remove apps were the only way to install things, which was worrisome. And while I’m sure not every .deb file will run as flawlessly as Toribash’s did, it’s good to know that in the event that an application I want to use is not directly supported by Ubuntu, there is another simple way to get things to work.
I also learned that I will never be as funny as Linux unintentionally was today. Error: Success. OK. You just can’t make that stuff up.




Stumble It!
Vadim P. on Tue, 3rd Feb 2009 10:04 pm
Definitely agreed with a botched installation – on Ubuntu .deb files are easiest to install. Just double-click, and it has a nice installer. Unfortunately, not every project provides one, and some assume that your skill level is automatically “high”.
Add/Remove is good for you though. A nice list of apps – check off which ones you’d like, and it fetches & installs for you
gnimsh on Wed, 4th Feb 2009 12:10 am
Hey here’s a site where you can get a ton of other .deb installer files: http://www.getdeb.net
Its awesome. Have fun!
Daeng Bo on Wed, 4th Feb 2009 1:07 am
The website didn’t make it any easier for you. The Download page has a “Debian” link, which should probably read “Debian or derivatives like Ubuntu or Mint,” and since Ubuntu is a derivative of Debian … well, that would be your choice. If you hit “Direct download,” it would probably install with no problem.
Installing stuff in Add/Remove is perfection: installing random apps is a PITA.
I love your writing style. I wish I had that kind of verbal ability. Best of luck on your masochistic year-long celebration of geekdom.
Vincent on Wed, 4th Feb 2009 3:18 pm
Hilarious
Anyway, that error message was brilliant (and of course, you have Toribash to thank for that, not Ubuntu
).
Sealbhach on Wed, 4th Feb 2009 5:59 pm
There’s a .deb on the Toribash website…
http://linux.toribash.com/download/i386/toribash_3.50-1_i386.deb
It’s labelled “Direct Download”. I guess that’s the one you found in the end. Did it work OK for you?
AshPringle on Wed, 4th Feb 2009 9:44 pm
@Vadim: Add/remove is definitely the way to go! But I am glad to see there is an alternative in .deb files, at least sometimes
@Daeng Bo: That is indeed what happened! I didn’t recognize “debian” at all, so I went for what I thought was the closest match. I now know that Ubuntu is built off Debian, so that’s good!
@Vincent: Yes, Toribash just keeps on giving! It’s good to know it’s there for me
@Sealbhach: I did indeed get it working. It is tons of fun! After I figured out which file to download, it was smooth sailing.
Thanks for the comments everyone!
Vincent on Thu, 5th Feb 2009 12:06 pm
Oh, one more thing: Add/Remove…, Synaptic, apt-get and whatnot all actually download .deb files from a central server (the available files can be found at packages.ubuntu.com) and install them. The advantage is that updates can be found automatically, the downside is that not all applications make it to that server, in which case they’ll have to offer the packages for manual download like Toribash
Rompalle on Fri, 6th Feb 2009 12:43 pm
You really should spend some time reading the excellent documentation at Ubuntu (one of its strongest points).
here is a link to software installation;
https://help.ubuntu.com/community/SoftwareManagement
And as a previous user mentioned that successful error was thanks to Toribash not Ubuntu or Linux!
Before you install anything always look in Synaptic if it is avaialable and if not then download a .deb file if available.
Wyatt on Fri, 6th Feb 2009 12:51 pm
Hi there! It’s me again. You see what you started? Now I gotta keep coming back to catch these as they come.
This article comes back to something I touched on the first time, and it’s a good time to look at it closer (well, maybe it would have been more useful BEFORE you had this little adventure, but hindsight is hindsight).
Your package manager is your go-to guy; on this we seem to agree completely. But, you have to be sure you know just who that is. In this case, your package manager is dpkg; if the names weren’t any indication, Vincent’s comment should be rather edifying: things that aren’t dpkg are not dpkg. Synaptic, Aptitude, APT, the mysteriously-named Add/Remove…these are your people. You have your people talk to dkpg’s people and bada bing, bada boom, good things happen. Capisce? Wikipedia has goods on where to find dpkg when you need him.
Also look into Alien for packages that don’t provide a deb file. I haven’t used it (my distro has a bit closer relationship with the compiler than most find strictly necessary, see), but I hear good things. For things that don’t work off the bat, try roughing them a little; run them in a terminal: It’s the BEST way to get the juicy details about what’s missing where. I think Toribash spins some lines about some SDL stuff.
As for that error message, I usually consider any sort of success (winning against a stationary bot, for example) in Toribash to be an error of some sort, so it totally makes sense.
AshPringle on Mon, 9th Feb 2009 12:09 pm
Thanks for the comments everyone!
@ Vincent: I was not aware that the add/remove app downloaded .deb files! Writing this article has truly been a learning experience.
@ Wyatt: Thanks for the comment
I’ve noticed Alien a couple times in my research, and I imagine I will probably end up using it in the future. I would definitely like to be able to manually install stuff that doesn’t have a .deb file at some point.
Success in Toribash really is basically a mistake sometimes, isn’t it?
Vadim P. on Sat, 28th Feb 2009 7:37 am
Watch and learn: http://bugs.winehq.org/show_bug.cgi?id=17485
AshPringle on Thu, 5th Mar 2009 9:41 pm
@Vadim: Ah, so it’s a Wine problem?
Strange!
Trailbreaking with bug reporting
Vadim P. on Thu, 5th Mar 2009 9:54 pm
Yeah. They fixed it now, it says ‘Not a valid Windows application’ now – but imho they should also check if it ends on a .exe before running it.
Otherwise you get linux programs that aren’t allowed to execute get tried to run by wine (since this is how it would happen with a windows .exe). Convenience here is a bit hard to figure out properly
Btw, check out http://shutter-project.org/
AshPringle on Fri, 13th Mar 2009 9:25 pm
Hm, strange that Wine would try to run a non-windows file.
Well, good to see it got fixed!