Błąd tar zxcf podczas instalacji java

Tylko tematy nie mieszczące się powyżej.
Awatar użytkownika
RizOne
Sędziwy Jeż
Sędziwy Jeż
Posty: 40
Rejestracja: 11 mar 2013, 12:38
Płeć: Mężczyzna
Wersja Ubuntu: 12.04
Środowisko graficzne: GNOME
Architektura: x86
Kontakt:

Błąd tar zxcf podczas instalacji java

Post autor: RizOne »

Witam,, sytuacja wygląda następująco. Chciałbym zainstalować jave na swoim laptopie, jednak napotykam na problemy. Pobieram jave z oficjalnej strony, i mam ją w 2 formach: .rpm oraz .tar.bz . Jednak żaden z nich nie chce zadziałać. Pod spodem zamieszczam wyniki poleceń na rozpakowanie rpm oraz tar.bz.
RPM

Kod: Zaznacz cały

root@muffin-Lenovo-G505:/usr/java# rpm -ivh jre*.rpm
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
error: Failed dependencies:
	/bin/basename is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/bin/cat is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/bin/cp is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/bin/gawk is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/bin/grep is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/bin/ln is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/bin/ls is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/bin/mkdir is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/bin/mv is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/bin/pwd is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/bin/rm is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/bin/sed is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/bin/sort is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/bin/touch is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/usr/bin/cut is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/usr/bin/dirname is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/usr/bin/expr is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/usr/bin/find is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/usr/bin/tail is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/usr/bin/tr is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/usr/bin/wc is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
	/bin/sh is needed by jre1.8.0_25-1.8.0_25-fcs.x86_64
Tar.bz:

Kod: Zaznacz cały

root@muffin-Lenovo-G505:/usr/java# tar -zxcf jre*.tar.gz
tar: You may not specify more than one '-Acdtrux', '--delete' or  '--test-label' option
Try 'tar --help' or 'tar --usage' for more information.
Z góry dziękuję za pomoc
no tak to w życiu bywa
Awatar użytkownika
igotit4free
Przyjaciel
Przyjaciel
Posty: 6453
Rejestracja: 29 paź 2008, 22:51
Płeć: Mężczyzna
Architektura: x86_64
Lokalizacja: KRK

Re: Błąd tar zxcf podczas instalacji java

Post autor: igotit4free »

Otwartą java instaluje się w Ubuntu jedną komendą:

Kod: Zaznacz cały

sudo apt-get install icedtea-7-plugin openjdk-7-jre

Żeby zainstalować niewolną java trzeba dodać sprawdzone PPA i dalej już z górki:

Kod: Zaznacz cały

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
Po co robisz to co robisz?
Windows 10 @ GA-P67A-D3-B3, i3-2100 3.10GHz, 8GB RAM, Gigabyte HD6850 1GB RAM
Android 7.0 @ Motorola Moto G4+
ODPOWIEDZ

Wróć do „Inne”

Kto jest online

Użytkownicy przeglądający to forum: Bing [Bot] i 2 gości