LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Syntax question (http://www.linuxquestions.org/questions/linux-newbie-8/syntax-question-101624/)

satimis 10-08-2003 08:49 AM

Syntax question
 
Hi all folks,

What will be the correct syntax to install aaa.noarch.rpm? Is it same as;

rpm -ivh aaa.noarch.rpm

Thanks in advance.

B.R.
satimis

jailbait 10-08-2003 10:05 AM

"What will be the correct syntax to install aaa.noarch.rpm?"

noarch simply means that the package will work on any computer architecture versus a package that works only on Intel 686 or DEC Alpha for example. You install a noarch package using the same rpm commands as you would for any other architecture.



___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

satimis 10-08-2003 11:23 AM

Quote:

Originally posted by jailbait
"What will be the correct syntax to install aaa.noarch.rpm?"

noarch simply means that the package will work on any computer architecture versus a package that works only on Intel 686 or DEC Alpha for example. You install a noarch package using the same rpm commands as you would for any other architecture.



___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Hi,

Noted. Thanks for your advice.

Do you know what will be the correct syntax to check md5sum of a packing. e.g.

$ md5sum -c shorewall-1.4.7-1.noarch.rpm.md5
md5sum: shorewall-1.4.7-1.noarch.rpm.md5: No such file or directory

$ md5sum -c shorewall-1.4.7.tgz.md5
md5sum: shorewall-1.4.7.tgz.md5: No such file or directory

the md5sum tag is in the same directory.

I have no idea what will be the correct syntax. It works for iso image.

B.R.
satimis

jailbait 10-08-2003 01:46 PM

" have no idea what will be the correct syntax. It works for iso image."

Try giving the complete path name.



$ md5sum -c /root/mydata/shorewall-1.4.7.tgz.md5



---------------------------------
Steve Stites

satimis 10-08-2003 09:33 PM

Quote:

Originally posted by jailbait
" have no idea what will be the correct syntax. It works for iso image."

Try giving the complete path name.



$ md5sum -c /root/mydata/shorewall-1.4.7.tgz.md5



---------------------------------
Steve Stites

Hi

I downloaded the package both in rpm and tgz format together with relevant md5sum file to the same folder. I can run

$ md5sum AAA.rpm

or

$ md5sum AAA.tgz

to compare their output against with the md5sum file. But

$ md5sum -c AAA.rpm.md5

and

$ md5sum -c AAA.tgz.md5

could not work.

I am looking whether there is a shortcut similart to

$ md5sum -c AAA.iso.md5

generating OK or NOT instead of comparing the output

B.R.
satimis


All times are GMT -5. The time now is 01:41 PM.