LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2016, 11:07 AM   #1
oussema
LQ Newbie
 
Registered: Aug 2016
Posts: 6

Rep: Reputation: Disabled
i need help with gcc


hi everybody
can someone help me to install a package gcc gcc-multilib g++-multilib
when i type sudo apt-get install gcc-4.8-multilib
this is i have in the terminal
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Aucune version du paquet gcc-multilib n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source

E: Le paquet «*gcc-multilib*» n'a pas de version susceptible d'être installée
 
Old 08-10-2016, 11:23 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,753

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by oussema View Post
hi everybody
can someone help me to install a package gcc gcc-multilib g++-multilib
when i type sudo apt-get install gcc-4.8-multilib
this is i have in the terminal
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Aucune version du paquet gcc-multilib n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source

E: Le paquet «*gcc-multilib*» n'a pas de version susceptible d'être installée
Not really sure...this is an English only forum, so please post your content in english. Also, your duplicate thread has been reported for closure.

That being said, the message indicates that the package is obsolete, or the repository needed isn't added to your list. You don't say what version/distro of Linux you're using, so it's hard to tell you what to do, other than add the repository, or load the updated package.
 
Old 08-10-2016, 01:41 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
did you run
Code:
apt-get update
FIRST ?

you do not say
also what distro and VERSION is this
 
Old 08-10-2016, 08:57 PM   #4
TheDerf
LQ Newbie
 
Registered: Feb 2009
Posts: 21

Rep: Reputation: 0
so i can french it up if you need, or do you french fine on yer own? Is it that ya just cant figure out why the package aint there? cause what its saying is that what your looking for isn't in the repos (land where software lives).

You could try:

> sudo apt-cache search gcc

That might help you find the current version of gcc available on your distro.

also

https://packages.debian.org/search?k...c-4.8-multilib and you can find yer flavor.

ooops just saw that tB0ne already said what i said.

Last edited by TheDerf; 08-10-2016 at 09:00 PM. Reason: read not good.
 
Old 08-11-2016, 03:23 AM   #5
oussema
LQ Newbie
 
Registered: Aug 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
my version is ubuntu 14.04 LTS.. and yes i run apt-get update
THANK YOU to reply @John VV

Last edited by oussema; 08-11-2016 at 04:11 AM.
 
Old 08-11-2016, 03:24 AM   #6
oussema
LQ Newbie
 
Registered: Aug 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks everybody for the reply and i have ubuntu 14.04 LTS,
In fact i need to build a kernel for raspberry pi 3 and that work on android os
this the error i have
E: The package "g ++ - multilib" is not likely to be installed version

Last edited by oussema; 08-11-2016 at 04:13 AM.
 
Old 08-11-2016, 04:28 AM   #7
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Hi,

Welcome to LinuxQuestions.org.

Maybe the problem arises because the version proposed by the repo is 4.4 and not 4.8.

So, I'll recommend you run:

Code:
> sudo apt-get update
> sudo apt-get install gcc-4.4-multilib

OR

> sudo apt-get update
> sudo apt-get install gcc-multilib
All the best.
 
Old 08-11-2016, 04:36 AM   #8
oussema
LQ Newbie
 
Registered: Aug 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
it did not work i worked in installig android on raspberry pi 3 and i follow this tutorial https://www.youtube.com/watch?v=xIR6lYmF1UM but it seems harder then type some commands..there is another problem that it works before and this time didnt work i search for two weeks :/ by the way thank u very much to reply
 
Old 08-11-2016, 07:54 AM   #9
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,680
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Quote:
Aucune version du paquet gcc-multilib n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source

E: Le paquet «*gcc-multilib*» n'a pas de version susceptible d'être installée
A literal translation would be
Quote:
No version of the package gcc-multilib is available, but it exists in the database. This usually indicates that the package is missing, or it has become obsolete, or that it is only available from another source.

E: The package "*gcc-multilib*" has no version available for installation
That looks to me like a bug in the apt system.
 
Old 08-11-2016, 09:53 PM   #10
TheDerf
LQ Newbie
 
Registered: Feb 2009
Posts: 21

Rep: Reputation: 0
I'll admit that I thought it was just an issue with the version of gcc that you were trying to grab not being in the repo. Have you installed anything else? something simple like mc (filebrowser) or lynx(txt webbrowser)?

May I ask what you got in your repo folder. its kinda long shot but figured worth checking. I've included what show up on a trusty14.04 vm that was able to pull the dpkg for gcc-multilib 4.4 . perhapse you can see where there is a diffrence


root@slugfish2:/etc/apt# cd /etc/apt/
root@slugfish2:/etc/apt# cat sources.list
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
## or do the same in user-data
## b.) add sources in /etc/apt/sources.list.d
## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl
#

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty universe
deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

deb http://security.ubuntu.com/ubuntu trusty-security main
deb-src http://security.ubuntu.com/ubuntu trusty-security main
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
# deb http://security.ubuntu.com/ubuntu trusty-security multiverse
# deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

Last edited by TheDerf; 08-11-2016 at 09:54 PM.
 
Old 08-12-2016, 04:38 AM   #11
oussema
LQ Newbie
 
Registered: Aug 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
in fact this is how i do exactly im newbie with linux and i dnt know how i do it

1/ sudo add-apt-repository ppapenjdk-r/ppa

2/ sudo apt-get update

3/ sudo apt-get install gnupg flex gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip openjdk-8-jdk git phablet-tools python-mako android-tools-adb

4/ sudo apt-get install gcc-arm-linux-gnueabihf //install gcc-arm-linux (a cross compiler)


Configure the default identity for your repo account
5/ git config --global user.email "" //register ur self

6/ git config --global user.name ""


Download Android source with patches
7/ repo init -u https://android.googlesource.com/platform/manifest -b android-n-preview-4

8/ cd .repo

9/ git clone https://github.com/peyo-hd/local_manifests -b npv

10/repo sync //(this commmand take a lot of time,,its to download 55g )

11/# Build Kernel

sudo apt-get install gcc-arm-linux-gnueabihf

cd kernel/rpi

ARCH=arm scripts/kconfig/merge_config.sh arch/arm/configs/bcm2709_defconfig android/configs/android-base.cfg android/configs/android-recommended.cfg

ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make zImage
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: GCC 4.9 vs. GCC 5.1 vs. GCC 6.0 SVN Compiler Benchmarks LXer Syndicated Linux News 0 06-08-2015 01:00 PM
LXer: Compiler Benchmarks Of GCC, LLVM-GCC, DragonEgg, Clang LXer Syndicated Linux News 0 11-08-2010 05:11 PM
[SOLVED] SEGMENTATION FAULT using gcc 4.4.4 -O2 , works with gcc 4.1.0 -O2 or gcc 4.4.4 -O1 amir1981 Programming 36 07-26-2010 06:07 PM
yum install gcc doesn't set the lastest gcc ver 4.3.x kim,jw Linux - Newbie 3 12-22-2008 11:51 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration