Package Management/Smart
From openSUSE
Contents |
[edit]
Installing smart
In order to install smart, you must satisfy the dependencies: rpm-python and python-gtk for the smart gui. You can install smart via YaST, or other package managers such as apt or yum. Make sure you have your YaST sources set, or other package manager set, with the appropriate YaST, or yum, or apt repositories.
[edit]
Supported Sources
- RPM repositories
- RPM System Database (locally installed packages)
- APT repositories for .rpm
- YaST repositories (SuSE 9.3 and below (this is in testing))
- RPM-MD (used by YUM)
- Red Carpet (used by Ximian/Novell)
- RPM Header List (used by RedHat and Conectiva installation CDs, probably others)
- RPM Directory (a directory with a bunch of RPMs in it, no indexing required)
The complete list, of supported sources see here.
[edit]
Adding media
[edit]
Local CD
With smart, repositories are named channels. So the command to handle Installation Repositories is smart channel.
Add your SUSE Linux CDs as installation repository
| earth:~ # smart channel --add /media/cdrom |
|---|
[edit]
Local Hard Disk
Assuming you have copied the CDs or DVD to /dist/10.2:
smart channel --add 10.2 type=yast2 name=10.2 baseurl=/dist/10.2/
If you are syncing the updates to local harddrive:
smart channel --add 10.2_update type=rpm-md name=10.2_update baseurl=/dist/update/10.2/
[edit]
Network
The full ftp tree have some additional packages:
smart channel --add 10.2_full type=yast2 name=10.2 baseurl=http://download.opensuse.org/distribution/10.2/repo/oss/
[edit]
See Also
[edit]

