Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Ubuntu 12.04 Multiarch

1,176 bytes added, 12:46, 9 June 2014
no edit summary
mcaro@mcaro-vm-u12:/etc/dpkg/dpkg.cfg.d$ cat multiarch
foreign-architecture armhf
</pre><div>Now we're ready for modify the apt repo sources for our wished new architecture, you should edit the file /etc/apt/sources.list and change the repositories as (I left here a sources.list sample file)If we want to set any repository you must add the tags: <br>[arch=i386] intel 32 bits <br>[arch=armel] ARM soft float 32 bits <br>[arch=armhf] ARM hard float 32 bits <br>or both: <br>[arch=armel,armhf] ARM soft/hard float repo 32 bits <br>The sources repositories not need to be tagged due sources repositories be the same for all architectures.</div><pre># deb cdrom:[Ubuntu 12.04.4 LTS _Precise Pangolin_ - Release i386 (20140204)]/ precise main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb [arch=i386] http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
</pre>You should add here the repositories for every architecture ...
After that we must execute: <divpre>Take apt-get update</pre> = Install ARM packages = If you wish install a notenew package (in our case we install openssl library) you should do: <pre>mcaro@mcaro-vm-u12:~$ apt-cache search libssllibssl-dev - SSL development libraries, the src packages be common header files and documentationlibssl-doc - SSL development documentation documentationlibssl1.0.0 - SSL shared librarieslibssl1.0.0-dbg - Symbol tables for all architectures libssl and it's not necessary to set the architecturelibcryptodcmtk - OFFIS DICOM toolkit command line utilitieslibcherokee-mod-libssl - Cherokee web server - SSL crypto functions pluginlibdcmtk2 - OFFIS DICOM toolkit runtime librarieslibdcmtk2-dev - OFFIS DICOM toolkit development libraries and headerslibssl-ocaml - OCaml bindings for OpenSSL (runtime)libssl-ocaml-dev - OCaml bindings for OpenSSLlibssl0.9.8 - SSL shared librarieslibssl0.9.8-dbg - Symbol tables for libssl and libcryptolibsslcommon2 - enterprise messaging system - common SSL librarieslibsslcommon2-dev - enterprise messaging system - common SSL development files</divpre>and after found your desired library: <divpre>We add sudo apt-get install libssl1.0.0:armhf</pre> Adding ":armhf" at end you set the tags [ARM hard floating version to set installed. If you don't set the arch apt-get will install your default arch=package (in this case i386).  &nbsp; [[Category:IGEPv5_Ubuntu_Releases] or ][[arch=armhfCategory:Ubuntu_Cross_Compile]] or if any repo provide more &nbsp;[arch=armel,armhf[Category:Ubuntu]]You should add your whised repositories there ...</div><div></div>