Are PPA's still a thing or are they frowned upon now?
Hi.
I'm just wondering if PPA's will be in the exam eg how to set one up?
Are they old hat now due to snaps and flatpack?
Comments
-
Hi @WarrenUK ,
Are they old hat now due to snaps and flatpack?
I think they are becoming or will become old hat perhaps in the next few years. When we refer to PPAs, we are talking about third party software that's not available through the main official repos. For another hand, Snap (powered by Ubuntu) and Flatpak (powered by Red Hat) are a kind of new way to package software. And in fact, Ubuntu 20.04 has snap installed by default. So, we can say there is a strong intent to move to a more standard way to package and deliver software for Linux distros, and that implies that the standard ways to install software will be replaced soon or later.
Now, Flatpak is intented for desktop applications. So try to search for any server software on the Flathub and see if you find anything: https://flathub.org/home .
Some of the server software seems to be on Snap; you also can take a look here: https://flathub.org/home .
I hope that helps
Luis.
0 -
The easy way to deal with Snap is to remove it completely, which I have done on all machines I maintain. It is only one or two lines at the command prompt. It is impossible to remove Flatpack from RHEL or CentOS or Fedora, but it is easy to avoid using it (Ubuntu pushes you into snap by default). The death of old-fashioned apt and rpm has often been announced but I don't see it any time soon. (One reason I ignore snap is it doubles the (compressed) size of the virtual machines I maintain, even if you prune it down.)
As you might expect this is a holy war and while there are obvious purported advantages to snap (use of the snap package on multiple operating systems for example, although I have yet to see that realized), and independence on other vendor's libraries and packages (avoid DLL hell etc), I'm not a fan. You are welcome to have a different attitude of course!
As to whether setting up a ppa or rpm repository would be on the exam, I would doubt it, but exam questions should be directed to the exam people as we do not write the exams. In general the exams try to stay clear of things which work on only one distribution (say netplan) but obviously you can't ignore packaging which is essential as well as different on distros.
Anyway, PPA's are not old hat. yet and not for along time IMHO.
0 -
Call me old-fashioned but I am not too fond of these kind of install options. Imo, the philosophy of Linux always was to have shared libraries and not pack them with each and every new application you install. This is asking for security problems when some rogue and obscure application gets downloaded with 'alternative' libraries.
As long it is possible I will stick to having 'traditional' repositories.0 -
As I said earlier in the thread, it is still a valid concern but tastes have changed. On Ubuntu-based distributions they provide "snap" . Personally I think it is a disease and you can still kill its use with basically a one line command:
sudo rm -rf /var/cache/snapd sudo apt autoremvove --purge snapd gnome-software-plugin-snap
Every byte will be gone and this is true through Ubuntu 20.04 (Future?)
flatpak is harder to remove from Fedora as they made it more of a hard dependency to keep, but use of it does not seem to be on by default (unlike snap on Ubuntu).
So while I am not a fan of these methods, they are not going to disappear. Likewise normal apt, and rpm are not going to disappear.
Keep in mind containers also suffer from security problems as they are self-contained units whose constituents may or may not be up to date or secure -- I have seem many talks on this problem with people sounding alarms and not being satisfied with the response -- very few containers get the kind of security audits a full distribution or VM would get.
As far as external repositories go, whether they are ppa or rpm repos etc, there are always going to be things not provided for distros for whatever reasons and I don't see them disappearing. And there will always be some incompatibilities or collisions and missing things etc. I find them much less than there used to be and it's best to restrict the usage as much as you can.
0 -
For your information, Linux Mint - a Ubuntu derivative - does not install snapd by default. I also hate snap - it looks like bloatware.
$ apt list snap* Listing... Done snap-aligner/focal 1.0~beta.18+dfsg-3build1 amd64 snap-confine/focal-updates 2.46.1+20.04 amd64 snap-templates/focal 1.0.0.2-3build2 amd64 snap/focal 2013-11-29-9 amd64 snapclient/focal 0.18.1-1build1 amd64 snapcraft-examples/focal,focal 3.0ubuntu1 all snapcraft-parser/focal,focal 3.0ubuntu1 all snapcraft/focal,focal 3.0ubuntu1 all snapd-glib-tests/focal 1.57-0ubuntu3 amd64 snapd-glib-tests/focal 1.57-0ubuntu3 i386 snapd-xdg-open/focal-updates 2.46.1+20.04 amd64 snapd/focal-updates 2.46.1+20.04 amd64 snaphu/focal 2.0.3-1 amd64 snapper-gui/focal,focal 0git.960a94834f-3 all snapper/focal 0.8.6-1build1 amd64 snapserver/focal 0.18.1-1build1 amd64
0 -
Mint is different enough from Ubuntu that I no longer devote any of my time with it as far as support, l just tell people it probably works. I don't want to get into a holy war about it and if it floats your boat fine, but I keep hearing from people that dump it and go over to debian or ubuntu for hopefully better maintenance and not trying to hold onto older desktop versions.
0 -
@coop said:
Mint is different enough from Ubuntu that I no longer devote any of my time with it as far as support, l just tell people it probably works. I don't want to get into a holy war about it and if it floats your boat fine, but I keep hearing from people that dump it and go over to debian or ubuntu for hopefully better maintenance and not trying to hold onto older desktop versions.Thanks for the information. I wasn't trying to start a holy war, merely pointing out that this specific Ubuntu derivative doesn't use snap by default. I'm currently running Manjaro (Arch Linux derivative) on my main system and Linux Mint 20 on my second PC. I have plenty of Ubuntu 18.04 VMs as well as Centos 8 VMs and a Opensuse 15.1 to do all the exercises. Virtualization makes things very easy.
0
Categories
- All Categories
- 167 LFX Mentorship
- 219 LFX Mentorship: Linux Kernel
- 795 Linux Foundation IT Professional Programs
- 355 Cloud Engineer IT Professional Program
- 179 Advanced Cloud Engineer IT Professional Program
- 82 DevOps Engineer IT Professional Program
- 127 Cloud Native Developer IT Professional Program
- 112 Express Training Courses
- 112 Express Courses - Discussion Forum
- 6.2K Training Courses
- 48 LFC110 Class Forum - Discontinued
- 17 LFC131 Class Forum
- 35 LFD102 Class Forum
- 227 LFD103 Class Forum
- 14 LFD110 Class Forum
- 39 LFD121 Class Forum
- 15 LFD133 Class Forum
- 7 LFD134 Class Forum
- 17 LFD137 Class Forum
- 63 LFD201 Class Forum
- 3 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 1 LFD233 Class Forum
- 2 LFD237 Class Forum
- 23 LFD254 Class Forum
- 697 LFD259 Class Forum
- 109 LFD272 Class Forum
- 3 LFD272-JP クラス フォーラム
- 10 LFD273 Class Forum
- 152 LFS101 Class Forum
- 1 LFS111 Class Forum
- 1 LFS112 Class Forum
- 1 LFS116 Class Forum
- 1 LFS118 Class Forum
- LFS120 Class Forum
- 7 LFS142 Class Forum
- 7 LFS144 Class Forum
- 3 LFS145 Class Forum
- 1 LFS146 Class Forum
- 3 LFS147 Class Forum
- 1 LFS148 Class Forum
- 15 LFS151 Class Forum
- 1 LFS157 Class Forum
- 33 LFS158 Class Forum
- 8 LFS162 Class Forum
- 1 LFS166 Class Forum
- 1 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 1 LFS178 Class Forum
- 1 LFS180 Class Forum
- 1 LFS182 Class Forum
- 1 LFS183 Class Forum
- 29 LFS200 Class Forum
- 736 LFS201 Class Forum - Discontinued
- 2 LFS201-JP クラス フォーラム
- 14 LFS203 Class Forum
- 102 LFS207 Class Forum
- 1 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 301 LFS211 Class Forum
- 55 LFS216 Class Forum
- 48 LFS241 Class Forum
- 42 LFS242 Class Forum
- 37 LFS243 Class Forum
- 15 LFS244 Class Forum
- LFS245 Class Forum
- LFS246 Class Forum
- 50 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- LFS251 Class Forum
- 154 LFS253 Class Forum
- LFS254 Class Forum
- LFS255 Class Forum
- 5 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.3K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 111 LFS260 Class Forum
- 159 LFS261 Class Forum
- 41 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 20 LFS267 Class Forum
- 24 LFS268 Class Forum
- 29 LFS269 Class Forum
- 1 LFS270 Class Forum
- 199 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- LFS274 Class Forum
- 3 LFS281 Class Forum
- 9 LFW111 Class Forum
- 260 LFW211 Class Forum
- 182 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 782 Hardware
- 198 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 83 Storage
- 743 Linux Distributions
- 80 Debian
- 67 Fedora
- 15 Linux Mint
- 13 Mageia
- 23 openSUSE
- 143 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 348 Ubuntu
- 461 Linux System Administration
- 39 Cloud Computing
- 70 Command Line/Scripting
- Github systems admin projects
- 90 Linux Security
- 77 Network Management
- 101 System Management
- 46 Web Management
- 64 Mobile Computing
- 17 Android
- 34 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 371 Off Topic
- 114 Introductions
- 174 Small Talk
- 19 Study Material
- 507 Programming and Development
- 285 Kernel Development
- 204 Software Development
- 1.8K Software
- 211 Applications
- 180 Command Line
- 3 Compiling/Installing
- 405 Games
- 309 Installation
- 97 All In Program
- 97 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)