Help Required Installing .deb package


Forum: Apps
Topic: Help Required Installing .deb package
started by: sword

Posted by sword on July 24 2005,21:30
I hope someone can help, been through the forums and printed off the pdfs. But just don't feel comfortable that I've managed to piece together reliable information (given my inexperience).

I have downloaded BitDefende.xxxx.xxxx.deb from BitDefender and now would like to install it. Along the way I've managed to get some info on Apt-get etc.

But it appears that it would not apply in my case - as BitDefender does not feature in the Debian 'approved' list (or is it 'repository'?) - yet.

So given I have the the .deb file downloaded, how do I install it?

Posted by mikshaw on July 25 2005,00:53
sudo dpkg -i BitDefende.*.deb

You probably should have gnu-utils installed first

Posted by sword on July 25 2005,02:03
Thank you for your help. It worked.
Posted by sword on July 27 2005,14:07
Sorry - I thought I'd done with this, a slight hiccup:

Having successfully loaded it and working, there appears to be a problem in running it from within 'emelfm'.

I right-clk on the program and then using Execute with Arguments I try '--update' , and it returns message as if the action is successfully completed.

However nothing is updated, it simple reports 'no updates' or similar. But repeating the process by running it in XTerminal eg 'bdc --update', it works perfectly, visibly downloading all the updates.

Similarly when I run it from 'emelfm' by running it in 'xterm with Arg', the Bash appears momentarily and then disappears. No updates are received.

Is there a problem with the script when running from 'emelfm'?

Posted by mikshaw on July 27 2005,15:12
Does it require root power to run it?  The Emelfm shell may be owned by dsl, which would prevent anything from running that needs root access.  If this is the case, you are really better off using a terminal (especially since you already know it works)...running commands as root from a GUI  file manager can cause big troubles.  In fact, running any GUI application as root can be a bad idea.
Posted by sword on July 27 2005,18:52
Thanks - as you recommend I will avoid using 'root'.

Are you aware of any tools I could use to generate a UI and script for launching the application? Will your icon builder be useful for this purpose?

Again thanks for you help.

Posted by mikshaw on July 27 2005,19:25
If you want to launch something from an icon, just about any command can be done that way.  Since this is a commandline program, it will need to be run in a terminal.  If you are in X this would be an X terminal (aterm in DSL 1.3, rxvt prior to 1.3).
The command could be something like this:
aterm -e bdc --update
or if it needs root:
aterm -e sudo bdc --update

As far as an interface, that would require a bit of scripting, unless someone has built one already.  Lua FLTK is a perfect way to build simple interfaces in DSL, but it requires Lua scripting knowledge...it is not a UI generator.  Most of the DSL-specific gui tools in DSL are LuaFLTK scripts.

One thing you might notice is the behavior of term applications depending on how they are started.  If you open a shell and then launch a program, the shell will stay open.  If you open a shell with a program as an argument (aterm -e something), the shell will immediately close after the program finishes.  This might actually be what is happpening from emelfm, but i couldn't say for sure unless I saw what was happening.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.