sudo: apt-get: command not found linux server [closed] - linux

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 6 years ago.
Improve this question
I am using a Linux server andtrying to install the jdk package. But when i try sudo apt , I get the following error:
sudo: apt-get: command not found
The version of Linux is:
3.10.0-229.el7.x86_64 GNU/Linux
Can't figure out whats wrong

It seems that you have CentOS on your server based on Linux version. You can try Yum instead. For example:
sudo yum install ...

Related

Unable to locate package csh or tcsh [closed]

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 1 year ago.
Improve this question
problem
I tried it on both ubuntu 20.04 and 18.04 versions. I got the error in the photo I uploaded. I tried to install both "csh" and "tcsh" but got an error. Is there any way to download with "wget"? I would be glad if you could help.
You need to enable universe repository:
sudo add-apt-repository universe
sudo apt update
sudo apt install csh tcsh

I can't install libopenblas via yum on Centos 7 [closed]

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
Hello Stackoverflow user,
I want to compile NWChem program on CentOS 7 and it requires an OpenBlas library. I have tried to install the OpenBlas via yum installer using command: yum -y install libopenblas or yum -y install libopenblas-devel.
Unluckily, it did not work and the error message is like there is no the openblas library in the repository.
Can anyone suggest me how to fix this issue?
Thanks a lot.
I am not 100% sure, but the correct package name should be openblas-devel.x86_64. Try the command yum install openblas-devel.x86_64 -y.

What's the install command for Korora linux distro? [closed]

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 6 years ago.
Improve this question
I tried to use the apt-get command. Error message says:
sudo: apt-get: command not found
It's yum install package_name or dnf install package_name (Dandified Yum).
DNF is faster and uses less memory. It also runs in python 2 and 3.

How can I Install curl on Linux? [closed]

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 6 years ago.
Improve this question
I am new to networking. And I wanna install curl on my ubuntu 14.04
Help me with all the packages or any other services needed to install curl
Simply run this command in the terminal.
sudo apt-get install curl
sudo apt-get install php-curl
Run this command after installing apache server

bash: Automatically install package if not installed [closed]

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 9 years ago.
Improve this question
Let's say I thought I had SVN installed. I run the command and I get the following output:
aoneill#aoneill-Laptop:~/Documents$ svn
The program 'svn' is currently not installed. You can install it by typing:
sudo apt-get install subversion
My question is: Can I change the output, or catch such a situation, to say something like the following, with a prompt at the end?
aoneill#aoneill-Laptop:~/Documents$ svn
The program 'svn' is currently not installed. You can install it by typing:
sudo apt-get install subversion
Install the package? [y/n]
Thank you! It would make package handling that much nicer!
Exactly what you are looking for:
export COMMAND_NOT_FOUND_INSTALL_PROMPT=1

Resources