Is there a way to add repositories through the terminal?
Is there a way to add repositories through the terminal? And if so, what would I need to enter? I'm trying to make a script that'll add the repositories of my choice into YaST with a single click and script.
|
Yes there is:
I found the easiest way to add a new source rather than doing it in YAST was to use a terminal. Open a terminal as root then type: installations_sources -a your source URL then hit enter |
Quote:
|
Yeqah I found it on the suse wiki. I thought it was pretty cool. Every time I tried to add a source in Yast it gave me errors. Used the terminal and it worked with no problems.
|
Quote:
What do you guys think about this script? Code:
#!/bin/bash |
Sorry about this:
Hi craigevil - could you write me an email? I'm at ea4049@bris.ac.uk I can't PM you because you have to pay to use that function... Sorry about hijacking this thread... Riddick |
Quote:
SuSE links I found helpful: Main Page - SUSE Wiki Resources for New SUSE Linux Users apt for suse Install-apt4suse - SUSE Wiki User Documentation - OpenSUSE Additional YaST Package Repositories - OpenSUSE BTW I am not running SUSE at the moment. I bombed my setup and have not taken the time to reinstall. I might just wait for the OpenSuSE RC in September. |
All times are GMT -5. The time now is 06:05 AM. |