I can only recommend you to look into using Flatpak to install graphical applications. It avoids the whole dependency or permission issues because it ships apps in their own well tested little sandbox. From a end user perspective its somewhat similar to how applications are bundled on macOS.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
If there is a dependency problem in the upstream packages, then there is a bug in Ubuntu. This doesn't happen often, and isn't a good reason to go to Flatpak by itself. A bug should be filed upstream and it'll likely get fixed quickly.
There is likely no bug they are just confused. Simple tools help.
You're recommending Flatpak for users that are confused by packages?
Absolutely. No worry of dependencies, lower risk of harming system accidentally, more reproducible environment likely to work, less distribution specific details.
It is excellent for new users.
If the package manager leaves you with broken dependencies, a broken system, or a system that "doesn't work," then there are significant bugs in how the distro has packaged things. It happens, but seldomly.
Package managers aren't "hard." There are GUIs where you can search and install packages, even. In my opinion, if you have a Linux user that has avoided learning how package managers work, then they're skipping a core foundation of how to use their operating system.
While I agree, definitely you need Flatseal to change permissions at times.
There are many ways to install software on linux. Usually the distribution package manager will install things flawlessly with no extra work.
FlatPack, AppImage and Snap are all becoming common now. Most the time if you find yourself downloading a package from website, you might find it already on an app store.
Ubuntu's/Gnome's store app can look up ubuntu's snap and traditional repository, and public flatpack.
When you're setting up more advanced system tools, you will always have to tweak something. You're taking on a system administrator role in your own organization.
Thanks for the advice/encouragement. Awesome username BTW.
How are you installing apps?
Can you give an example of the issues you had with a specific app?
Last night I installed Sonarr through the built in snap store. It seemed to go well but when I tried to add a series it lacked the permissions to make the required directory. I am going to try to uninstall it and do it manually through the terminal as root unless someone can suggest a better way.
Well, that's an example of something that actually takes some knowledge to run. Sonarr is not a native linux app, and is really meant to be run on a server by somebody who already knows what they are doing with it. Then there's the issues with snap itself. On my plex server I manually installed sonarr and its dependencies and made my own systemd init file. Once running, updating through the webui seems to work ok, but I tend to use ansible to maintain everything.
This doesn't seem like normal behaviour at all. I would try a reinstall or another distro like Linux Mint and see if it persists. I doubt it will.
The other comments in here will probably be confusing to a new user. Your graphical package manager in a user-friendly distro like Ubuntu should just work, and if it doesn't, there is a problem with the install.
I second this. It doesn't sound right. Make sure you have downloaded from the official Ubuntu website and make a new usb and reinstall Ubuntu. It shouldn't do that.
Yes, it will get better over time. You are using an entirely new operating system. Things are different, but aren't that hard to learn.
My big tip for installing Linux is to use the package managers when possible. Every distro comes with at least one package manager, which can install many pieces of software. On Ubuntu, there are two: snap and apt. (Yes, this is confusing. Canonical is trying to change the way they package software, and it has made their distro harder to use).
Also, what kind of software are you installing that requires different permissions or ports? If you're trying to set up servers you many be better off with a different approach.
Try use Debian or Fedora Workstation... it's better..
As a desktop user, I find the Linux experience to be one of constant improvement and learning. First time I tried Linux it was hard. Very hard. Now I know what I want. That doesn’t mean I don’t get to know new things every now and then. So, yes, over time you’ll acquire new skills and knowledge to deal with problems
That’s part of what I like about linux. It’s rarely someone else’s fault it doesn’t work. It might be their fault it’s difficult, but if I learn enough I can fix it
Recently I installed POPOS! and it comes with popshop app store. Its bit laggy especially on startup, but installations are like search -> press install button -> done. Its so freaking simple and intuitive
Im also new in desktop linux and still didnt decide what is my main OS, but POP OS made me not look further. Didnt try gaming yet tho
Ubuntu kinda sucks from my experience with it, but it will be a learning curve
You do learn to deal with those kinds of issues pretty quickly eventually but at least at the moment you're realistically not going to have a completely seamless experience with desktop Linux for a while yet
You're probably better off going with snaps/appimages/flatpaks than apt-get I think because they come with all their dependencies
How are you trying to install things? Use the graphical package manager or apt. Don't just try to download things from wherever.
Also, maybe try Linux Mint instead of Ubuntu. Things there "just work", and the UI is more similar to what you are used to with windows.
I guess thats "thw Ubuntu experience". Ubuntu IS NOT general Linux. They do their own proprietary Snap thing, which may be liked by developers but is not the standard.
Flatpaks never have too little permissions, its more that they have too many.
Run unsnap from Github, its an awesome tool and actually makes Ubuntu usable
Thanks for the advice. I actually got it running last night.
[This comment has been deleted by an automated system]
I guess they have some selinux stuff implemented?
[This comment has been deleted by an automated system]
I use Ubuntu and install the very little I use through the Snap store. My Linux PC is for gaming with steam.
I have downloaded the Steam deb package from the steam website and it seems to launch the install through the Snap store app when I click on it.
MakeMKV has an app.
TeamViewer had a deb package
Some of the tools I needed were in the snap store.
I try to stick to the snap store if I can.
What were you trying to install?
I installed Sonarr. It was definitely through the graphical app manager
I'm using MX Linux, I try to avoid snap and flatpak...nothing like a good old .deb installing right away
Edit: nice to hear Debian bookworm and MX are actually up to date!
What are you talking about? MX23 is based on debian 12 “bookworm” which is a month old. It's using 6.4.4 kernel from last week. Please edit your message.
Crazyyy. This must be because of the stable fixing phase. Now everything is set and the distros will diverge some more again. On Fedora I am on Kernel 6.4.x too
I downloaded this from the graphical package manager
What did you download?
Sonarr
What happens when you try to start it?
It starts just fine. When I try to add a series to it, it shoot up an error that it cannot create the required directory. Even if I sudo the directory in manually it cannot write the files. I assume that it doesn't have write privileges but I lack the skills to find the appropriate service and change it's privileges.
Also, how are you starting it? I'm looking at the Arch package in the AUR (not your distro, but just looking), and I notice that it includes a .service file. This means that it would be started as a service, and not as a user, like you're probably attempting to do.
What directory is it trying to write to? Can you show us the full error, preferably as text and not a screenshot?
It is trying to create a new directory. I think it is under root but I am not sure. I will recreate the next time I am on it and post. Thanks for the help
It looks like sonarr is not in the official Ubuntu mirrors. The website mentions adding a new repo to apt. Is this what you did, or something else?
Hmmmmm....
I use apt and brew to install console applications and flatpak for GUI apps. Usually, there are no problems... (Debian user with KDE Plasma UI)...
E.g. I want to install Spotify on Linux...
I go to flathub and find it there: https://flathub.org/apps/com.spotify.Client
I copy the command from there and execute it: flatpak install flathub com.spotify.Client
Done. I can start it successfully.