Installing JDK in Linux - the download file appears to be corrupted [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have downloaded JDK, but when I am trying to extract it, I am facing these errors:
[root#ras java]# . jdk-6u26-linux-i586.bin
Unpacking...
tail: cannot open `bash' for reading: No such file or directory
Checksumming...
The download file appears to be corrupted. Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.
You have new mail in /var/spool/mail/root
[root#ras ~]#
What do I do to fix it?

You want
chmod +x jdk-6u26-linux-i586.bin
./jdk-6u26-linux-i586.bin

Related

How to save repo file in centos [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have a link for the repository file
https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/cloudera-manager.repo?_ga=1.139114810.807939978.1489498435
How can I download it? Which command should I use?
You can create server.repo file in following location.
cd /etc/yum.repos.d/
You can copy contains from above URL and save the file. After, you can install a package via yum command.
wget https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/cloudera-manager.repo?_ga=1.118167936.807939978.1489498435
This is the way to download repo file. Now it seems very easy.

Can't get yuidoc running on Mac OS X Mountain Lion [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
On installing yuidoc I'm getting the following warning.
npm WARN package.json connect#1.9.2 No README.md file found!
When trying to start yuidoc --server later it shows me:
info: (yuidoc): Scanning for yuidoc.json file.
error: (yuidoc): Scanned 5001 directories looking for a yuidoc.json file, something is probably wrong here..
Thanks for help!
The warning is nothing to worry about.
The error is that you haven't provided a yuidoc.json file:
http://yui.github.com/yuidoc/args/index.html#json

cd.. command does not work [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
The community reviewed whether to reopen this question 11 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I made a directory in my ubunto desktop and copied some file inside it.
I tried to go inside the directory by using the terminal.
the issue I have is when I want to back to the parent directory which is "Desktop" by using "cd.." command I got an error says cd..: command not found
I'm a newbie and want to know the reason.
would you explain it for me.
thank you
You need space, after command cd
cd ..
You missed the space in between cd and ..:
cd ..
You are missing a space, should be cd ..

How to install TBB on Ubuntu? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I downloaded tbb40_233oss_lin.tgz file from http://threadingbuildingblocks.org/ver.php?fid=174
I set "TBBROOT" variable to the directory in my bash_proflie and I unzipped the tar file and navigated to the bin folder and run tbbvars.sh file
I typed
sh tbbvars.sh intel64
I was trying to run examples but it complains as shown bleow
count_strings.cpp:38:37: fatal error: tbb/concurrent_hash_map.h: No such file or directory
I tried to set up the library path manually and I typed
g++ file.cpp -o output -L/path/to/the/lib/-ltbb
but it still complains.
How do I compile the sample code on Ubuntu?
Thanks in advance.
I installed it from the Ubuntu repository, and it works without any problems.

how to navigate to a directory in linux? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I downloaded ndk and then uncompressed it. How to change to that directory in linux?
This is my directory: /home/embdes/projects/android1/android-ndk-r5/
When I enter that into the terminal I get: android-ndk-r5: is a directory
Uhm I am not sure if you mean..
To RENAME a directory:
mv old_directory_name new_directory_name
To MOVE to a new directory:
cd path_to_new_directory

Resources