LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-23-2008, 07:39 AM   #1
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Rep: Reputation: 37
rpm command and yast, compatible???


If i download an rpm file and use the rpm command to install from CLI, will YAST list the install or will it be unknown to YAST??
 
Old 11-23-2008, 07:43 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
If I am not mistaken, YAST is a GUI front-end for RPM. If that's true then YAST should see the result of installing with RPM.

Why not just try it and see?
 
Old 11-23-2008, 07:53 AM   #3
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by pixellany View Post
Why not just try it and see?
I will asap.....

After reading a bit... I found that people recommend using
Code:
yast -i
to
Code:
rpm -i
is it only resolution of dependencies that is the problem ???
 
Old 11-23-2008, 07:58 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
No clue...

My simple-minded approach: Within any given distro, use only one method of installing packages. For my current system (Arch), that's easy: Pacman has no GUI front-end.
 
Old 11-23-2008, 12:54 PM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
YaST is just a wrapper to RPM, and they store information in the same database. RPM cannot automatically resolve and fetch dependencies like YaST. In modern openSUSE releases, zypper gives you more flexibility and options that using YaST.
 
Old 11-24-2008, 12:53 PM   #6
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Original Poster
Rep: Reputation: 37
Now whats the difference between YAST and Zypper?? If i install somthing with zypper will that be reflected in YAST gui??
 
Old 11-26-2008, 04:58 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The package management GUI tools in openSUSE 10.3 and 11.x are simply frontends to zypper (its like apt, urpmi or yum). Zypper is the actual tool that interacts with RPM. You can use zypper in the command line, or simply use the YaST software management gui.
 
Old 11-27-2008, 09:36 AM   #8
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by reddazz View Post
The package management GUI tools in openSUSE 10.3 and 11.x are simply frontends to zypper (its like apt, urpmi or yum). Zypper is the actual tool that interacts with RPM. You can use zypper in the command line, or simply use the YaST software management gui.
Thats a little confusing....
So rpm is the command installing things, zypper is the front end to RPM and Yast is the GUI of Zypper???

Please can anybody explain..... i am very confused...


Quote:
Originally Posted by pixellany View Post
Why not just try it and see?
By the way things installed using rpm command IS reflected in YAST
 
Old 11-29-2008, 04:17 AM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Thats a little confusing....
So rpm is the command installing things, zypper is the front end to RPM and Yast is the GUI of Zypper???

Please can anybody explain..... i am very confused...
That sounds about right, so you are not confused. What happens is that Zypper provides a wrapper to RPM and it also adds features such as repository support and automatic dependency resolution. The reason why Zypper is needed is because it adds features to RPM that were not originally built into it. These features and others are provided by tools such as Zypper, apt4rpm, urpmi, yum etc. YaST basically is just a GUI that tells Zypper (and therefore RPM) what you want to do, but if you use Zypper itself (in the command line) you have access to more options than you have if you use YaST.

Last edited by reddazz; 11-29-2008 at 04:28 AM. Reason: add more info
 
Old 11-30-2008, 12:15 PM   #10
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Original Poster
Rep: Reputation: 37
Thanks for the explanations...... appreciate a lot...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yast errors, tried to use rpm command but it cant find libs newtovanilla SUSE / openSUSE 4 05-03-2008 11:25 PM
Is RPM or DEB compatible with all systems? calande Linux - Software 6 02-14-2007 05:15 PM
How can I get the rpm command and rpm build command on my Debian box? abefroman Debian 6 11-28-2005 12:38 PM
Yast and rpm locations SlowMindThinkin SUSE / openSUSE 3 11-30-2004 02:19 AM
Newbie problem: Starting YAST gives me "-bash: yast: command not found". cattleya Linux - Software 9 11-20-2003 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration