Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 903  / 3 Years ago, tue, august 3, 2021, 8:06:04

Intro:
I heard Ubuntu is safe because it is open sourced, we can see what code is running on our machine. Although there is source code of the linux kernel and many open source modules, but how could we be confident the original source of the ubuntu image matches the same source code we visit?


Question:
Therefore it comes to this question: How do we recompile from scratch of the build https://ubuntu.com/download/desktop/thank-you?version=20.04.2.0&architecture=amd64 with the file name ubuntu-20.04.2.0-desktop-amd64.iso at 2.8GB?


With some of the following requirements:



  1. Minimized binary file in the build process

  2. Minimized black box process

  3. Ideally end up the same SHA-256 check sum with the original build


More From » boot

 Answers
4

If you are into self-compiling everything, maybe Gentoo is a better choice for you.


Having worked for a Linux distributor for 16 years (and counting), I can assure you that it's far from trivial to compile a complete Linux distribution. The business value of the companies that are doing that is in the know-how, infrastructure and work procedures (and their automation) to do that. This is not anything to easily replicate at home.


You can build one or a handful of packages at home easily, but when it comes to a full distribution, it's a massive task. How many man-years are you willing to spend?


Having said that, Gentoo Linux is based around the idea to let every user do exactly that at home; but still, you need to have some trust in those who provide the source tarballs and all the patches on top of them. If you are suspicious, you can dig deep into one or a few of them and check what they are doing, but it's unrealistic to do that for any meaningful percentage of the whole distribution.


Also, I have doubts that you will manage to optimize the resulting binaries better (at least in any meaningful way) than those who have been doing that for a living for many, many years.


Still, if you feel you must do it, go ahead. ;-)


[#1717] Thursday, August 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
errettas

Total Points: 160
Total Questions: 118
Total Answers: 91

Location: Laos
Member since Fri, Sep 11, 2020
4 Years ago
;