Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am releasing a multi-platform application. It will potentially be released on Windows, OSX, and Linux distributions.
Users expect to install it wherever they like, so it will not be a package like RPM. It will be a simple archive file.
I plan to put the platform name in the name of the downloadable file, like:
myapp-0.6.3-osname.tgz
While I could use anything for osname, I would like to follow whatever standard there is.
Is there a standard?
I've no idea if there is a standard. Here's Java's current naming convention for JDK SE 8u45, and it seems pretty good to me:
Product / File Description File Size Download
------------------------------------------------------------------------------------
Linux x86 146.89 MB jdk-8u45-linux-i586.rpm
Linux x86 166.88 MB jdk-8u45-linux-i586.tar.gz
Linux x64 145.19 MB jdk-8u45-linux-x64.rpm
Linux x64 165.24 MB jdk-8u45-linux-x64.tar.gz
Mac OS X x64 221.98 MB jdk-8u45-macosx-x64.dmg
Solaris SPARC 64-bit (SVR4 package) 131.73 MB jdk-8u45-solaris-sparcv9.tar.Z
Solaris SPARC 64-bit 92.9 MB jdk-8u45-solaris-sparcv9.tar.gz
Solaris x64 (SVR4 package) 139.51 MB jdk-8u45-solaris-x64.tar.Z
Solaris x64 95.88 MB jdk-8u45-solaris-x64.tar.gz
Windows x86 175.98 MB jdk-8u45-windows-i586.exe
Windows x64 180.44 MB jdk-8u45-windows-x64.exe
So the convention is basically {appname}-{version}-{OS}-{architecture}.{extension}.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I am trying to install Anaconda for Linux (Linux Mint 17.2 Rafaela, 14.04.3 LTS, Trusty Tahr).
I see a warning:
WARNING:
Machine does not appear to be ppc64le. This software was sepicically
build for POWER8 running Ubuntu 14.04 LTS.
Are sure you want to continue the installation? [yes|no]
What should I do?
Is the machine a power8 or x86? More than likely you have an x86 cpu so you need to install that version of Anaconda. Anaconda Repo. You can use the command uname -a from the command line to print the kernel version. Normally you would see something in the output that says like "x86_64".
As for the anaconda versions, notice the differences between these two file names.
Anaconda2-4.4.0-Linux-x86_64.sh
Anaconda2-4.4.0-Linux-ppc64le.sh
:::EDIT:::
Based on the your warning "WARNING: Machine does not appear to be ppc64le.", it sounds like you have an x86 cpu. To be sure, run the command uname -a.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am having trouble with CUDA installation on Linux.
I have tried the installation of CUDA 6 on:
Ubuntu 14.04 (x64)
Linux Mint 17 (x64)
The problem:
I have tried to simply download/execute the nvidia CUDA executable (it is a *.run file downloaded from nvidia website)
I have tried to install CUDA from the .deb file given by nvidia
I have tried to install CUDA from edgers repository
I have followed tens of tutorials, I have reinstalled at least 20 times Linux, just to be sure that I am working on a clean version.
In any case: I paid attention to define the variable environment at the end of the process: PATH and LD_LIBRARY_PATH so that they point to the recently installed CUDA directory. (/path/to/cuda/bin for PATH and /path/to/cuda/lib64 for LD_LIBRARY_PATH.
At the end of the process I am trying to compile and launch the sample code given by nVidia in the sample code thing that you can install/download.
The example I am running is "deviceQuery". (located in /path/to/cuda/samples/)
In any case, I had the nvidia (proprietary driver installation), not Nouveau.
And in any case, I have an error when I launch this deviceQuery. The error is either something like: no CUDA-able device detected.
Or something like nvidia-uvm is missing (I have tried to install nvidia-uvm, when I tried the installation from the edgers PPA repository, and the error I have when I launch the deviceQuery sample is then no no CUDA-able device detected.
The question
What is, the right, stable, clear way to install CUDA on ANY version of Linux.
I am ready to download, install ANY version of Linux.
Thanks a lot and very much for your help
Niether Ubuntu 14.04 nor Linux Mint 17 is an officially supported distro for CUDA 6.
I've just done two installs of CUDA 6.5RC on Fedora 20 64-bit.
load Fedora 20, select the C Development personality
download the CUDA 6.5RC 64-bit installer (.run file) from developer.nvidia.com (you have to be a registered developer)
switch to runlevel 3. To do this, take a look at the instructions in /etc/inittab, you basically want to do this, as root:
ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
remove the nouveau driver (as root):
echo -e "blacklist nouveau\noptions nouveau modeset=0" > /etc/modprobe.d/disable-nouveau.conf
dracut --force
reboot, and run the CUDA installer (.run file) as root. If you have 4GB or less of system memory, you may want to specify the temp directory that doesn't use tmpfs:
sh cuda_6.5.11_rc_linux_64.run -tmpdir /var/tmp
select accept, y, or <enter> as appropriate to accept the default options for loading the driver, toolkit, and samples.
you can now switch back to runlevel 5 if you want to.
run nvidia-smi as root, each time you reboot the system. This should not be necessary if you are running X (ie. runlevel 5). And there are other ways to address this as discussed in the getting started document.
Also refer to the linux getting started guide.
Instructions for other RHEL/CentOS/Fedora distros will be similar, and should work with previous CUDA versions (e.g. 6), if you don't want to use the 6.5RC toolkit. Be sure to select a distro that is officially supported for the CUDA toolkit you choose (in recent toolkits, refer to the getting started document.)
You'll also want to do those things you already know about, such as building the samples, setting your PATH and LD_LIBRARY_PATH environment variables, etc. This brief answer is not intended to be a replacement for reading the getting started document.
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 have newly started using linux mint (linux at all).
I have installed two jre versions on it. One openjdk and another oracle jdk. Here is how my update-alternatives --config java output says -
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 auto mode
1 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 manual mode
* 2 /usr/lib/jvm/jre1.7.0_13/bin/java 2 manual mode
I want to upgrade oracle jre listed at #2 above. Is there a way to selectively upgrade that?
Here is what I tried:
1. I tried finding this jre in package manager but I couldn't find it, may be because I manually installed it.
2. Did 'apt-get update' and tried to find oracle java in 'apt-cache search' so that I can upgrade from there, but again couldn't find oracle java in search.
The final approach that I am thinking of trying is to download latest version and install it along with 1.7.0_13 and making that choice. However, I want a way to upgrade existing.
Any inputs?
Ubuntu and other Linux distributions usually provide a custom linux version (such as openJDK). To install the official versions, I recommend you to use this site: http://www.devsniper.com/ubuntu-12-04-install-sun-jdk-6-7/, from where I took the steps to install it in my machine.
There is also this option, that talks specifically about Linux Mint and is simmilar : http://www.vivaolinux.com.br/dica/Instalando-Java-no-Linux-Mint-Ubuntu-e-derivados
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 been trying unsuccessfully to dual boot a Fedora 9 and a Ubuntu 11.10 system. The system has a 200GB HD.
I installed Fedora 9 first on /dev/sda1 with a 80 GB partition. Installed the bootloader on 100 MB partition /dev/sda2. Then installed Ubuntu on /dev/sda4. However on booting up Ubuntu 11.10 does not display the bootloader.
Then I tried the other way round. Installed Ubuntu first and then Fedora next. However the Fedora Bootloader does not show Ubuntu as well.
I do understand that Fedora 9 uses the ext3 file system and Ubuntu 11.10 uses the ext4 file sytstem.Also they use different versions of grub. Fedora 9 uses grub1 and ubuntu uses grub2.
Could anyone please help me with the installation process to get this up and running?
Multi-booting between different Linux OS's is really, really easy. All you need to do is edit your Grub configuration.
Similarly, ext3 vs ext4 shouldn't matter: grub just looks at the partition.
One minor complication: Fedora 9 defaults to "grub"; your Ubuntu 11.10 defaults to grub2. Both versions allow multi-boot. It's merely a question of which bootloader (grub, or grub2) you happen to have now.
And I assume you still have both OS's (one on /dev/sda2, the other on /dev/sda4). Correct?
Assuming you have grub, here's a link with some samples menu.lst files that should help (your OS, drives and drive UUIDs will be different):
http://ubuntuforums.org/showthread.php?t=852414
title Fedora Core 9
configfile (hd0,5)/boot/grub/menu.lst
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=58879049-46a9-4c86-9e0c-32d387b1b72a ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=58879049-46a9-4c86-9e0c-32d387b1b72a ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, memtest86+
root (hd0,
kernel /boot/memtest86+.bin
quiet
Finally, here's more than you ever wanted to know about grub2:
https://help.ubuntu.com/community/Grub2#A.27.27grub.3E.27.27_Prompt_Booting
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 12 years ago.
Improve this question
hey everyone i am trying to install Eclipse helios for C/C++ developers on a ubntu OS
i am new with all this ubntu stuff - even though i downloaded a version of helios from the Eclipse site i have no idea how to install the program
i can't find the eclipse.exe file that it has when is installed it in windows!
thanks allot.
Brad
Install it using the Ubuntu Software Centre and not through the Eclipse website. Or alternatively, open a terminal by pressing alt + F2 and type sudo apt-get install eclipse it might ask for your administrator password and tell you the file size, all you have to do is agree by typing 'y' then it will be installed automatically.
In case you want to use the file that you have downloaded, telling us what kind of file it is would help us give you the necessary instructions. For example it might be a tarball or a gzip archive.
There are no exe's on Linux! Simply unzip the version you downloaded (32 or 64 bit), put the new eclipse folder to some location (e.g. /opt), and run /opt/eclipse/eclipse - voilá.
Make sure you have the correct JDK installed (Sun JDK or OpenJDK) in the correct flavour (32/64 bit - depending on the version of eclipse you downloaded).