Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 16177  / 2 Years ago, tue, november 30, 2021, 7:14:09

After running



sudo apt-get install libboost-all-dev



on ubuntu 14.04 amd64 desktop (Trusty Tahr), I found that all the libs are installed into



/usr/lib/x86_64-linux-gnu/



instead of



/usr/lib/



Although all the headers are still installed into



/usr/include/



Why does this happen?


More From » filesystem

 Answers
6

The library packages have been made multiarch, meaning that you can simultaneously install both the amd64 version and the i386 version on an amd64 computer. If you want to install the i386 version of a library, suffix the package name with :i386. (For example, sudo apt-get install libboost-system1.54.0:i386)



Library packages are shifting towards becoming multiarch, so that it is a little easier to install packages from other architectures and run programs compiled for other architectures.


[#25970] Thursday, December 2, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
hirtieve

Total Points: 207
Total Questions: 104
Total Answers: 114

Location: Cook Islands
Member since Thu, May 21, 2020
4 Years ago
hirtieve questions
;