software-properties already supports what you are asking for: sudo software-properties-gtk --enable-component multiverse sudo software-properties-gtk --enable-component backports Is this what you need?
software-properties already supports what you are asking for: properties- gtk --enable-component multiverse properties- gtk --enable-component backports
sudo software-
sudo software-
Is this what you need?