Hi,
Can anyone perhaps given me a bit of information on how Linux deals with software and updates etc. please?
I have read as much as I could on the subject and have become a bit confused.
As far as I can tell, distros come with standard repositories of hardware.
Therefore, if software is part of this repository, you can install it via
Code:
sudo apt-get install x
Once it is installed,
Code:
sudo apt-get update
will update the repository, indicating whether there are version of security updates are available.
Code:
sudo apt-get upgrade
will then apply these changes.
PPAs are non-official repositories that can be added, to offer additional software. Once installed, this additional software can also be updated via the update/upgrade commands.
Is all this correct so far?
If so, I have a few further questions:
1. I note that there is an additional way of installing software - via a binary package that you can download and install (similar to Windows). If I install software in this way, does it automatically get added to the repository list so the software can automatically be kept up-to-date?
2. When adding, repositories, I note that there tends to be a repository address that gets added to the repository list and also a key.
Examples if two programs that I am interested in but not in my official Debian repository:
TVHeadend -
https://tvheadend.org/projects/tvhea.../AptRepository
and
Emby -
https://software.opensuse.org/downlo...ge=emby-server
Am I correct in thinking, therefore, that:
Code:
echo "deb https://dl.bintray.com/tvheadend/deb xenial stable-4.2" | sudo tee -a /etc/apt/sources.list
and
Code:
echo 'deb http://download.opensuse.org/repositories/home:/emby/Debian_8.0/ /' > /etc/apt/sources.list.d/emby-server.list
are the processes that are adding the additional repositories to my repository list and that
Code:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
and
Code:
wget -nv http://download.opensuse.org/repositories/home:emby/Debian_8.0/Release.key -O Release.key
apt-key add - < Release.key
are two different methods of installing keys that ensure that only valid updates are made to the software?