#Installing SDK on VanillaOS [SOLVED]

1 messages · Page 1 of 1 (latest)

spice rune
#

From what I understand, VanillaOS can install a variety of different packages using APX and some other commands in their documentation. I have been trying to install Flutter but the only downloadable I have been able to find is the Flutter SDK they show on their site. Since there is no package to actually install I am unsure how to proceed.
I also tried following the procedure described on their website and could get the paths into the correct place but the flutter commands don't work which I'm a assuming it is because of VanillaOS's unique install requirements.

If anybody has any idea how to solve this or could point me in the right direction of the solution that would be immensely helpful. Sorry for the silly question I'm somewhat new to Linux.

winged surge
#

what procedure did you follow? you can install it using snap if it's not in the repositories.

first install snap

sudo apt install snap

then install flutter using snap

sudo snap install flutter --classic

#

you might also want to install android studio, which can be done via

sudo snap install android-studio --classic

spice rune
#

Hi, yeah, that would have been the method I would use but VanillaOS isnt currently compatible with snap, I previously tried simply adding it to the .bashrc file which is supposed to work for normal linux distros and that didnt work. I've tried installing it with the built in apx funtion but that is meant for packages and flutter provides an sdk and I'm not sure if they are compatible. Right now I'm trying to use Zypper (edit - did not work: it created a container like I wanted but "No provider of 'flutter' found" and Im not sure how to give it the sdk I have). I was told that once the container (for flutter) is created I can use the flutter commands by using apx enter <container_name> but I have no idea how to create a container that holds flutter - which is what I was attempting to use Zypper for

spice rune
#

SOLVED: I managed to get some help and solve the problem, not sure if Im supposed to close this ticket

#

Installing SDK on VanillaOS [SOLVED]

winged surge
spice rune
#

so for VanillaOS you can create containers and work within these containers so to fix the solution:

apx init
apx enter

to create and enter the container.
then you install the SDK or whatever else you want there (I needed to install a bunch of other flutter related things)
and then when in a terminal you can do apx enter and use the container and all the flutter commands will work as normal and just use
exit
to leave and return to the normal terminal when you're done

#

also, for the .bashrc file use
export PATH="$PATH:$HOME/flutter/bin

#

this is because the container doesnt have user folder and yes home does have to be in capitals, I was stuck on the problem for a solid half an hour y-y