Inquiry:How to add a command to Debian server ?

View: New views
4 Messages — Rating Filter:   Alert me  

Inquiry:How to add a command to Debian server ?

by hadi motamedi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear All
Can you please do me favor and let me know how can I add a command to my Debian server ? Please be informed that I found on the web that if I can find the new command rpm package , then I can try to add it as the followings :
#rpm -i ./package.i386.rpm
It seems that the link at www.pbone.net contains the rpm packages for most distro , except for the Debian . Can you please let me have the link to try for adding a command (like dmidecode) to my Debian server ?
Let me thank you in advance
 

Re: Inquiry:How to add a command to Debian server ?

by Juha Tuuna :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hadi motamedi wrote:
> ...
> please let me have the link to try for adding a command (like dmidecode)
> to my Debian server ?
> Let me thank you in advance


sudo aptitude install dmidecode
If aptitude is not installed, try apt-get instead.
For future needs, try apt-cache search your-favourite-program-here

--
Juha Tuuna


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Inquiry:How to add a command to Debian server ?

by Ken Teague-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hadi motamedi wrote:

> Dear All
> Can you please do me favor and let me know how can I add a command to
> my Debian server ? Please be informed that I found on the web that if
> I can find the new command rpm package , then I can try to add it as
> the followings :
> #rpm -i ./package.i386.rpm
> It seems that the link at www.pbone.net <http://www.pbone.net/>
> contains the rpm packages for most distro , except for the Debian .
> Can you please let me have the link to try for adding a command (like
> dmidecode) to my Debian server ?
> Let me thank you in advance
>  
You should try to avoid installing software that is not in .deb format.  
As Juha stated, use apt-cache search to see if there's already a Debian
package for it.  If there's not, I'd suggest installing the program from
source before installing an RPM or whatnot.  If you have no other choice
than to install an RPM, you can use "alien" to install it.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Inquiry:How to add a command to Debian server ?

by Jochen Schulz-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hadi motamedi:
>
> Can you please do me favor and let me know how can I add a command to my
> Debian server ? Please be informed that I found on the web that if I can
> find the new command rpm package , then I can try to add it as the
> followings :
> #rpm -i ./package.i386.rpm

This advice applies to RPM-based distributions like RedHat, Suse etc.
Debian has its own package format (.deb).

> It seems that the link at www.pbone.net contains the rpm packages for most
> distro , except for the Debian . Can you please let me have the link to try
> for adding a command (like dmidecode) to my Debian server ?

You should read the Debian reference, especially chapter 2:

http://www.debian.org/doc/manuals/debian-reference/

Otherwise you are likely to mess up your system soon.

J.
--
I am not scared of death but terrified of people in Tommy Hilfiger
sweatshirts.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>


signature.asc (204 bytes) Download Attachment