To modify the global USE flags, set the USE variable in /etc/make.conf
You can set USE flags for individual packages by specifying the package name and USE flag, in /etc/portage/package.use (the file or directory may not exist).
Eg of /etc/portage/package.use
dev-db/mysql berkdb -java[/code]
The above example disables java use flag and enables berkdb for package dev-db/mysql.
If you want only a temporary USE flag during emerge of just the current package, you can specify the flag on the same command line where you specify the emerge:USE="-java" emerge seamonkey[/code]
To view the current USE flags, run:
Once some USE flags have been set, one must make Portage see the new flags, with:emerge --update --deep --newuse world[/code]
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.