AusweisApp icon indicating copy to clipboard operation
AusweisApp copied to clipboard

added Linux/Unix to README

Open transgirllucy opened this issue 2 years ago • 14 comments

I have made improvements to the README text section for macOS and created a new section for Linux/Unix. In the macOS section, I added information about the make -j <THREADS> parameter to speed up code compilation. In the Linux/Unix section, I provided instructions on how to set up and compile the source code.

transgirllucy avatar Mar 22 '23 09:03 transgirllucy

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 22 '23 09:03 CLAassistant

Thanks. But -j is already used in the sub calls of openssl and Qt. Our libs script won't be faster if you provide -j like this. See: https://github.com/Governikus/AusweisApp2/blob/community/libs/CMakeLists.txt#L65

misery avatar Mar 22 '23 10:03 misery

I will improve

transgirllucy avatar Mar 22 '23 10:03 transgirllucy

sollte jetzt alles passen

transgirllucy avatar Mar 23 '23 20:03 transgirllucy

passt jetzt alles?

transgirllucy avatar Mar 28 '23 08:03 transgirllucy

now everything should be fine and could be merged

transgirllucy avatar Jun 14 '24 17:06 transgirllucy

How do I upvote this pull request?

MBanucu avatar Jul 20 '24 10:07 MBanucu

I am using "Debian GNU/Linux 11 (bullseye)" and I had to install LLVM 11 (https://apt.llvm.org/) as prerequisite:

wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 11 all

for building qt.

The installation of the packages via apt-get fails with the error:

[...]
+ test 11 -gt 14
+ apt-get install -y clang-11 lldb-11 lld-11 clangd-11 clang-tidy-11 clang-format-11 clang-tools-11 llvm-11-dev lld-11 lldb-11 llvm-11-tools libomp-11-dev libc++-11-dev libc++abi-11-dev libclang-common-11-dev libclang-11-dev libclang-cpp11-dev libunwind-11-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libunwind-11-dev

so the apt-get line has to be executed manually with a working libunwind-dev version:

apt-get install -y clang-11 lldb-11 lld-11 clangd-11 clang-tidy-11 clang-format-11 clang-tools-11 llvm-11-dev lld-11 lldb-11 llvm-11-tools libomp-11-dev libc++-11-dev libc++abi-11-dev libclang-common-11-dev libclang-11-dev libclang-cpp11-dev libunwind-dev

MBanucu avatar Jul 20 '24 11:07 MBanucu

The build worked. How do I create an executable for debian or create a deb-package?

MBanucu avatar Jul 20 '24 16:07 MBanucu

The build worked. How do I create an executable for debian or create a deb-package?

there is already an package https://packages.debian.org/sid/ausweisapp2

transgirllucy avatar Jul 23 '24 14:07 transgirllucy

The build worked. How do I create an executable for debian or create a deb-package?

there is already an package https://packages.debian.org/sid/ausweisapp2

This is the package for sid but I am using bullseye: https://packages.debian.org/bullseye/utils/ausweisapp2

The version of this package is 1.22.0-1 and this is not compatible with the version of the Android app. I don't want to use sid because I tried it a few years ago and I got into a lot of trouble. So how do I create a deb-package out of the compiled code?

Even the package for the more recent stable debian version bookworm the version is too old to be usable (1.26.2-1): https://packages.debian.org/bookworm/utils/ausweisapp2

MBanucu avatar Jul 24 '24 10:07 MBanucu

The build worked. How do I create an executable for debian or create a deb-package?

there is already an package https://packages.debian.org/sid/ausweisapp2

This is the package for sid but I am using bullseye: https://packages.debian.org/bullseye/utils/ausweisapp2

The version of this package is 1.22.0-1 and this is not compatible with the version of the Android app. I don't want to use sid because I tried it a few years ago and I got into a lot of trouble. So how do I create a deb-package out of the compiled code?

Even the package for the more recent stable debian version bookworm the version is too old to be usable (1.26.2-1): https://packages.debian.org/bookworm/utils/ausweisapp2

there is an newer package in nixpkgs (nix package manager) https://nixos.org

transgirllucy avatar Jul 24 '24 18:07 transgirllucy

The build worked. How do I create an executable for debian or create a deb-package?

there is already an package https://packages.debian.org/sid/ausweisapp2

This is the package for sid but I am using bullseye: https://packages.debian.org/bullseye/utils/ausweisapp2 The version of this package is 1.22.0-1 and this is not compatible with the version of the Android app. I don't want to use sid because I tried it a few years ago and I got into a lot of trouble. So how do I create a deb-package out of the compiled code? Even the package for the more recent stable debian version bookworm the version is too old to be usable (1.26.2-1): https://packages.debian.org/bookworm/utils/ausweisapp2

there is an newer package in nixpkgs (nix package manager) https://nixos.org

Nice. This is working!

It should be added to the README.

MBanucu avatar Jul 25 '24 10:07 MBanucu

I recommend flatpak as an alternative: https://flathub.org/apps/de.bund.ausweisapp.ausweisapp2

misery avatar Jul 25 '24 10:07 misery