How to replace binaies in a .deb file:
Pull out the files in data.tar.gz in archive boinc-client_7.0.24+dfsg-1_amd64.deb
Code:
ar p boinc-client_7.0.24+dfsg-1_amd64.deb data.tar.gz | tar zx
You will see 3 directories: ./etc, ./lib and ./bin
copy boinc and boincmd from Berkely archive to ./bin/
Code:
cp ~/BOINC/boinc ./bin/
cp ~/BOINC/boinccmd ./bin/
create new data.tar.gz with the three directories
Code:
tar -zcvf data.tar.gz ./etc ./lib ./usr
Now replace the data.tar.gz in the .deb package with the new one you just created.
Code:
ar r boinc-client_7.0.24+dfsg-1_amd64.deb data.tar.gz
Install
Code:
dpkg -i package-name-here.deb
If there are problems purge installation and all config files and directories created by install.
Code:
dpkg -P package-name-here.deb
Or just remove startup scripts and binaries leaving project files and directories.
Code:
dpkg -r package-name-here.deb
Boinc should start on bootup and use /var/lib/boinc-client for project files.
To see the contents of a .deb package.
Code:
lesspipe boinc-client_7.2.33+dfsg-1_amd64.deb
Bookmarks