fcorbelli / zpaqfranz

Deduplicating archiver with encryption and paranoid-level tests. Swiss army knife for the serious backup and disaster recovery manager. Ransomware neutralizer. Win/Linux/Unix
MIT License
259 stars 22 forks source link

v60 build for linux? #113

Closed KweezyCode closed 2 months ago

KweezyCode commented 2 months ago

title

fcorbelli commented 2 months ago

???

KweezyCode commented 2 months ago

where could i get the latest build for linux? The latest is 60, but it is not compiled (check screenshot) image

fcorbelli commented 2 months ago

Ah, you're right, sorry, I didn't understand. Normally, if you have a gcc or clang compiler installed, you can compile it yourself (in the source you can find instructions for major distributions) I keep static binaries for situations where the compiler is not there (for example: the NAS) I will update with the latest version by today

KweezyCode commented 2 months ago

okay, thanks!

fcorbelli commented 2 months ago

Please try, should work Thank you

KweezyCode commented 2 months ago

image

i am using arch (manjaro)

cpuinfo:

processor       : 15
vendor_id       : AuthenticAMD
cpu family      : 25
model           : 80
model name      : AMD Ryzen 7 5700G with Radeon Graphics
stepping        : 0
microcode       : 0xa50000d
cpu MHz         : 3701.264
cache size      : 512 KB
physical id     : 0
siblings        : 16
core id         : 7
cpu cores       : 8
apicid          : 15
initial apicid  : 15
fpu             : yes
fpu_exception   : yes
cpuid level     : 16
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm debug_swap
bugs            : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass srso
bogomips        : 7603.79
TLB size        : 2560 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate cpb eff_freq_ro [13] [14]
fcorbelli commented 2 months ago

I suggest compile the program. I don't use arch very often, however, you should be able to do it fairly easily

Or try

yay -S zpaqfranz-git

1

KweezyCode commented 2 months ago

okay. Should i close ticket?

fcorbelli commented 2 months ago

Please try the attached binary (if you want) I made with this

c++ -O2 -DHWSHA2 -D_FORTIFY_SOURCE=3 -Dunix zpaqfranz.cpp -pthread -o zpaqfranz_arch -s -static

60_3_arch.zip

197788 commented 2 months ago

I use Archlinux also. The AUR is not as up to date.

  1. I just git cloned this project
  2. I open terminal, cd inside the cloned folder.
  3. I type"make" and wait. I get the output "g++ -Dunix -O3 -pthread zpaqfranz.cpp -lm -o zpaqfranz". After a little while you now have a binary executable file called "zpaqfranz" inside the folder now.
  4. Test it by typing "./zpaqfranz". It should output the version number and some other output also. You can even use it as is (you must specify where the binary is each time), or you can further install it to the filesystem with "sudo make install". The makefile default will install to /usr/local/bin. I left it as is, but I had to soft link it because it seems that Archlinux expects it to be in /usr/bin. You can change it to install there right off the bat by editing the makefile to change where it will be installed.
  5. I then made a softlink by doing "sudo ln -s /usr/local/bin/zpaqfranz /usr/bin/".
  6. Now you can call zpaqfranz from anywhere in the terminal without needing to use the direct file path.
fcorbelli commented 2 months ago

The AUR is always up to date

For a fresh Manjaro 24.0.3 installation I suggest

sudo pacman -Sy
sudo pacman -S gcc (or sudo pacman -S clang)
sudo pacman -S fakeroot
sudo pacman -S yay
yay zpaqfranz

Answers to yay Packages to install ==> 1 Packages to cleanBuild ==> A Diffs to show? ==> N Proceed with installation => y (insert sudo password)

197788 commented 2 months ago

The AUR is always up to date

For a fresh Manjaro 24.0.3 installation I suggest

Okay, thanks. I was not telling it to make a cleanBuild. It definitely worked.