Is it possible to install the software boutique versions from a script? Once again, I'm rebuilding my system, this time with LTS for Tensorflow, and I've written an installation script I keep on github. I'd like to grab my software from that, just to save 15 minutes or so. Are the packges in the software boutique built better than the ones I can install with apt?
Not at the moment, but a parameter like this is on my wish list:
software-boutique --install=google-chrome
Software Boutique performs the same operations as Apt to install software, like adding a repository (PPA) and refreshing the cache. Packages obtained from Software Boutique are exactly the same as obtaining through any other method.
You can use Software Boutique's enormous applications JSON file to find out the sources used and add these as Apt commands to your script.
For example, Google Chrome uses an external repository:
"install-packages": "google-chrome-stable",
"pre-install": {
"all": {
"method": "manual",
"source-file": "google-chrome",
"apt-key-url": "http://dl.google.com/linux/linux_signing_key.pub",
"apt-sources": [
"deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main"
]
}
},
In a script, this would be installed as:
wget -q -O - http://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee -a /etc/apt/sources.list.d/google-chrome.list
sudo apt update
sudo apt install google-chrome-stable
Some use key servers instead of a URL, so in the index:
"apt-key-server": [
"keyserver.ubuntu.com",
"00000000"
],
The command would become:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 00000000
For PPAs - for example Mumble:
sudo add-apt-repository ppa:mumble/stable
sudo apt install mumble
And anything marked as "skip" in the index origins from the Ubuntu repository:
"pre-install": {
"all": {
"method": "skip"
}
},
sudo apt install chromium-browser
Thank you so much, @lah7 . That's great information!