<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://boinc.mundayweb.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Installing_BOINC_on_Gentoo</id>
	<title>Installing BOINC on Gentoo - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://boinc.mundayweb.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Installing_BOINC_on_Gentoo"/>
	<link rel="alternate" type="text/html" href="https://boinc.mundayweb.com/wiki/index.php?title=Installing_BOINC_on_Gentoo&amp;action=history"/>
	<updated>2026-04-30T10:06:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>https://boinc.mundayweb.com/wiki/index.php?title=Installing_BOINC_on_Gentoo&amp;diff=1817&amp;oldid=prev</id>
		<title>Jord: adding Installing BOINC on Gentoo copy from BOINC User Manual wiki</title>
		<link rel="alternate" type="text/html" href="https://boinc.mundayweb.com/wiki/index.php?title=Installing_BOINC_on_Gentoo&amp;diff=1817&amp;oldid=prev"/>
		<updated>2016-09-05T14:30:59Z</updated>

		<summary type="html">&lt;p&gt;adding Installing BOINC on Gentoo copy from BOINC User Manual wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Basic installation==&lt;br /&gt;
Installs BOINC Client as a daemon (autostarts the BOINC client at boot time) and puts a BOINC Manager icon on the &amp;quot;Start Menu&amp;quot; if you have a GUI Desktop installed. Open a terminal and become root.  Then enter the following commands:&lt;br /&gt;
&lt;br /&gt;
{{Template:Important&lt;br /&gt;
   | text = '''BOINC is currently [http://dev.gentoo.org/~dang/masked.txt masked] in Portage.'''&amp;lt;br /&amp;gt;&lt;br /&gt;
The first command will allow you to bypass the mask&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;echo &amp;quot;sci-misc/boinc&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;emerge --sync&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;emerge sci-misc/boinc&amp;lt;/code&amp;gt; &amp;lt;!-- (installs the client as a daemon, does not install the manager) --&amp;gt;&lt;br /&gt;
# Optional: after the installation is finished, enter &amp;lt;code&amp;gt;rc-update add boinc default&amp;lt;/code&amp;gt; to have Linux auto-start the boinc-client daemon at boot time. (See [http://boinc.berkeley.edu/wiki/Stop_or_start_BOINC_daemon_after_boot Stop or start BOINC daemon after boot] in the BOINC User Manual Wiki for helpful commands for managing the daemon).&lt;br /&gt;
&lt;br /&gt;
==What the installer does==&lt;br /&gt;
# Creates the daemon script at /etc/init.d/boinc&lt;br /&gt;
# Creates the daemon script configuration file at /etc/conf.d/boinc.&lt;br /&gt;
# Puts the BOINC binaries (boinc_client, boinc_cmd and boincmgr) in /usr/bin/boinc&lt;br /&gt;
# Creates /var/lib/boinc/ for BOINC data files and the slots and projects directories.&lt;br /&gt;
# Names the daemon &amp;lt;code&amp;gt;boinc&amp;lt;/code&amp;gt;&lt;br /&gt;
# Creates a user named '''boinc'''.  For security, '''boinc''' owns the BOINC data directory (/var/lib/boinc/) and all the data files and sub-directories it creates in the data directory.&lt;br /&gt;
&lt;br /&gt;
==Verify the installation==&lt;br /&gt;
# Start the daemon with &amp;lt;code&amp;gt;/etc/init.d/boinc start&amp;lt;/code&amp;gt;&lt;br /&gt;
# Open a terminal and enter &amp;lt;code&amp;gt;ps aux | grep boinc&amp;lt;/code&amp;gt; to print a partial list of running processes.  You should see &amp;lt;code&amp;gt;boinc_client&amp;lt;/code&amp;gt; in that list, if not then something went wrong in the steps above.&lt;br /&gt;
&lt;br /&gt;
==Set up your accounts==&lt;br /&gt;
&lt;br /&gt;
To use the GUI to set up your accounts and monitor progress:&lt;br /&gt;
# Start &amp;quot;boincmgr&amp;quot; on the command line or select Applications -&amp;gt; System Tools -&amp;gt; Boinc Manager from the GNOME menu.&lt;br /&gt;
# Select Advanced -&amp;gt; Select computer... from the Boinc Manager menu.&lt;br /&gt;
# Put &amp;quot;localhost&amp;quot; in for &amp;quot;Host name&amp;quot; and the contents of /var/lib/boinc/gui_rpc_auth.cfg for &amp;quot;Password&amp;quot; and hit &amp;quot;OK&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
To make the GUI passwordless instead, do &amp;quot;echo &amp;gt; /var/lib/boinc/gui_rpc_auth.cfg&amp;quot; (which replaces the contents of the file with a newline) and then restart boinc-client (with e.g. &amp;quot;/etc/init.d/boinc restart&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can use the command-line interface to set up your accounts.  See &amp;quot;[http://boinc.berkeley.edu/wiki/Boinccmd_tool man boinc_cmd]&amp;quot; for instructions.&lt;br /&gt;
&lt;br /&gt;
==Optional setup hints==&lt;br /&gt;
''For more information about configuring BOINC in Linux, see [http://boinc.berkeley.edu/wiki/Linux_file_permissions Linux file permissions] in the BOINC User Manual Wiki.''&lt;br /&gt;
&lt;br /&gt;
If you do only the basic installation as described above, BOINC manager will not be able to automatically connect to the client.  To connect the client  you will be required to give the GUI RPC password every time you start BOINC manager.  That is not a bug, it is a security feature to prevent other users from using the manager to manipulate the client, changing your projects, etc.  Another inconvenience is that boinc (the user named boinc) owns /var/lib/boinc/ and all the files and directories in it so you will not be able to edit those files from your regular user account unless you add your username to the boinc group and adjust some permissions as follows, substituting your username for &amp;lt;username&amp;gt;: &lt;br /&gt;
# As root, open /etc/group in a text editor.&lt;br /&gt;
# Look for the line starting with boinc:x:&amp;lt;group ID number&amp;gt;:&lt;br /&gt;
# Edit the line to look like &amp;lt;code&amp;gt;boinc:x:&amp;lt;group ID number&amp;gt;:&amp;lt;username&amp;gt;&amp;lt;/code&amp;gt;  (&amp;lt;group ID number&amp;gt; will be a number, do not change it)  &lt;br /&gt;
# Save the file and close the editor. &lt;br /&gt;
All the above can be done by: (sudo) gpasswd -a &amp;lt;username&amp;gt; boinc&lt;br /&gt;
# Open a terminal as root and enter the following commands, substitude your username for &amp;lt;username&amp;gt;:&lt;br /&gt;
## &amp;lt;code&amp;gt;ln -s /var/lib/boinc/gui_rpc_auth.cfg /home/&amp;lt;username&amp;gt;/gui_rpc_auth.cfg&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;!-- ## &amp;lt;code&amp;gt; ln -s /???/???/gui_rpc_auth.cfg /var/lib/boinc/gui_rpc_auth.cfg&amp;lt;/code&amp;gt; --&amp;gt;&lt;br /&gt;
## &amp;lt;code&amp;gt;chown boinc:boinc /home/&amp;lt;username&amp;gt;/gui_rpc_auth.cfg&amp;lt;/code&amp;gt;&lt;br /&gt;
## &amp;lt;code&amp;gt;chown boinc:boinc /var/lib/boinc/gui_rpc_auth.cfg&amp;lt;/code&amp;gt;&lt;br /&gt;
## &amp;lt;code&amp;gt;chmod -R g+r /var/lib/boinc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- I haven't actually tried this. Hopefully somebody who has can confirm that this works? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Uninstallation==&lt;br /&gt;
As root, in a terminal, enter &lt;br /&gt;
  emerge -C sci-misc/boinc&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
In case you get &amp;lt;code&amp;gt; SSL connection error&amp;lt;/code&amp;gt;, this can be solved by re-emerging curl with gnutls USE flag disabled:&lt;br /&gt;
  echo &amp;quot;net-misc/curl -gnutls&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.use&lt;br /&gt;
  emerge -1 net-misc/curl&lt;/div&gt;</summary>
		<author><name>Jord</name></author>
		
	</entry>
</feed>