SLS

 

HowTo Add Yast Package Repositories and Install Software Packages with Yast.


Steps

1) How to open a root shell
2) Adding installation sources
3) How to install a package from the commandline
4) How to to install a package from the YaST2 GUI (optional)

1) Open konsole(kde) or gnome-terminal(gnome)

Then change to user root by typing this:
su -

(don't forget the -)
then you will be prompted for the root password, enter it.

2) Adding installation sources

Ok, now the real meat
In this example we are gone install firefox 1.5.0.1

The firefox 1.5.0.1 packages are kept in a separate package, repository, let's add that repository where the new firefox packages are stored.
From the command-line, that can be done using the following command:
installation_sources -a http://ftp.belnet.be/packages/suse/projects/mozilla/experimental/10.0

-a means add and ftp.belnet.be is a very fast mirror in europe, you could use another one though, but for the sake of simplicity, just use belnet, as above ;)
When you type that command, it will take a few seconds to complete

3) How to install a package from the commandline

e.g. like this, from the command-line (still as root):
yast2 --install MozillaFirefox


4) How to to install a package from the yast2 GUI (optional)

1) start yast2
2) click the "Software Management" icon




Extra: HowTo Install MPlayer from commandline

1) start a terminal application (e.g. konsole if you're on KDE, or gnome-terminal if you're using GNOME)
2) switch to the root user, using the following command: su -
3) type the following command to add the packman repository to yast2's list of installation sources:
installation_sources -a http://packman.mirrors.skynet.be/pub/packman/suse/10.0

(as I suppose you're using SUSE Linux 10.0)
from the command-line, that would be:
yast2 --install MPlayer kaffeine w32-codec-all ffmpeg

And you are done!

Now if you want lots of other cool stuff, also add my repository:
installation_sources -a http://ftp.skynet.be/pub/suser-guru/rpm/10.0/

Adding those 2 repositories will give you a few thousands more packages and versions to install ;)
more yast2 repositories

Credits: guru :)

There are no comments on this page. [Add comment]


Warning: include(http://forums.suselinuxsupport.de/ssi.php?a=active) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/customers/webs/slwiki/actions/footer.php on line 51

Warning: include() [function.include]: Failed opening 'http://forums.suselinuxsupport.de/ssi.php?a=active' for inclusion (include_path='.:/home/customers/webs') in /home/customers/webs/slwiki/actions/footer.php on line 51

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0
Page was generated in 0.0247 seconds