You are not logged in.

#1 2017-05-29 22:58:14

Piotr610
Member
Registered: 2017-03-07
Posts: 7

[Solved] Updating Android Studio in a proper way.

Just wanted to ask, how you guys update android studio? Since I installed this some months ago, Yaourt didn't updated AS a single time, but there are some new versions available. Just made an update with an updater, not by updating an AUR package and I'm wondering if it will fall in some dependency problems. Other AUR packages update with no issues.

Last edited by Piotr610 (2017-05-30 16:19:59)

Offline

#2 2017-05-30 05:21:59

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [Solved] Updating Android Studio in a proper way.

What is the exact package name?

Edit: Moving to AUR issues.

Last edited by x33a (2017-05-30 05:22:55)

Offline

#3 2017-05-30 05:24:43

Piotr610
Member
Registered: 2017-03-07
Posts: 7

Re: [Solved] Updating Android Studio in a proper way.

android-studio. The current version in the aur is 2.3.2 and I was still using 2.3

Offline

#4 2017-05-30 06:25:23

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [Solved] Updating Android Studio in a proper way.

In that case, the problem is with yaourt, probably. You can always build the packages yourself (using makepkg) or use a different AUR helper.

Offline

#5 2017-05-30 06:40:38

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,022

Re: [Solved] Updating Android Studio in a proper way.

$ git clone https://aur.archlinux.org/android-studio.git
$ cd android-studio
$ makepkg -sci

That work for me and should work normally, also a git pull on android-studio folder should update the pkgbuilds too


Well, I suppose that this is somekind of signature, no?

Offline

#6 2017-05-30 06:43:36

Piotr610
Member
Registered: 2017-03-07
Posts: 7

Re: [Solved] Updating Android Studio in a proper way.

Ok, I'll check if new version comes out, but I'm wondering why android studio files are in /opt directory, not in /home as another AUR packages.

Offline

#7 2017-05-30 06:51:08

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,022

Re: [Solved] Updating Android Studio in a proper way.

Piotr610 wrote:

Ok, I'll check if new version comes out, but I'm wondering why android studio files are in /opt directory, not in /home as another AUR packages.

that statement not have sence. AUR packages install they files the specified directories that the PKGBUILD build() and package() specify.


Well, I suppose that this is somekind of signature, no?

Offline

#8 2017-05-30 07:05:17

Piotr610
Member
Registered: 2017-03-07
Posts: 7

Re: [Solved] Updating Android Studio in a proper way.

Jristz wrote:
Piotr610 wrote:

Ok, I'll check if new version comes out, but I'm wondering why android studio files are in /opt directory, not in /home as another AUR packages.

that statement not have sence. AUR packages install they files the specified directories that the PKGBUILD build() and package() specify.

Ah ok, never mind. Thank you anyway.

Offline

#9 2017-05-30 07:52:04

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,022

Re: [Solved] Updating Android Studio in a proper way.

if you problem is solved then you should add [solved[ to the tittle of your thread edditing your first post.


Well, I suppose that this is somekind of signature, no?

Offline

#10 2017-05-30 07:58:55

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: [Solved] Updating Android Studio in a proper way.

Piotr610 wrote:

not in /home as another AUR packages.

Which package installs to /home? That's a violation of our package guidelines.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#11 2017-05-30 08:39:33

Piotr610
Member
Registered: 2017-03-07
Posts: 7

Re: [Solved] Updating Android Studio in a proper way.

Xyne wrote:
Piotr610 wrote:

not in /home as another AUR packages.

Which package installs to /home? That's a violation of our package guidelines.

Sorry for misleading you. When i make 'git clone' the files come to /home and then they install properly, but I don't know where the android-studio folder is. I must have cloned this to another directory or something. I'm a newbie to Arch so sorry for misunderstanding some Arch rules.

Offline

#12 2017-05-30 15:51:53

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [Solved] Updating Android Studio in a proper way.

Now that all doubts have been cleared (hopefully), please mark the thread as solved by editing the first post and prepending [solved] to the title.

Offline

Board footer

Powered by FluxBB