You are not logged in.

#1 2020-03-05 19:22:47

Thomasasia
Member
Registered: 2020-03-04
Posts: 2

Installing with makepkg in an alternate directory?

I would like to have Unity on my machine. However, according to the wiki, it's really big. I don't want to install it in my root partition due to size constraints, so how do I build/install it into a different directory (preferably in my /home/)?

Is it as simple as excluding --install when running makepkg, and extracting the .pkg.tar.xz?

Thanks for your help!

Offline

#2 2020-03-05 20:27:09

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Installing with makepkg in an alternate directory?

Can't you just mount /opt/Unity from some other partition? Or use a bind mount.

Last edited by eschwartz (2020-03-05 20:32:44)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2020-03-05 20:31:15

loqs
Member
Registered: 2014-03-06
Posts: 19,089

Re: Installing with makepkg in an alternate directory?

makepkg would build the package but not install it.  If you then install the package using pacman -U will have the same result as makepkg --install.  How are you envisaging installing the package?
If you are planning on using unity-editor it installs most of the contents under /opt/Unity you could bind mount some directory under /home to /opt or /opt/Unity .
Edit:
misread post

Last edited by loqs (2020-03-05 20:32:47)

Offline

#4 2020-03-05 21:11:27

Thomasasia
Member
Registered: 2020-03-04
Posts: 2

Re: Installing with makepkg in an alternate directory?

logs wrote:

Can't you just mount /opt/Unity from some other partition? Or use a bind mount.

loqs wrote:

makepkg would build the package but not install it.  If you then install the package using pacman -U will have the same result as makepkg --install.  How are you envisaging installing the package?
If you are planning on using unity-editor it installs most of the contents under /opt/Unity you could bind mount some directory under /home to /opt or /opt/Unity .
Edit:
misread post

Thanks, I'll try that

Offline

Board footer

Powered by FluxBB