sudo allows you to pass a password to the shell with -S
The following should do it.
sudo -S apt-get install PACKAGENAME << EOF
PASSWORD
EOF
Regards
Les Hardy
M. Cs. wrote:
> I'd like to make my app able to download and install packages via apt-get
> (or any other command-line package manager)
Ok Benoit, Thank you very much.
-Mensaje original-
De: Benoît Minisini
Reply-to: mailing list for gambas users
Para: mailing list for gambas users
Asunto: Re: [Gambas-user] Dinamic Libraries unused with ldd
Fecha: Thu, 24 Dec 2009 17:36:07 +0100
> Hello
>
> I'm seeing the dynamic l
Benoît Minisini ha scritto:
>> Doriano Blengino ha scritto:
>>
>>> Jesus Guardon ha scritto:
>>>
>
> SHELL is just an equivalent of EXEC ["sh", "-c", "XXX"] where "XXX" is
> the string passed to the SHELL command.
>
>>> je...@jesus:~$ cat /usr/local/b
Le jeudi 24 décembre 2009 17:33:56, Benoît Minisini a écrit :
> > > Le jeudi 24 décembre 2009 16:27:14, Charlie Reinl a écrit :
> > > > gambas3 Revision: 2514
> > > > does not compile for me , fails at reconf
> > > >
> > > > Charlie
> > >
> > > I guess it's because the m4/ltversion.m4 is missing..
> Doriano Blengino ha scritto:
> > Jesus Guardon ha scritto:
> Hi again
>
> Continuing my testings on GB_DIR, I'm running into a new problem:
> SHELL command has no effect at all. All sentences using SHELL are not
> executed. As you can guess, running my project executable
> Hello
>
> I'm seeing the dynamic libs that depends gbx2 file.
>
> For that I use:
>
> $ ldd / usr/local/bin/gbx2.
>
> The result gives me is:
>
> linux-gate.so.1 => (0xb8033000)
> libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7ff3000)
> libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7fef00
> > Le jeudi 24 décembre 2009 16:27:14, Charlie Reinl a écrit :
> > > gambas3 Revision: 2514
> > > does not compile for me , fails at reconf
> > >
> > > Charlie
> >
> > I guess it's because the m4/ltversion.m4 is missing There is really a
> > big differences between libtool 1.5.x and 2.x ! Do
> Le jeudi 24 décembre 2009 16:27:14, Charlie Reinl a écrit :
> > gambas3 Revision: 2514
> > does not compile for me , fails at reconf
> >
> > Charlie
>
> I guess it's because the m4/ltversion.m4 is missing There is really a
> big differences between libtool 1.5.x and 2.x ! Does the file is
Le jeudi 24 décembre 2009 16:27:14, Charlie Reinl a écrit :
> gambas3 Revision: 2514
> does not compile for me , fails at reconf
>
> Charlie
>
I guess it's because the m4/ltversion.m4 is missing There is really a big
differences between libtool 1.5.x and 2.x ! Does the file is present ?
W
gambas3 Revision: 2514
does not compile for me , fails at reconf
Charlie
Remember to add `AC_PROG_LIBTOOL' to `configure.ac'.
You should update your `aclocal.m4' by running aclocal.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autore
10 matches
Mail list logo