Ubuntu Neuling hat Probleme mit MP3s und C++ Compiler!

silent-boy

silent-boy

Eroberer
Hallo ich habe mir mal das neue Ubuntu 6.10 runtergeladen und habe nun 2 Probleme:

1.) Wie kann ich meinem Ubuntu beibringen MP3s abzuspielen?

2.) Ich habe mit KDevelop für C++ installiert, danach habe ich noch die Konsole insalliert. Jedoch kann ich leider keine C++ Programme Kompilieren! Ich geh dabei folgendermassen vor:
a.) Ich schreibe ein Program.
b.) Ich Speicher es wie übliche als .cpp datei
c.) nun geh ich für gewöhnlich in die konsolo öffne das verzeichnis und gebe folgendes ein: c++ name_der_datei.cpp
doch dann sagt die konsole mir das sie den Befehl c++ nicht kennt was muß ich nachinstsallieren das es funktioniert.

Ich danke im vorraus schonmal für eure hilfe
 
Deine Scripte compilierst du auch mit g++
Beispiel:
g++ -o Hello hello.cpp

zu 1) wie sieht deine sources.list aus? (falls nicht alles installiert sein sollte)
 
Also habe das mit g++ mal probiert dann gibt er mir aus:

Desktop Eigene Grafiken Examples hello.cpp hello.cpp~
manuel@manuel-laptop:~$ g++ -o Hello hello.cpp
bash: g++: command not found

und ich bin noch relativ neu bei linux, wie komm ich an die source.list?
 
Also ich habe hier mal die source list kopiert, das g++ wird gerade installiert:
deb http://de.archive.ubuntu.com/ubuntu/ edgy main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ edgy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://de.archive.ubuntu.com/ubuntu/ edgy-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ edgy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# deb http://de.archive.ubuntu.com/ubuntu/ edgy universe
# deb-src http://de.archive.ubuntu.com/ubuntu/ edgy universe

## 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://de.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu edgy-security main restricted
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted
# deb http://security.ubuntu.com/ubuntu edgy-security universe
# deb-src http://security.ubuntu.com/ubuntu edgy-security universe
 
Nachtrag: c++ ***.cpp funktioniert jetzt auch und das mit dem g++ auhc danke dafür erstmal
 
Entferne das # vor der Zeile
Code:
# deb http://de.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
und mach danach
Code:
sudo apt-get update

und les Dir das mal durch http://wiki.ubuntuusers.de/Codecs
 
Zuletzt bearbeitet:
Der sagt mir immer das ich keine Schreibrechte für diese Datei habe und als root kann ich mich nicht anmelden da ich bei der installation kein passwort für den Root user eingeben musste, bei suse war es sonst so das er mich immer nach einen root passwort gefragt hat und dann war das nie eine pron, gibt es bei ubuntu soetwas wie ein standart passwort direkt nach der installation?
Sorry bin neu bei ubuntu
 
Sorry kleiner fehler unterlaufen, ich kann mich nicht vom benutzer bildschirm anmelden von wo denn sonst? und wie?
 
:headup: alles wird gut

Du gehst in deine Konsole,
Code:
sudo nano /etc/apt/sources.list
editierst die Datei, speicherst mit Strg+o und verlässt den Editor mit Strg+x
dann wie bereits gesagt
Code:
sudo apt-get update
 
Danke hat geklappt :D kann wieder richtig geil Matallica hören beim Arbeiten :bounce:
 

Ähnliche Themen

[Ubuntu] VMware Tools...

Zurück
Oben