You are not logged in.

#1 2022-06-01 14:42:49

rafaellancas
Member
Registered: 2022-05-31
Posts: 78

[SOLVED] Is it possible to install Megasync in Arch Linux?

I tried to install Megasync with "yay -S megasync" but it just screws my yay and the terminal got stuck in a loop of random information and the program is not installed. I also tried "yay -S megasync-git" but the result is always the same.

Last edited by rafaellancas (2022-06-29 02:56:11)

Offline

#2 2022-06-01 15:20:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,754

Re: [SOLVED] Is it possible to install Megasync in Arch Linux?

"random information" can be normal on an AUR build. Post the  full output you are getting in code tags, in doubt cut out a helper and use and test with plain makepkg: https://wiki.archlinux.org/title/Makepkg#Usage

Judging by this and your other thread, which instructions did you follow to install this Arch install and how sure are you that Arch is the right distribution for you?

Moving to AUR issues.

Last edited by V1del (2022-06-01 15:51:25)

Offline

#3 2022-06-01 15:50:25

Adriik
Member
From: Argentina
Registered: 2022-03-10
Posts: 128

Re: [SOLVED] Is it possible to install Megasync in Arch Linux?

Trying to build megasync : https://0x0.st/oBlV.txt

Is that the error you have?

megasync-bin seems to be fine: https://0x0.st/oBlW.txt

Maybe you want to try the last one.

Last edited by Adriik (2022-06-01 15:58:21)


Solo soy un loco más. Please use [code] [/code] tags.
Command cheatsheetCommand not found?
If I write something wrong in English, please correct me.

Offline

#4 2022-06-01 16:49:06

loqs
Member
Registered: 2014-03-06
Posts: 17,415

Re: [SOLVED] Is it possible to install Megasync in Arch Linux?

Adriik wrote:
==> Installing missing dependencies...
error: target not found: libpdfium
==> ERROR: 'pacman' failed to install missing dependencies.

You forgot to build and install a package providing libpdfium from AUR before building megasync.  I tried with libpdfium-nojs 5005.r0.62ad9af8a9-1 and built megasync 4.6.6.0-1.
I only tested the build so have no idea if the package works.

Offline

#5 2022-06-01 17:13:38

Adriik
Member
From: Argentina
Registered: 2022-03-10
Posts: 128

Re: [SOLVED] Is it possible to install Megasync in Arch Linux?

loqs wrote:

You forgot to build and install a package providing libpdfium from AUR before building megasync.

Oh, I see. Now I tried with makepkg and yay, and worked fine, at least building the package.
The next time better I ask more information to the thread autor before post something.


Solo soy un loco más. Please use [code] [/code] tags.
Command cheatsheetCommand not found?
If I write something wrong in English, please correct me.

Offline

#6 2022-06-01 20:01:19

rafaellancas
Member
Registered: 2022-05-31
Posts: 78

Re: [SOLVED] Is it possible to install Megasync in Arch Linux?

V1del wrote:

"random information" can be normal on an AUR build. Post the  full output you are getting in code tags, in doubt cut out a helper and use and test with plain makepkg: https://wiki.archlinux.org/title/Makepkg#Usage

Judging by this and your other thread, which instructions did you follow to install this Arch install and how sure are you that Arch is the right distribution for you?

Moving to AUR issues.

Thank you! I was able to install megasync after I tried to install Arch again. I would like to ask you if there's a problem with not having a swap partition. This time, I followed everything within this guide:

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

I still have the same "permission denied" bugs as before, but the only thing that I didn't do according to the guide was the swap partition part. To solve the problem, I did the same things as before "usermod -Ag wheels username", which doesn't appear to do a thing, and edited the /etc/sudoers file, which actually solved it.

Offline

#7 2022-06-01 20:13:32

loqs
Member
Registered: 2014-03-06
Posts: 17,415

Re: [SOLVED] Is it possible to install Megasync in Arch Linux?

rafaellancas wrote:

I would like to ask you if there's a problem with not having a swap partition.

No simple answer to that.  It is entirely dependent on the usage requirements of your particular workload and how much memory the system has.

rafaellancas wrote:

I still have the same "permission denied" bugs as before,

You did not mention them before.  That is why you are asked for the command you used and its full output.

Offline

#8 2022-06-01 21:07:53

rafaellancas
Member
Registered: 2022-05-31
Posts: 78

Re: [SOLVED] Is it possible to install Megasync in Arch Linux?

loqs wrote:
rafaellancas wrote:

I would like to ask you if there's a problem with not having a swap partition.

No simple answer to that.  It is entirely dependent on the usage requirements of your particular workload and how much memory the system has.

rafaellancas wrote:

I still have the same "permission denied" bugs as before,

You did not mention them before.  That is why you are asked for the command you used and its full output.

Thank you for your answer! The comands were pacman commands like "sudo pacman -S yay" and I kept having the same problem "not in sudoers list" or something like that. To solve that, I tried to add my user to wheels group, but I'm not sure I'm doing this right (I use "usermod -Ag wheels username", but it has no output and it doesn't solve the problem) and I edited my sudoers file (I'll copy it down here). I would like to know if I need to do any other things to make sudo and any other root commands and actions to work properly (like using "visudo" to edit files, for example). My sudoers file is like this now:

## User privilege specification
##
root ALL=(ALL:ALL) ALL
rafael  ALL=(ALL:ALL) ALL

## Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL:ALL) ALL

## Same thing without a password
## %wheel ALL=(ALL:ALL) NOPASSWD: ALL

## Uncomment to allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL

## Uncomment to allow any user to run sudo if they know the password
## of the user they are running the command as (root by default).
# Defaults targetpw  # Ask for the password of the target user
# ALL ALL=(ALL:ALL) ALL  # WARNING: only use this together with 'Defaults targetpw'

## Read drop-in files from /etc/sudoers.d

@includedir /etc/sudoers.d

username  ALL=(ALL) NOPASSWD:ALL

Offline

Board footer

Powered by FluxBB