Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 12357 ideas, 58479 comments, 1187050 votes

Idea #2378: Source tarball installer (One-Click Compile and Run!)



up
-47
down
Written by bluecat9 the 2 Mar 08 at 03:21. Category: Others.
Related to: Nothing/Others. Status: New
Description
Goal: De-geek compiling source-code.

Some users are savvy enough to navigate to a 'Download' section of a website for software XYZ but are unsure of what to do next after downloading source-code.

Manually compiling source-code should be a choice, not a requirement. :)

Scenario:
I choose "Open" versus "Save" to Download source-code from a website and Ubuntu automatically compiles and executes the source-code. ("it just works")

* Perhaps some sort of "Install and Run" option via Right-Click Menu for previously downloaded source-code.

That would rock, basically.
Tags: (none)

Attachments
No attachments.


Duplicates


Comments
travist120 wrote on the 2 Mar 08 at 03:37
That would be a great idea, but most of the time, source code is different within every package. It would help if the makers of the package would include a file telling what is needed to compile, but they don't. It would require that everyone change the way they make programs.

cardinals_fan wrote on the 2 Mar 08 at 03:43
Awesome idea, but I don't see how it could work. No vote.

bluecat9 wrote on the 2 Mar 08 at 03:51
I'm speaking specifically about source-code that would compile and run on Ubuntu.

Let programmers/developers worry about "how". ;)

cheesehead wrote on the 2 Mar 08 at 03:52
The non-geek methods of adding and removing software are Add/Remove and Synaptic.

No worries about download locations, uncompressing, installation folders, missing dependencies, malware, etc. It just works.

Non-geeks savvy enough to seek source code are called...geeks.

Auzy wrote on the 2 Mar 08 at 04:29
if its source code aimed at ubuntu, i believe apt supports compiling anyway, so you would create a apt package.

its not really plausible at this time. Maybe when autoconf/automake take off more, it will be more plausible

allo wrote on the 2 Mar 08 at 13:32
The solution would be to make scripts, which help to compile a program. And its already there: apt-get source yourprogram gets you the source. then you do dpkg-buildpackage -rfakeroot to execute the buildhelper scripts, so you can build an ubuntu package with zero knowledge.

So whats your point?

-1

peterjs wrote on the 2 Mar 08 at 21:31
Why can't a user go to a website and download a deb package that already is a one click install?

If the project doesn't have a deb, then complain to the project, not Ubuntu. If the project doesn't want to build a deb package ask around the community to find somebody to maintain the package for you.

mujambee wrote on the 18 Aug 08 at 12:15
The fact is that many times there is no option but to compile the sources; the developer only gives you that sources.

A simple way of doing this could be a small tool that unpacks the tar you have just downloaded and searchs for a Makefile. If it finds it, it runs it (and pray everything is in place).

Moderator saivann (Moderator) wrote on the 2 Sep 08 at 02:17
I think that sources are not designed for un-experienced users and including such "auto compilation" tool in ubuntu would be a security thread (compilation means execution of code with make interpreter).

Under Windows and Mac Os X, can people download sources and compile/install with one click? No, that's what binaries are for IMO. Compilation is a process which requires temporary libraries, a good amount of time and that might fails.


Post your comment