Deploy Component (.deb) to Ubuntu

See what other community members have asked about the product or write here your own queries. The experts will help you out!
Post Reply
User avatar
unyu123
Registered user
Registered user
Posts: 35
Joined: Mon, 06 Jan 2014, 06:24
Location: secret

Deploy Component (.deb) to Ubuntu

Post by unyu123 » Mon, 10 Nov 2014, 04:23

hi all :)

I have a debian package (.deb) that need to be installed on my ubuntu via PCSM.
if I want to install my *.deb via terminal:

Code: Select all

sudo dpkg -i *.deb
then I need to input the super user/root password, it means i need to type the command and then type the password


the question is:
how about the script to execute that package with root permission in one line via PCSM? is there any reference?


thanks in advance,

BR,
unyu123
icikiprit~~

User avatar
bartblaze
Registered user
Registered user
Posts: 158
Joined: Thu, 04 Apr 2013, 13:56
Contact:

Re: Deploy Component (.deb) to Ubuntu

Post by bartblaze » Fri, 14 Nov 2014, 15:44

Hi unyu123,

Unfortunately there's no reference available for this.

Can you try testing by performing a chmod +x on the package?

Code: Select all

chmod +x package.deb
Regards
Twitter: @bartblaze
Personal blog: http://bartblaze.blogspot.com

User avatar
unyu123
Registered user
Registered user
Posts: 35
Joined: Mon, 06 Jan 2014, 06:24
Location: secret

Re: Deploy Component (.deb) to Ubuntu

Post by unyu123 » Mon, 24 Nov 2014, 11:16

bartblaze wrote:Hi unyu123,

Unfortunately there's no reference available for this.

Can you try testing by performing a chmod +x on the package?

Code: Select all

chmod +x package.deb
Regards

thanks for your reply Bartblaze, but my question is how to run a command with root password (at once in one line)?

after doing some search, I use this command for running .deb installation:

Code: Select all

echo <rootpassword> | sudo -S dpkg -i package-name.deb
its effective enough to run the installation command with root password at once. case closed.

BR,
oenyoe :D
icikiprit~~

User avatar
bartblaze
Registered user
Registered user
Posts: 158
Joined: Thu, 04 Apr 2013, 13:56
Contact:

Re: Deploy Component (.deb) to Ubuntu

Post by bartblaze » Mon, 24 Nov 2014, 13:30

Hi unuy,

I thought you were referencing to PCSM, not on how to run the component as root by itself ;)

Thanks for your feedback!

Regards
Twitter: @bartblaze
Personal blog: http://bartblaze.blogspot.com

Post Reply

Return to “SM - Issues”