this post was submitted on 17 Aug 2023
28 points (83.3% liked)

Linux

56288 readers
1825 users here now

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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
28
submitted 2 years ago* (last edited 2 years ago) by Skotimusj@lemmy.ml to c/linux@lemmy.ml
 

About a week ago I setup Ubuntu as my primary OS on an old machine. It is my first time trying a unix based OS (previously windows). It has been ok, but it seems like every time I try to install something I run into problems. The app has the wrong permissions or I don't have the right packages or I need to change port settings ect... I was expecting a learning curve but I wanted to know if this is something I should expect to be a long term issue or if I will aquire the skills to side step stuff like this over time?

Update* I got it working. Last night I reinstalled it and figured it out. Two issues. On initial install I failed to update one of the packages needed. I also assigned the service to a group without the required permissions. On reinstall I rectified both of these issues and it works flawlessly. Thanks all for your help and input (and ignoring typos in the title)!

all 31 comments
sorted by: hot top controversial new old
[–] ikidd@lemmy.world 20 points 2 years ago* (last edited 2 years ago) (1 children)

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.

[–] danielfgom@lemmy.world 8 points 2 years ago

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.

[–] 1993_toyota_camry@beehaw.org 12 points 2 years ago (1 children)

How are you installing apps?

Can you give an example of the issues you had with a specific app?

[–] Skotimusj@lemmy.ml 3 points 2 years ago (1 children)

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.

[–] knobbysideup@lemm.ee 5 points 2 years ago* (last edited 2 years ago)

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.

[–] Qvest@lemmy.world 6 points 2 years ago (1 children)

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

[–] captainlezbian@lemmy.world 3 points 2 years ago

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

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.

[–] garam@lemmy.my.id 4 points 2 years ago (1 children)

Try use Debian or Fedora Workstation... it's better..

[–] Shareni@programming.dev 3 points 2 years ago

Debian is not really meant for end users, even less so for users who are new to Linux. Mint on the other hand is a Debian derivative that I'd recommend to beginners.

I'm still having flashbacks to previous Debian version and spending 4+ hours searching for packages that Debian decided to call differently, and compiling dependencies of dependencies to compile Emacs that wasn't like 2 major versions out of date.

[–] knobbysideup@lemm.ee 3 points 2 years ago* (last edited 2 years ago)

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 (Cinnamon Edition) instead of Ubuntu. Things there "just work", and the UI is more similar to what you are used to with windows.

[–] skullgiver@popplesburger.hilciferous.nl 3 points 2 years ago* (last edited 2 years ago) (1 children)

[This comment has been deleted by an automated system]

[–] Pantherina@feddit.de 1 points 2 years ago (1 children)

I guess they have some selinux stuff implemented?

[–] skullgiver@popplesburger.hilciferous.nl 1 points 2 years ago* (last edited 2 years ago)

[This comment has been deleted by an automated system]

[–] rambos@lemm.ee 2 points 2 years ago

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

[–] vahirua@lemmy.world 2 points 2 years ago (1 children)

It doesn't seem like normal behaviour, I don't think it is anything wrong with Ubuntu though. It is a fine distro all in all. If I get into problems when installing something it is often because I haven't found the "official" install method for that specific package. For Ubuntu that's normally an apt package or a snap. I find snaps a little harder to get to grips with since they are sandboxed and a bit more unfamiliar for a middle aged man as myself. But keep from googling for "how to install xyz" and always start from the official app store/apt install If you still get errors, do a fresh OS install and try again just to check if something went wrong during the setup

[–] Skotimusj@lemmy.ml 1 points 2 years ago

This is good advice. I did try to follow the "official" install for this one. When I Google "how to install" all the instructions are different and like 5 years old so they are outdated.

[–] Skotimusj@lemmy.ml 2 points 2 years ago (1 children)

I downloaded this from the graphical package manager

[–] Synthead@lemmy.ml 2 points 2 years ago (1 children)
[–] Skotimusj@lemmy.ml 2 points 2 years ago (2 children)
[–] Synthead@lemmy.ml 2 points 2 years ago (1 children)

What happens when you try to start it?

[–] Skotimusj@lemmy.ml 1 points 2 years ago (2 children)

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.

[–] Synthead@lemmy.ml 1 points 2 years ago

What directory is it trying to write to? Can you show us the full error, preferably as text and not a screenshot?

[–] Synthead@lemmy.ml 1 points 2 years ago

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.

[–] Synthead@lemmy.ml 1 points 2 years ago* (last edited 2 years ago)

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?

https://sonarr.tv/#downloads-v3-linux

[–] flashgnash@lemm.ee 2 points 2 years ago

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

[–] Pantherina@feddit.de 1 points 2 years ago (1 children)

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

[–] Skotimusj@lemmy.ml 2 points 2 years ago

Thanks for the advice. I actually got it running last night.

[–] Frederic@beehaw.org 0 points 2 years ago (1 children)

I'm using MX Linux, I try to avoid snap and flatpak...nothing like a good old .deb installing right away

[–] Pantherina@feddit.de 1 points 2 years ago* (last edited 2 years ago)

Edit: nice to hear Debian bookworm and MX are actually up to date!