If you’re using Amazon Linux it’s CentOS-based, which is RedHat-based. RH-based installs use yum
not apt-get
. Something like yum search httpd
should show you the available Apache packages – you likely want yum install httpd24
.
Note: Amazon Linux 2 has diverged from CentOS since the writing of this answer, but still uses
yum
.
Related Posts:
- Amazon Linux: apt-get: command not found
- Amazon Linux: apt-get: command not found
- How to open a “-” dashed filename using terminal?
- How do I copy folder with files to another folder in Unix/Linux? [closed]
- List of files installed from apt package
- How do I get the history of “apt-get install” on Ubuntu?
- Reread partition table without rebooting?
- What does “debconf: delaying package configuration, since apt-utils is not installed” mean?
- How can I convert MP3 file to a Base64 encoded string? [closed]
- What is a sanity test/check
- What is an instance variable in Java?
- Discord music bot not working
- How to resolve “The requested URL was rejected. Please consult with your administrator.”
- “Couldn’t find a file descriptor referring to the console” on Ubuntu bash on Windows
- Difference between binary semaphore and mutex
- Python Logic of ListNode in Leetcode
- What is the meaning of t=”shared” in a formula element?
- MySQL Every derived table must have its own alias
- How to print out a backslash in LaTeX
- Why am I getting “undefined reference to main”
- Python virtualenv questions
- How to activate virtualenv in Linux?
- Echo newline in Bash prints literal \n
- Python setup.py develop vs install
- Hidden field “ufprt” being added to Razor Umbraco Form – Why?
- Raise to power in R
- where does stdio.o live in linux machine?
- How can I kill a process by name instead of PID, on Linux?
- Extract file basename without path and extension in bash
- How to change permissions for a folder and its subfolders/files in one step
- APDU command to read Track1/track2 data from NFC card and MobileApp
- enum to string in modern C++11 / C++14 / C++17 and future C++20
- ORA-29913: error in executing ODCIEXTTABLEOPEN callout when inserting csv into oracle
- ./configure : /bin/sh^M : bad interpreter
- Reason for the exception java.lang.VerifyError: Bad type on operand stack
- R error which says “Models were not all fitted to the same size of dataset”
- pandoc document conversion failed with error 43 : pdflatex: The memory dump file could not be found
- Compile the Fortran program in Windows using gfortran
- ERROR: transport error 202: bind failed when starting Tomcat 7 in debug mode
- How can I set the ‘backend’ in matplotlib in Python?
- Arithmetic Overflow in mips
- How to change angular port from 4200 to any other
- Render HTML string as real HTML in a React component
- How to draw lines in Java
- Styling Select Drop down box
- The name ‘InitializeComponent’ does not exist in the current context
- “find: paths must precede expression:” How do I specify a recursive search that also finds files in the current directory?
- What is “pass-by-name” and how does it work exactly?
- is it possible to get the MAC address for machine using nmap
- Import error No module named skimage
- How to know what the ‘errno’ means?
- cd into directory without having permission
- mport win32ui in python 3.6
- Call to undefined function `get_plugin_data()`
- Contact Form 7 – Execute code AFTER mail send [closed]
- Rewrite URL to remap WordPress Permalink
- .htaccess file missing from WordPress install directory
- Multiple og:image for Facebook
- XAMPP/wordpress heartburn
- Rendering javascript in render_callback php Code
- A shorter way to automatically update WordPress?
- Customized Essay Writing Service
- Timthumb isn’t displaying any images. “A TimThumb error has occured
- How to run a server on port 80 as a normal user on Linux?
- How to Unban an IP properly with Fail2Ban
- Moving an already-running process to Screen
- How to see stdout of ansible commands?
- Permission denied (publickey). SSH from local Ubuntu to Amazon EC2 server
- LVM dangers and caveats
- Difference between KVM and QEMU
- How do I ask apt-get to skip any interactive post-install configuration steps?
- How to know from which yum repository a package has been installed?
- Top level domain/domain suffix for private network?
- Are SSD drives as reliable as mechanical drives (2013)?
- tar – Remove leading directory components on extraction
- The Joel Test for system administrator jobs
- How do I rename a task in Task Scheduled on Windows Server 2008 R2
- How to list Apache enabled modules?
- How do I get apt-get to ignore some dependencies?
- How can I monitor hard disk load on Linux?
- Why does x86 represent 32bit when x64 represents 64bit? [closed]
- What’s the reverse DNS command line utility?
- How to reload screenrc without restarting screen?
- How to add a security group to a running EC2 Instance?
- How long before an s3 bucket can be created with same name after deletion?
- list all packages from a repository in ubuntu / debian
- How bad is it really to install Linux on one big partition?
- How do I extract login history?
- SSH from A through B to C, using private key on B [closed]
- Is it possible to reboot a Linux OS without rebooting the hardware?
- Software vs hardware RAID performance and cache usage
- Does the “bs” option in “dd” really improve the speed?
- What solutions exist to allow the use of revision control for server configuration files? [closed]
- Is there a way to do a remote “ls” much like “scp” does a remote copy?
- How do high traffic sites service more than 65535 TCP connections?
- Using variables in Apache config files to reduce duplication?
- Dump a linux process’s memory to file
- How to unify package installation tasks in ansible?
- Private IP address in public DNS
- What is the difference between /sbin/nologin and /bin/false?