You are not logged in.

#1 2018-01-18 15:41:59

luchianmihai
Member
Registered: 2017-12-29
Posts: 7

Pacman install package options

Short terms, I am trying to install code::blocks without any contrib plugins, which can be specified in the install options (at least on Windows). I'm guessing that there is an option in pacman comand that does just that, but havent found anywhere.

Thanks!

Offline

#2 2018-01-18 15:55:49

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Pacman install package options

No, you can't do this with pacman.

You can do it by using the ABS and editing the PKGBUILD.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-01-18 15:56:50

luchianmihai
Member
Registered: 2017-12-29
Posts: 7

Re: Pacman install package options

Ok, thank you, I will look into that

Offline

#4 2018-01-18 15:56:58

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: Pacman install package options

It looks that the contrib plugins are all built into the package, so the only way would probably be to configure pacman such that it will not extract the files corresponding to those plugins. But IMHO that's a bit ugly.
Alternatively, you could rebuild the package yourself with passing another option to that `configure` there and tell it to build without the plugins (according to their wiki, you can apparently just remove the option).

Is there a reason why you don't want them installed?

--edit: oops, late

Last edited by ayekat (2018-01-18 15:57:41)


pkgshackscfgblag

Offline

#5 2018-01-18 15:57:06

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

Re: Pacman install package options

pacman doesn't work that way, but you can edit the PKGBUILD and install it manually: https://git.archlinux.org/svntogit/comm … codeblocks

Edit: Ninja'd by 2 people sad

Last edited by x33a (2018-01-18 15:57:58)

Offline

#6 2018-01-18 16:27:34

luchianmihai
Member
Registered: 2017-12-29
Posts: 7

Re: Pacman install package options

Thanks all. Not that I dont need them, codeblocks is just an example. Just wanted to know if i can do that without modifying the PKGBUILD (looking for an easy way)

Offline

#7 2018-01-18 23:46:08

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,383
Website

Re: Pacman install package options

NoExtract in pacman.conf is another possibility.

Offline

Board footer

Powered by FluxBB