How to Install Apps from AUR

Firstly - snapd is a service to install snap packages, that’s not the final program you’re looking to install. I personally would strongly suggest not using snaps - you can search here on the forum if you want to know more about why not, I’m not going into it here.

What is the actual program you want to use? If it’s available in the AUR, i would get it from there.

Next, if you want snapd just install it from the AUR yay -S snapd. FYI you may need to start and enable the socket as per the wiki.

Again I strongly discourage use of snaps.

Read more here:

https://wiki.archlinux.org/title/Snap

Package available in AUR:

https://aur.archlinux.org/packages/snapd/

4 Likes

I agree with @fbodymechanic about snaps.

Here is an old rant about that:

4 Likes

It kinda doesn’t matter if you think snaps are awful or not guys. The app is TradingView (as specified in the post above) and is only packaged as a snap for Arch. It’s not in the AUR, there’s no flatpak or appimage. Debating the merits of snapd in this context isn’t helpful considering the OP has no other option.

2 Likes

@Monty

Edit: It looks pretty straight forward to me.

1 Like

@Monty
I had no issue installing snapd or trading view.

Screenshot_20210731_231747

Edit: Instructions are on the link i posted above. You have two choices. Install snapd via the AUR or build the package. Once done reboot and install trading view. You have to enable the snapd socket first. It’s all in the instructions.

Edit2: There were a couple of dependency issues when i built the package but it was easy.

Edit3: There may be an issue with the snapd AUR package but i didn’t try it.

1 Like

I didn’t realize that, I saw something at post 19 where they were trying to build snapd.

Personally, I’d find something else. Or, if I have to use it, I’d probably just use it under windows. It’s not worth ruining the entire rest of my install for one snap package. BUT, if that’s all they have, I guess a snap it is. I was just trying to help install snapd as requested. I still stand by my assertation that it’s a really bad idea. But, I believe everyone has a right to their own choices, and is entitled to the consequences of them.

1 Like

It’s only available as a snap. I installed in a vm.

Edit: I just wanted to see what it was and if i could install it.

What is it for? Is there something to replace it with?

Watching stock market. I don’t know of anything similar because i really don’t have any experience with this one. I just tried to install it to see what the problem was. I think the OP didn’t get snapd installed as the AUR package has an issue? I installed it by building it and then installed tradingview.

Edit: I just noticed the OP has the same instructions as i posted so I’m not sure where the difficulty is.

There are other apps for this work but this one is the Linux of trading :slight_smile: I will try to install it again and see what happens. Thank you for your interest and support.
Cheers

Installed! was tying the command wrong, newbie issues. Thank you.

2 Likes

So you have snapd and tradingview is installed and working for you?

FWIW, be very careful. Capitalization matters, space matters, punctuation matters; typos can all make you have an exceptionally bad day with Arch.

2 Likes

Oh yeah, there was a ridiculous example of a GitHub project that had a script deleting some config file in the user’s home directory or something like that. However, the command to delete it had one unintended space character in it and so it would delete the entire home directory. It was something like rm -rf ~/ .config/some_file instead of rm -rf ~/.config/some_file. Several people lost all their data because of that program.

I can’t remember what it was, but there was a post about it here on the forum…

EDIT: Found it:

It was actually the /usr directory that got deleted. So it wasn’t as bad as I remember it, but still, bad enough that several people had to reinstall their OSs. The author’s excuse:

GIANT BUG… causing /usr to be deleted… so sorry…

Yeah… I was very tired that night…

:man_facepalming:t3:

6 Likes

Many thanks for these simple, though very concrete instructions to manually build a package from AUR. I did it for Typora, one of my favorite markdown editors (although my main one now is Obsidian), that was free while in beta (during something like 4 years !) but went commercial, earlier this year.

This manual build is a small exercise in using the terminal, so is great.

I have come across some of your other comments and/or instructions, and they are equally clear, to the point, easy to follow. Many thanks for that too.

1 Like

Thanks for the kind feedback. I’m happy you found it useful!

1 Like

Easily to comprehend!

Welcome to the EndeavourOS community @gadiradufasha.

In the future, if no one has commented on a thread for over 6 months, no need to leave a comment. You can just like the thread or a specific post. That’s good enough. :wink:

And if it’s about a similar issue that you may be having, you may open your own thread and paste a link to the old one. :handshake:

All the best in your EndeavourOS! :enos_flag: :vulcan_salute:

2 Likes