Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1393  / 1 Year ago, fri, march 31, 2023, 10:57:35

I want to follow the steps found here in order to run League of Legends under Ubuntu. According to the guide, I have to compile wine from source because it needs some patches.



Compiling from source involves downloading quite a few dependency packages which I don't want to get mixed with the system and thus I'm wondering if there's a way to somehow isolate the whole "download dependencies packages and compile" process as I am only interested in the final wine binary.



By isolating the compile process I can just copy the resulting binary and do a simple delete on the sandbox whereas doing it the naive way would require a more complex cleanup.


More From » compiling

 Answers
1

I'd suggest looking into arkose Install arkose. As it's manpage Manpage icon says, it is a "tool to make sandboxing desktop application easy," but it can also be used for purposes like yours.



It's author, Stéphane Graber described how he uses it to keep from having to install many dependencies while doing development on his blog:




Since I last reinstalled my laptop, I try to keep my usually insanely
long list of installed packages to a bare minimum. I’d usually have
hundreds if not thousands of libraries and development packages as
these are required by a bunch of packages I maintain or code I work
on.



To achieve this and still be as productive as before (if not more),
I’m using arkose quite a lot to generate temporary dev/build
environment that are wiped as soon as I close the shell. This helps
maintain the number of extra libraries to a minimum, avoiding
situations where something mysteriously works fine on my laptop but
not on another machine and avoids the maintenance needed when dealing
with chroots.




Run, arkose -h in a terminal. This will create a container that has direct access to your home directory but uses copy-on-write for the rest of the file-system. When you're done, exit the shell and all your changes outside of /home (i.e. all the packages you installed) will be thrown away.


[#37747] Sunday, April 2, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
moloy

Total Points: 457
Total Questions: 93
Total Answers: 119

Location: Romania
Member since Wed, Dec 29, 2021
2 Years ago
;