Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 16758 ideas, 103216 comments, 2163394 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #19644: Auto-install of archivers (7zip, rar)

Written by kazade the 5 May 09 at 14:16. Related project: Archive Manager. Status: New
Rationale
On a clean Ubuntu system you cannot open .7z or .rar files even though they show up with a package icon and attempt to open in Archive Manager (file-roller). Trying to open such a file gives a "Archive type not supported." message, with no indication of what you are supposed to do.
Tags: (none)

639
votes
closed
Solution #1: Prompt for installation of the appropriate compression program
Written by kazade the 5 May 09 at 14:16.
I propose that the archive manager should prompt the user to install the compression program from the repositories (similar to auto-codec installation). Once install is complete, the application should continue to open the archive.
40
votes
closed
Solution #2: Auto install .7z only
Written by omas the 6 May 09 at 16:25.
Why? Because .rar is closed source format. As far as i know ubuntu CD contains only GPL'ed software and can conctain any closed source software thats why you allways must install some codecs and etc. after fresh install.

Whats about .7z totaly agree it shows really nice compresion ratio and it's open source ;-)
97
votes
closed
Solution #3: Install unrar-free by default
Written by olskar the 7 May 09 at 22:11.
There is a free version of unrar called unrar-free in the repos. Unrar-free should be installed by default.
251
votes
closed
Solution #4: 7-zip in the default install
Written by migpc the 8 May 09 at 08:00.
7-zip is a better compression tool, in many cases, than the ones provided by default (i.e. better compression ratio than bzip2).
It's even being considered as default compression method in many free software projects (Firefox, RPM, etc).
It should be included as a base dependency.
-30
votes
closed
Solution #5: PeaZip Archiver Program
Written by lhb1142 the 16 May 09 at 19:04.
In the absence of any of the proposed solutions here being implemented, may I suggest that everyone interested download and try the PeaZip Archiver Program < http://peazip.sourceforge.net/ >?

It is the best such program I have yet found. One of the ".deb" versions is appropriate for Ubuntu and, once installed and implemented, it becomes your default archiver program.

You can see the compressed programs it handles - just about everything!
24
votes
closed
Solution #6: Create modular archiving program
Written by AndrewLuecke the 18 May 09 at 03:31.
Instead of offering plenty of different archiving tools, there should only be 1 primary archiving program where the compression modules are plugins. This way when a new archive type is required, support can easily be added.

This is the best solution as new functionality can then be added later (even automatically installed), and a common framework could be added to allow applications to access any compression scheme they'd like.


Propose your solution

Attachments
No attachments.


Duplicates


Comments
Darwin Survivor wrote on the 5 May 09 at 18:19
I envision Ubuntu (and Linux in general), becoming an OS where whenever you are missing something, it simply asks "would you like me to install that for you?"

The less times we send the user to the CLI or even Synaptic, the better.

eierdieb wrote on the 5 May 09 at 22:36
I guess it would be better if there is no prompt or but an option in the right-click menu.

Generally I like the idea about a suggested package which can read currently unreadable file types - this is great about free software: there is nearly for everything anything - problem is you just don't know it and this kinda solution may lead you to the wanted software.

Zanko wrote on the 11 May 09 at 15:07
This is obviously a case in which packagekit should be used.
Also, it should be able to detect the version of RAR format, because unrar-free can't open most recent RAR format archives (maybe 7zip can ?).

itix wrote on the 13 May 09 at 12:04
Solution #3 is out of the question since rar-free package rarely work. Let people decide whether they want to install non-free software or not by prompting. The CD does not need to contain these packages, so I don't get why solution 2 is there either. The question is about whether we should prompt people to install these or not the same way we do mp3 and nonfree video-codecs...

Tallyho wrote on the 16 May 09 at 13:31
+1 for Darwin

nandayo wrote on the 16 May 09 at 23:13
agree with this proposition : rar is very used, it is not a good idea to not make ubuntu able to extract it by default just because it is not free.

To not install the rar compressor because rar is not free OK, bu to not install the rar decompressor is ridiculous and will not change anything (except that people are angry to not be able to decompress rar files !)

cupantae wrote on the 18 May 09 at 02:29
I was going to post Darwin Survivor's comment. You shouldn't ever have to "go somewhere else".

AndrewLuecke wrote on the 18 May 09 at 03:32
Solution 6 fixes the problem at its source, and also opens up the possibility of a simple api for other programs to access any archives easily.

AndrewLuecke wrote on the 18 May 09 at 03:36
PS. Not sure why after so many posts nobody else throught of this. It makes me even more concerned about Brainstorm...

AndrewLuecke wrote on the 19 May 09 at 05:50
So lets get this right. You guys want to continue using a static archiving program which cannot be extended to use new formats.. Hmm..

Ssdg wrote on the 19 May 09 at 08:02
@AndrewLuecke I'm not sure, but the archive manager already works like that...

If the decompression program is installed > it decompresses
If the compression program is installed > it compresses

So get this right. You didn't looked at the current state of the archiving tools in ubuntu.. Hmm..

AndrewLuecke wrote on the 19 May 09 at 14:02
I checked it in the past

Yes, it will support RAR if the program is added, but if I make a new archive format (lets say .AUZY), it doesn't matter what I install, it wont be supported by the default program (because it doesn't know its even an archive).

Because it only can install formats that is hardcoded within the source code. We need something that allows developers to add .AUZY to the archiving program via a special module file.

That's the best way of doing it. Otherwise users need to upgrade their entire program to support all archive types within 1 program (and yes, we all know that distro's wont do that).

If you don't give a damn about integration, vote me down, and vote however (I'll reiterate that I no longer care because the only way to fix ubuntu I believe is a fork away from the old community).

If like me you care about integration, modularity, and having a powerful OS which no longer requires hacks to the source code to support new features, then vote me up. Sorry guys, but instead of having a free OS, I also believe we need an OS which can be extended as will.

The problem is that since Ubuntu is open source, people just say "we'll hack the source its alright". We SHOULD instead treat everything as closed source, and make it possible for people to add to the programs without touching the original source code.

OpenNingia wrote on the 19 May 09 at 15:56
@AndrewLuecke:

sometimes rewriting code from scratch is not a solution, it cost too much.

and treating open source software as closed source software is a nonsense.

the cost in time and money to add your fantazipformat ( .AUZY ) to the archive manager is way less than to implement a new archive plugin framework + application that handle them.

Just be rationale and think how many compression format will born from now to, let say, 2020? :D

AndrewLuecke wrote on the 20 May 09 at 00:43
Openningia, Why is it treating it as closed source nonsense? Treating end users and forcing them to apply patches to code is nonsense. In fact, expecting users to hack around in source code is just downright STUPID!

So let me reiterate.. Ubuntu users keep wanting to take shortcuts, and the end result is that we end up with crappy integration (just look at the kernel for the perfect example of how to constantly break drivers).


You are making a big assumption there too. Modularity is NOT hard to code. I know, I programmed a damned awesome plugin loader in C in uni. And I was almost a newbie. Took maybe a week (tops). So the cost of implementing a plugin loader I don't believe is that big.


It only takes 1 unsupported format for the users to require a second program. Furthermore, LTS ubuntu customers need programs that can last 3 years. Modularising them is the only way.

OpenNingia wrote on the 20 May 09 at 13:27
Coding modularity is not a problem, it is not hard, it doesn't cost too much, BUT coding from scratch IS a problem.

Because there is nothing like a modular archive manager as you suggested, it should be coded from scratch and that is hardly the best solution.

Implementing modularity in the existent archive manager likely will require a lot of refactoring which isn't needed if you just want to add the support for a new archive format.

I agree that some software needs to be developed with modularity in mind ( audio players, image manipulation ), but for the most of them modularity is over-engineering.

AndrewLuecke wrote on the 20 May 09 at 17:23
Translation: Lets do everything in a half arsed way.

- Eclipse is successful (IBM didn't)
- Firefox is VERY successful (based on modularity)
- Windows has exceptional hardware support as opposed to Linux (because windows drivers designed 2 years ago for vista still work for Windows 7, and in some cases, Windows XP drivers even work).

Modularity is NEVER overengineering. It may seem like it before you code something, but lets face it, when firefox was first released nobody dreamed it would be successful.

In this case, we can have no way of knowing how people will use it. But I can think of plenty of ways people could benefit.

OpenNingia wrote on the 21 May 09 at 12:26
oh please xD

Windows has exceptional hardware support because hardware manufacturers write drivers for Windows platform only :)

Microsoft don't develop any drivers, instead Linux Community is forced to develop its own drivers ( almost always with reverse engineering because manufacturers do not want to handle the hardware specifics ).

This is the real difference in hardware support.

AndrewLuecke wrote on the 21 May 09 at 17:23
You sure OpenNingia? Because plenty of official drivers out there required a specific kernel to work (like the X-fi ones did).

In fact, remember why Vista failed? Many people were complaining of BSOD's and such. This was due to a few changes with the kernel.

But with Linux, its in a constant state of flux. Its part of the reason. Developers have no way of guaranteeing that the drivers they write will work with any minor update, so they don't bother.

OSX has the same problem too (which is why barely any driver developers write drivers for it). Many of our customers complained that their high end audio devices broke every 2 or 3 months with the OSX updates.


Its a valid reason if you think about it. As a hardware manufacturer, you MUST be able to ensure the driver works reliably, or people whinge and call your company lame.


Post your comment