yea.. got that already..

nice explanation, I like it :)

thnx anyway :-)

Jemshi

On Tue, 2 Sep 2003 11:30:59 +0530, "Yashpal Nagar" <[EMAIL PROTECTED]>
said:
> Hi there,
>    Here is the list of "dpkg Vs rpm" comparison for command line basis.
> 
> #To see files in a package *not* installed ( i remeber it by c for
> contents)
> rpm -qpl package-name.rpm
> dpkg -c package-name.deb
> 
> #To install a package
> rpm -ivh package.rpm
> dpkg -i package.deb
> 
> # To remove a package
> rpm -e package.rpm
> dpkg -r package.deb
> 
> #To search for a file *belongs* to a package
> rpm -qf /path/to/filename
> dpkg -S /path/to/filename
> 
> #To list all packages installed
> rpm -ql
> dpkg -l
> 
> # To List the files in a installed package
> rpm -ql package.rpm
> dpkg -L package.deb
> 
> #To view status of a package
> rpm -qi package.rpm
> dpkg -s package.deb
> 
> 
> HTH
> /Yash
> 
> 
> ----- Original Message -----
> From: "murali" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 02, 2003 12:20 PM
> Subject: Re: [LIH]rpm and dpkg
> 
> 
> > Jemshi wrote:
> >
> > >Hi Everybody,
> > >
> > >I am new member here in this list :)
> > >
> > >Is there any command line option for dpkg that works like rpm -qlp ?
> > >
> > >
> > Yes try # dpkg --list > to see al the packages
> >                 dpkg --list |grep apache > to see if the [ackage apache
> > is installed
> >                  dpkg -i package name > to install
> > Murali
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > linux-india-help mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/linux-india-help
> >
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
-- 
Jemshad

@(-_-)@

"I know Karate, Kung Fu, and 47 other dangerous words"

-- 
http://www.fastmail.fm - Access your email from home and the web


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to