warsong Asked: 2015-04-28 00:27:45 +0800 CST2015-04-28 00:27:45 +0800 CST 2015-04-28 00:27:45 +0800 CST Is it possible to add multiple software sources at the same time? 772 Is it possible to add multiple software sources through the command-line or the GUI? software-sources 2 Answers Voted Best Answer Jacob Vlijm 2015-04-28T00:46:10+08:002015-04-28T00:46:10+08:00 add-apt-repository accepts only one argument, but you can use: for rep in {<ppa_1>,<ppa_2>,<ppa_3>}; do sudo add-apt-repository $rep; done Pavol Polacko 2015-04-28T00:44:29+08:002015-04-28T00:44:29+08:00 It is possible using a script file. #!/bin/sh sudo add-apt-repository ppa:gwibber-daily/ppa sudo add-apt-repository ppa:wrinkliez/ppasearch Write these in a file (for example script.sh), make it executable and run it.
add-apt-repository
accepts only one argument, but you can use:It is possible using a script file.
Write these in a file (for example
script.sh
), make it executable and run it.