The script has been specifically configured to create the four basic Packman repositories for openSUSE 12.2 & 12.1 as well as for the 5 basic openSUSE 12.2 & 12.1 repositories, but it could be modified for use with other openSUSE repositories.
Please keep in mind just how large some of these repositories could be and just how long it might take you to download everything that might be online. None the less, it might be used to download all of Packman, when you have access for use later while you are offline. Version 1.20 now includes four repository groups. S.L.R.C. works with openSUSE 12.2! After a repository update, you get instructions on how to use the local repository you have created:
SuSE Local Repository Creator has been enhanced to create a KDE Desktop and Application menu icon for you when first run. Settings to disable or enable this feature now exist at the top of this bash script. Copy and Paste the text of this script into a text editor and save it as the file slrc in your home area bin folder (~/bin/slrc). The script has become too large to be posted in a message here and is now included in SUSE Paste.
Open the above Link in a new Tab. Select the Download option in the top right and then select Open With Kwrite or other text editor and then save the bash script text file as ~/bin/slrc. It is possible to directly download slrc using the following terminal command (You must delete or rename the old version first):
wget -nc http://paste.opensuse.org/view/download/89529032 -O ~/bin/slrc
Save this bash script as the text file slrc in the folder ~/bin (/home/username/bin). This script must be marked executable to be used. Please run the following Terminal command:
chmod +x ~/bin/slrc
It is even possible to string all three of these commands together as one. Copy the following command, open up a terminal session, paste it in and press enter:
rm ~/bin/slrc ; wget -nc http://paste.opensuse.org/view/download/89529032 -O ~/bin/slrc ; chmod +x ~/bin/slrc
To use slrc, just open a terminal session and type in the command:
This bash script uses both local and online folder names. Do not add a trailing slash / as it will always be added in for you if required. Did you know that you can write the repositories to a DVD for use later while offline? The present Packman repositories might still fit totally on a 4.7 GB DVD. If you have a version of openSUSE about to go out of support? I suggest you get the Packman repositories before it is too late and save to a DVD.
If you have any questions about the usage of this bash script, please let me know,
Blogs: asroot : Bash : Packet Filter : C.F.U. : GPU’s : fewrup : F.S.M. : H.I. : nVIDIA : LNVHW : N.S.F. : S.A.K.C. : MMCHECK
S.A.S.I. : S.C.L.U. : S.G.T.B. : S.K.I.M. : S.L.A.V.E. : S.L.R.C. : S.T.A.R.T. : S.U.F.F. : SYSEdit : systemd : YaST Power