this post was submitted on 26 Apr 2024
-74 points (10.6% liked)

Linux

48328 readers
613 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 5 years ago
MODERATORS
 

I wanted to install jackett and sonarr, they are complicated to use as is, moreover I am using Ubuntu. I am following fuidleine for installing jackett with STUPID command line making it EXTRA difficult. But now I have to change directory ownerships and what nots. I am the ONLY user on this machine. I want to own everything by default I am root I am admin I am user I am all. How do I make this happen instead of sending stupid commands all the time and making using Linux EASY. Before anyone getting on about Security I don't give 2centa about it .I just want to use and install and do whatever I wish.

How do I make this happen Forever, once inför all.

all 22 comments
sorted by: hot top controversial new old
[–] Scipitie@lemmy.dbzer0.com 32 points 7 months ago

Two more things to add: you get downvoted not for the content but for the tone. People tend to not respond well to abuse, even if verbal - and at least I read a "make this shit work for me" in between your lines.

And more important: what you are asking is not easy. Wouldn't be on windows, wouldn't be on macos (disclaimer: I've never set up the arr stack on either but docker runtimes) . You are diving into server software no matter if you're the only user or not. Either you accept this and the learning curve ahead of you or you give up on it.

[–] somethingsomethingidk@lemmy.world 24 points 7 months ago (1 children)

I am root I am admin I am user I am all.

Holy shit I almost died

[–] TheCheddarCheese@lemmy.world 23 points 7 months ago* (last edited 7 months ago) (1 children)

I probably just fell for the most obvious ragebait in existence

but in the unlikely event that you are actually being serious then owning everything would probably wreck your entire system at some point whether directly or not. and looking through the github page it doesn't seem that hard to install to me, just copy paste one command and you're done with it.. idk never actually had the need to use it.

[–] Alborlin@lemmy.world -5 points 7 months ago (2 children)

Yah if it was simple as that in Linux. When the page says do chown 775 xyz , the Linux throes error as can't modify, then I go down rabbit hole....honestly it's far from simple

[–] greedytacothief@lemmy.world 5 points 7 months ago

"chown" is a command for changing the users and groups who own a file. But the options "775 xyz" are used with chmod, a command for changing what permissions the owners and groups have over a file. I'm not sure what you're trying to do so I can't tell what part of the command is wrong.

Either way you can run a command with elevated permissions by putting "sudo" in front of the command. Or by switching to the root user by using the command "su" or "sudo -i" (if you have sudo access, but don't know the root password)

[–] lemmyreader@lemmy.ml 2 points 7 months ago

Yah if it was simple as that in Linux. When the page says do chown 775 xyz , the Linux throes error as can’t modify, then I go down rabbit hole…honestly it’s far from simple

To be able to use chown (Change Owner) you need to have the powers to do so. Your default user does not have such powers when the target is not yet owned by that user. Perhaps you did not use sudo, like sudo chown 775 xyz So I guess the documentation of that software installation howto is lacking specifics for Ubuntu (Ubuntu uses sudo, but e.g. Debian does not do so and defaults to su).

[–] bizdelnick@lemmy.ml 12 points 7 months ago (1 children)

Before anyone getting on about Security I don’t give 2centa about it

So Linux is not for you. Take a look at MS DOS 4.0, its sources were published few days ago.

[–] lemmyreader@lemmy.ml 4 points 7 months ago

I'd much prefer FreeDOS in that case! :)

[–] DmMacniel@feddit.de 12 points 7 months ago

No you don't want to be root or admin or whatever. You want not to have your external programs like your browser, email client what have you to run as root. You don't want malware without the ability to intervene.

Not even under Windows are you running as admin all the time.

So perhaps consider learning why it is a good idea to run your user at low privileges.

And while you are at it, most if not all programs come with documentation and or man pages. To access the latter use the command man <name of the command>

[–] gravitywell@sh.itjust.works 10 points 7 months ago* (last edited 7 months ago) (1 children)

Use https://dockstarter.com

Follow https://trash-guides.info/Hardlinks/How-to-setup-for/Dockstarter/

I would also suggest prowlarr instead of jackett.

If that's too hard then I think you should consider renting a seedbox that has easy one click install options for all the ARRs.

[–] Alborlin@lemmy.world 0 points 7 months ago

Thank you I will look into this one

[–] square252@feddit.de 9 points 7 months ago

You should just pay some streaming companies instead of trying so hard. No one wants to help you with that attitude.

[–] bloodfart@lemmy.ml 8 points 7 months ago

Back up before you do this and read why it won’t do what you want first.

Here’s how to do what you’re asking: chown -R user /

You’ll need to be root or use sudo to do that.

Here’s why it won’t do what you want: the arr programs each have their own user and group and they expect to be able to freely modify files they are allowed to through the permission system and to be prevented from doing so for files they’re not supposed to touch through that same system. It doesn’t matter if your user has ownership of all files on the system because your username isn’t the one those programs will be operating under when they go to move something from your incoming directory to your storage drive.

You could change them to all use the same username, yours, by editing their config files, but that’s not recommended and the programs are not tested in that configuration or designed to be run that way.

Not only will operating a single user system not fix the problem you’re having, making your username the single user isn’t the right way to do it. Running in single user mode is done as the root user and it has a special run level, 1. There are five other run levels above it (not counting zero, which is when the computer is not running).

Tldr: don’t do what I just told you how to, it won’t fix your problems. Learn the permissions system and fix your permissions problems instead or use a platform for the arrs that you’re more comfortable with.

[–] YIj54yALOJxEsY20eU@lemm.ee 8 points 7 months ago* (last edited 7 months ago)

Skill issue tbh

[–] pinchcramp@lemmy.dbzer0.com 7 points 7 months ago

I'm sorry to hear that you're having a hard time getting the software running. I understand that this can be very frustrating.

As others have said, making yourself the owner of everything can cause numerous issues in the long run and there's a reason why most distributions DON'T make you root.

Why are you using Linux in the first place? I think sonarr and jackett both run on Windows as well.

Don't let the frustration get the best of you. If you really want to run those tools yourself, then dive into it (and all the technical issues that are part of it), but if you only want to have access to the functionality, you might want to look into a service that takes care of all the technical burden.

Good luck

[–] sin_free_for_00_days@sopuli.xyz 7 points 7 months ago

Become comfortable with the command line. Learn the when and whys of using sudo. If you aren't willing to do that, you may not want to stick with Linux. It can have a little bit of a learning curve in the beginning (nothing like what it used to be), but you should get more comfortable in a short time.

[–] Vendetta9076@sh.itjust.works 5 points 7 months ago
[–] smileyhead@discuss.tchncs.de 1 points 7 months ago* (last edited 7 months ago)

Hey hey, calm down :).

Some software is OK to install manually and natively, like Wordpress or Nextcloud, they require some things to get together but those two are just standard PHP apps after all.
But Jackett and Sonarr are software made of much more moving parts. And actually are quite badly packaged (if packaged at all). Their creators see manual install as ment mostly for developers while end user is expected to use containers.

Like other have said, learn Docker and Docker Compose (or overall containers). You'll be able to spin up such services with just one line (or with just simple declaration in compose.yaml file). But don't copy-paste, learn it because it's worth it.

If you really really get stuck, there also is Yunohost, a Debian based system with web GUI and one click install scripts for selfhosted stuff. But it won't be as nearly flexible and portable (moving between servers, having multiple disks, configurable backups...) like Docker, there is a reason why shipping server-grade software looks like that so don't be mad at Linux, because on other systems installing scalable, server-grade things would look the same :P.

[–] d416@lemmy.world -3 points 7 months ago

I for one upvoted this post. I am tired of nanny state OSs restricting what we want to do thinking they are protecting the poor user who surely they must classify as noobs. We need a free open LIBERTARIAN OS now.