How to install the php mcrypt module on RHEL 6

JohnJohn John (304)
Nov 19, 2020
1 minute

This guide will show you how to install the PHP mycrypt module on RHEL 6.

RHEL 6×1

Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/php-mcrypt-5.3.3-1.el6.x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/libmcrypt-2.5.8-9.el6.x86_64.rpm
yum localinstall php-mcrypt-5.3.3-1.el6.x86_64.rpm libmcrypt-2.5.8-9.el6.x86_64.rpm
/etc/init.d/httpd restart
php -m**

Should show in the list:

mcrypt
Eat ’em, freeze ’em, enjoy ’em all week long!
TaylerTayler Tayler (75)
Aug 21, 2021
35 minutes

Nothing says good morning quite like a breakfast sandwich. From the doughiness of the muffin to the eggs’ fluffiness to the cheese’s gooeyness, breakfast sandwiches are a great start to your morning.

How to install the php mcrypt module on RHEL 6

JohnJohn John (304)
Nov 19, 2020
1 minute

This guide will show you how to install the PHP mycrypt module on RHEL 6.

RHEL 6×1

Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/php-mcrypt-5.3.3-1.el6.x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/libmcrypt-2.5.8-9.el6.x86_64.rpm
yum localinstall php-mcrypt-5.3.3-1.el6.x86_64.rpm libmcrypt-2.5.8-9.el6.x86_64.rpm
/etc/init.d/httpd restart
php -m**

Should show in the list:

mcrypt
Eat ’em, freeze ’em, enjoy ’em all week long!
TaylerTayler Tayler (75)
Aug 21, 2021
35 minutes

Nothing says good morning quite like a breakfast sandwich. From the doughiness of the muffin to the eggs’ fluffiness to the cheese’s gooeyness, breakfast sandwiches are a great start to your morning.

 
1
1

How to install the php mcrypt module on RHEL 6

JohnJohn John (304)
Nov 19, 2020
1 minute

This guide will show you how to install the PHP mycrypt module on RHEL 6.

RHEL 6×1

Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/php-mcrypt-5.3.3-1.el6.x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/libmcrypt-2.5.8-9.el6.x86_64.rpm
yum localinstall php-mcrypt-5.3.3-1.el6.x86_64.rpm libmcrypt-2.5.8-9.el6.x86_64.rpm
/etc/init.d/httpd restart
php -m**

Should show in the list:

mcrypt
Eat ’em, freeze ’em, enjoy ’em all week long!
TaylerTayler Tayler (75)
Aug 21, 2021
35 minutes

Nothing says good morning quite like a breakfast sandwich. From the doughiness of the muffin to the eggs’ fluffiness to the cheese’s gooeyness, breakfast sandwiches are a great start to your morning.

How to install the php mcrypt module on RHEL 6

JohnJohn John (304)
Nov 19, 2020
1 minute

This guide will show you how to install the PHP mycrypt module on RHEL 6.

RHEL 6×1

Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.

How to install the php mcrypt module on RHEL 6

JohnJohn John (304)
Nov 19, 2020
1 minute
John
 
1
1
RHEL 6×1

Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.

RHEL 6×1
Table of Contents

Jump to step:

  1. Download the following rpm packages
  2. Install mcrypt via yum
  3. Restart apache
  4. Confirm that it installed properly
 
1
1
In these interests
h/php • 8 guides
h/webdev • 60 guides
h/php • 8 guides
h/webdev • 60 guides
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/php-mcrypt-5.3.3-1.el6.x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/libmcrypt-2.5.8-9.el6.x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/php-mcrypt-5.3.3-1.el6.x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/libmcrypt-2.5.8-9.el6.x86_64.rpm

Download the following rpm packages

yum localinstall php-mcrypt-5.3.3-1.el6.x86_64.rpm libmcrypt-2.5.8-9.el6.x86_64.rpm
yum localinstall php-mcrypt-5.3.3-1.el6.x86_64.rpm libmcrypt-2.5.8-9.el6.x86_64.rpm

Install mcrypt via yum

/etc/init.d/httpd restart
/etc/init.d/httpd restart

Restart apache

php -m**

Should show in the list:

mcrypt
php -m**

Should show in the list:

mcrypt

Confirm that it installed properly

Eat ’em, freeze ’em, enjoy ’em all week long!
TaylerTayler Tayler (75)
Aug 21, 2021
35 minutes

Nothing says good morning quite like a breakfast sandwich. From the doughiness of the muffin to the eggs’ fluffiness to the cheese’s gooeyness, breakfast sandwiches are a great start to your morning.

Eat ’em, freeze ’em, enjoy ’em all week long!
TaylerTayler Tayler (75)
Aug 21, 2021
35 minutes

Nothing says good morning quite like a breakfast sandwich. From the doughiness of the muffin to the eggs’ fluffiness to the cheese’s gooeyness, breakfast sandwiches are a great start to your morning.

NEXT UP
How to Make The Best Breakfast Sandwiches
Homemade breakfast sandwich.
Eat ’em, freeze ’em, enjoy ’em all week long!
TaylerTayler Tayler (75)
Aug 21, 2021
35 minutes
Tayler Continue reading
Share this guide!
RedditEmailText
John's profile pictureJohn's profile pictureJohn
Joined in 2015 304 guides
Software Engineer and creator of howchoo.
John's profile picture
Related to this guide:
Homemade breakfast sandwich.Homemade breakfast sandwich.
Eat ’em, freeze ’em, enjoy ’em all week long!
In these interests: diyfoodrecipes
RetroFlag GPi CASE SetupRetroFlag GPi CASE Setup
Learn how to assemble, set up, configure, and use the GPi.
In these interests: gpiretropiepi
breed horses in minecraftbreed horses in minecraft
This can even work for donkeys!
In these interests: minecraftgaming
Homemade breakfast sandwich.Homemade breakfast sandwich.
Eat ’em, freeze ’em, enjoy ’em all week long!
In these interests: diyfoodrecipes
Tayler's profile pictureView guide
In these interests: diyfoodrecipes
diyfoodrecipes
RetroFlag GPi CASE SetupRetroFlag GPi CASE Setup
Learn how to assemble, set up, configure, and use the GPi.
In these interests: gpiretropiepi
Zach's profile pictureView guide
In these interests: gpiretropiepi
gpiretropiepi
breed horses in minecraftbreed horses in minecraft
This can even work for donkeys!
In these interests: minecraftgaming
Britt's profile pictureView guide
In these interests: minecraftgaming
minecraftgaming
People also read:
How to Fix or Replace Your Nintendo 64 Controller’s Joystick (And Why It Broke)
How to Change Your Game Boy Cartridge Battery When Your Games Won’t Save
Furlexa: An Amazon Echo FurbyFurlexa: An Amazon Echo Furby
Furlexa: An Amazon Echo FurbyI turned a Furby into an Amazon Echo. Introducing: Furlexa
French Toast with strawberries and cup of coffeeFrench Toast with strawberries and cup of coffee
French Toast with strawberries and cup of coffeeDairy-Free Sourdough French Toast
Oil paintbrushes.Oil paintbrushes.
Oil paintbrushes.How to Clean Your Brushes After Oil Painting
Netgear Nighthawk AC1900 Vs. Asus RT-AC68UNetgear Nighthawk AC1900 Vs. Asus RT-AC68U
Keep Reading to Know Which Is Better Among Netgear Nighthawk AC1900 vs. Asus RT-AC68U
Jalapeño simple syrup.Jalapeño simple syrup.
Simple, tasty, and spicy!
It’s no longer bundled with the Pi, but you can still get it for free!
AirPods Pro Battery Charge LevelsAirPods Pro Battery Charge Levels
It’s as easy as opening up your AirPods’ case!
Netgear Nighthawk AC1900 Vs. Asus RT-AC68UNetgear Nighthawk AC1900 Vs. Asus RT-AC68U
Netgear Nighthawk AC1900 Vs. Asus RT-AC68UNetgear Nighthawk AC1900 Vs. Asus RT-AC68U: Which Is Better?
Super Gamepad ZeroSuper Gamepad Zero
Super Gamepad ZeroSuper Gamepad Zero: RetroPie in an Original Super Nintendo Controller
Jalapeño simple syrup.Jalapeño simple syrup.
Jalapeño simple syrup.How to Make Jalapeño Simple Syrup
How to download and install Mathematica on the Raspberry Pi (for free)
AirPods Pro Battery Charge LevelsAirPods Pro Battery Charge Levels
AirPods Pro Battery Charge LevelsHow to Check the AirPods Pro Battery (the Case and the Buds)
Posted in these interests:
phpphp
Explore
h/php • 8 guides
The ultimate PHP resource for beginners and experts alike.
webdevwebdev
Explore
h/webdev • 60 guides
All things web development.
phpphp
Explore
h/php • 8 guides
The ultimate PHP resource for beginners and experts alike.
Explore
webdevwebdev
Explore
h/webdev • 60 guides
All things web development.
Explore
Discuss this guide!
Discover interesting things!
Explore Howchoo’s most popular interests.
Explore

Follow @howchoo and learn cool things:

Are you a passionate writer? We’re hiring!

Write for Howchoo

Like what we do?

Donate

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Write for HowchooDonate

How to View Network Traffic in macOS and OS X

ZachZach Zach (248)
Nov 19, 2020
2 minutes

Using an application of terminal command and you’re not sure if it’s stuck? Want to monitor network usage from the computers on your network? There’s a built-in program for that.

Posted in these interests:
h/macos87 guides
h/osx35 guides
h/terminal3 guides

Navigate to Applications > Utilities > Terminal.

Enter the following command and press enter:

nettop

The nettop program supports a number of commands (usually executed by pressing a single button on your keyboard). Check them out!

Forget your Wi-Fi networks and other network settings.
AshAsh Ash (362)
Nov 19, 2020
5 minutes

Resetting your network settings is usually a last-resort effort when troubleshooting network issues. It completely wipes your network settings including any saved networks—proceed with caution.

Follow @howchoo and learn cool things:

Are you a passionate writer? We’re hiring!

Write for Howchoo

Like what we do?

Donate

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

 

Question

Does the Raspberry Pi 3 support Wi-Fi?

Posted in these interests:
h/pi • 253 guides

Answer

Answered by:
AshAsh Ash (362)
Nov 19, 2020
0

Yes. The Raspberry Pi 3 comes with built-in Wi-Fi support. It also has Bluetooth capability. You can read more about the specs of each model in our Raspberry Pi models guide.

Question

Question

Does the Raspberry Pi 3 support Wi-Fi?

 
Posted in these interests:
h/pi • 253 guides
Posted in these interests:
h/pi • 253 guides

Answer

Answer

Answered by:
AshAsh Ash (362)
Nov 19, 2020
0
Ash
Raspberry Pi Models and Specs: A Comprehensive Guide
 
In these interests
h/pi • 253 guides
h/pi • 253 guides
Share this guide!
RedditEmailText
Ash's profile pictureAsh's profile pictureAsh
Joined in 2018 362 guides
Ash is an experienced tech writer with an endless passion for technology. She enjoys retro gaming, 3D printing, and making awesome projects on the Raspberry Pi.
Ash's profile picture
Related to this guide:
Raspberry Pi 4 with FLIRC caseRaspberry Pi 4 with FLIRC case
In these interests: pinews
Ash's profile pictureView guide
In these interests: pinews
pinewsZach's profile pictureView guide
In these interests: newspiwifi
newspiwifiAsh's profile pictureView guide
In these interests: pi
pi
People also read:
Does the Raspberry Pi 4 support Wi-Fi?
How do I reboot a Raspberry Pi?
How do I connect my Raspberry Pi to my computer?
Raspbian OS Gets New Name and 64-bit BetaRaspbian OS Gets New Name and 64-bit Beta
Raspbian OS Gets New Name and 64-bit BetaRaspbian OS Gets New Name and 64-bit Beta
Raspberry Pi HQ Camera TelescopeRaspberry Pi HQ Camera Telescope
Raspberry Pi HQ Camera TelescopeRaspberry Pi HQ Camera Telescope Takes Amazing Shot of Jupiter
How do I connect a Raspberry Pi to WiFi?
All models of the Raspberry PiAll models of the Raspberry Pi
All models of the Raspberry PiWhat can you do with a Raspberry Pi?
Raspberry Pi Call RecorderRaspberry Pi Call Recorder
Raspberry Pi Call RecorderUsing a Raspberry Pi to Record Phone Calls
How can I control an LED with a Raspberry Pi?
What is the dirty cow exploit?
Posted in these interests:
pipi
Explore
h/pi • 253 guides
The Raspberry Pi is a small, inexpensive computer developed by the Raspberry Pi Foundation in the United Kingdom.
pipi
Explore
h/pi • 253 guides
The Raspberry Pi is a small, inexpensive computer developed by the Raspberry Pi Foundation in the United Kingdom.
Explore
Discuss this guide!
Discover interesting things!
Explore Howchoo’s most popular interests.
Explore

Follow @howchoo and learn cool things:

Are you a passionate writer? We’re hiring!

Write for Howchoo

Like what we do?

Donate

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Write for HowchooDonate
Question
h/pi • 253 guides
Answer
Nov 19, 2020
Kodi on Raspberry Pi: Build Your Own Raspberry Pi Media Center!Kodi on Raspberry Pi: Build Your Own Raspberry Pi Media Center! Kodi on Raspberry Pi: Build Your Own Raspberry Pi Media Center!Turn your Raspberry Pi into a media center with Kodi and LibreELEC.
Raspberry Pi ProjectsRaspberry Pi Projects Raspberry Pi ProjectsFind amazing Pi projects for any skill level!
h/pi • 253 guides
Ash's profile pictureAsh's profile pictureAsh
Joined in 2018 362 guides
Ash is an experienced tech writer with an endless passion for technology. She enjoys retro gaming, 3D printing, and making awesome projects on the Raspberry Pi.
Let’s get started on your next (or first) Pi project
In these interests: newspi
This Raspberry Pi project takes us to the stars.
In these interests: pinews
In these interests: pi
Explore
h/pi • 253 guides
The Raspberry Pi is a small, inexpensive computer developed by the Raspberry Pi Foundation in the United Kingdom.
Share this guide!
Ash's profile pictureAsh
Joined in 2018 320 guides
Ash is an experienced tech writer with an endless passion for technology. She enjoys retro gaming, 3D printing, and making awesome projects on the Raspberry Pi.
Related to this guide:
How to Change Your Time Warner WiFi PasswordHow to Change Your Time Warner WiFi Password
If you want to keep your Time Warner network secure, you should consider changing your WiFi password. A rotating password adds an extra layer of security that can easily thwart would-be hackers.
In these interests: timewarnerinternetrouter
How to Log in to a Time Warner RouterHow to Log in to a Time Warner Router
There are many reasons you might want to access your Time Warner router. For instance, you may want to change your password or set up port forwarding for a nerdy project you are working on.
In these interests: routerinternettimewarner
Posted in these interests:
timewarnertimewarner
Explore
h/timewarner 3 guides
internetinternet
Explore
h/internet 72 guides
A series of tubes.
routerrouter
Explore
h/router 57 guides
Discuss this guide!

How to install your Nest thermostat

JohnJohn John (304)
Nov 19, 2020
30 minutes

A smart thermostat can save you a lot of money, and.. it’s fun to play with. The Nest is one of the most popular smart thermostats on the market, and in this guide you’ll learn how to install it.

Phillips #1 Screwdriver ×1
Wire cutters ×1
Wire strippers ×1
Nest Thermostat ×1

Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.

Check to see if the Nest thermostat is compatible with your homeCheck to see if the Nest thermostat is compatible with your home

Before you even buy a Nest thermostat, you should check to see if it is compatible with your home. To do this, use the Compatibility Checker.

You’ll need to remove the cover from your thermostat and see which wires are connected. Simply follow the steps in the compatibility checker. If it is compatible, the guide will provide a wiring diagram that you’ll need to use later.

As a safety precaution, go to your breaker box and locate the breaker that controls your heating and cooling systems. Switch the breaker off to cut off power to these systems.

Remove your old thermostat and label the wiresRemove your old thermostat and label the wires

If you’re ready to install your Nest, you’ll first need to remove the old thermostat. But before you get too far, make sure you label the wires. Your old thermostat should show a letter or combination of letters next to each wire. Use some tape and a pen to label each wire as you remove it.

Repair and paint the wall, if necessaryRepair and paint the wall, if necessary

After removing the old thermostat, there may be damage to the dry wall, screw holes, unpainted areas, etc. Now is the time to repair the dry wall and paint, if necessary.

If you’d rather not mess with patching and painting the wall, you can install the trim plate to cover everything up instead. We’ll cover that in a little bit.

Install the trim plate (optional)Install the trim plate (optional)

If you’re going to install the trim plate, you can just slide it over the wires. In the following step, you’ll position the base and screw both the base and the trim plate into the wall together.

Run the wires through the center of the base, and position it on the wall. Ensure the base is level using the built in level.

Then screw the base into the wall using the screws provided. These screws are self tapping and do not require dry wall anchors or a pre-drilled hole for installing in dry wall. For harder walls, you should pre-drill the holes using a 3/32 in drill bit.

Connect the wires to the baseConnect the wires to the base

Using the wiring diagram from step one, connect the wires to the base. Use needle nose pliers to position the wires more easily.

To install a wire, push down on the gray connector button and push the wire in fully. If the wire is connected properly the connector button will remain in place even when you let off.

Push the display onto the basePush the display onto the base

Push the display onto the base until it snaps in place.

Troubleshooting tip #1: Do you need a C wire?Troubleshooting tip #1: Do you need a C wire?

When I installed the Nest in my home, there were a few initial issues. First, the display wouldn’t come on because the battery would never charge. As a first step, I charged the Nest via USB. Then with the display installed I tested the A/C unit. The A/C would come on, but only for a second. Also, the battery drained after only a few minutes. I did a little research and realized that I would probably need to use the C wire (or “common” wire).

The C wire is not typically necessary but may be required in some systems. In order to connect the C wire, I had to go into the attic and connect the C wire to my controller (see the image). Note that mine is a dual zone controller. After that I connected the C wire to the Nest base, and plugged the display back in. The display immediately indicated that it was charging, which it didn’t do before. After a few minutes the display came on and I was able to configure the Nest.

Blinking red light

There are a few reasons the display might not turn on. The most common reason is that the battery is drained. If you snap the display into the base and see a red light blinking, this indicates that the battery is charging. If this is the case, the display should turn on soon.

Blinking green light

Typically a blinking green light means that the Nest is starting, restarting, or updating. But if the display never comes on, there is likely something else going on. If this is the case, it’s possible you need to use the C wire from the previous step.

See this help document for more information.

If you’re seeing other issues, let me know in the comments, and I’ll try to add more troubleshooting steps. In any case, if you’re having issues you should be able to find the solution on the Nest support page.

JamieJamie Jamie (33)
Dec 31, 2021
0

TV is evolving, and services that used to require a physical box are moving to apps you can download right to your smart TV. Such is the case with Apple TV.

Follow @howchoo and learn cool things:

Are you a passionate writer? We’re hiring!

Write for Howchoo

Like what we do?

Donate

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Share this guide!
Zach's profile pictureZach
Joined in 2015 236 guides
Software engineer, designer, tinkerer, and beer enthusiast living in Tampa, Florida.
Related to this guide:
How to Change Your Belkin Wi-Fi PasswordHow to Change Your Belkin Wi-Fi Password
A simple change for added security
In these interests: belkininternetrouter
Posted in these interests:
belkinbelkin
Explore
h/belkin 3 guides
internetinternet
Explore
h/internet 72 guides
A series of tubes.
routerrouter
Explore
h/router 57 guides
Discuss this guide!
Nov 19, 2020
10 minutes
h/router • 60 guides
h/internet • 82 guides
NETGEAR Nighthawk AC2600NETGEAR Nighthawk AC2600 NETGEAR Nighthawk AC2600
Check Price on Amazon
Xfinity InternetXfinity Internet Xfinity Internet
Check Price on Xfinity.com
Jan 26, 2023
Ash's profile pictureAsh's profile pictureAsh
Joined in 2018 362 guides
Ash is an experienced tech writer with an endless passion for technology. She enjoys retro gaming, 3D printing, and making awesome projects on the Raspberry Pi.
Hide your router and modem without blocking signals with these 8 creative ways.
Make it something you’ll recognize!
In these interests: xfinitycomcastnetworking
Add a layer of security to your wireless network
In these interests: frontierinternetrouter
Keep Reading Before You Order the Eero Router
Check Browsing History on a WiFi Router
Program your Pi without a keyboard, monitor, or network connection
Explore
h/router • 60 guides
Explore
h/internet • 82 guides
A series of tubes.
Nov 19, 2020
2 minutes
h/slack • 9 guides
h/macos • 87 guides
h/windows • 45 guides
h/slack • 9 guides
h/macos • 87 guides
h/windows • 45 guides
Jun 7, 2021
Zach's profile pictureZach's profile pictureZach
Joined in 2015 248 guides
Software engineer, designer, tinkerer, and beer enthusiast living in Tampa, Florida.
In this guide I’m going to describe how to get started with PHP and MySQL.
In these interests: phpmysql
Calculating percentage change isn’t too difficult, but it’s easy to forget. For this guide, we’ll assume you are trying to calculate the percentage change of rainfall from last year to this year.
In these interests: math
jQuery is a powerful tool for front-end developers, but it does not alleviate the responsibility of ensuring your code is efficient.
In these interests: javascriptjquerycode
Everything you need to start your smart alarm clock project!
GitHub Codespaces is officially in beta.
For those who boot with caution.
Your future will be filled with Raspberry Pis.
Cut out images with custom shapes in Illustrator.
Like rewinding but for your operating system.
Explore
h/slack • 9 guides
Guides for our favorite messaging app!
Explore
h/macos • 87 guides
Explore
h/windows • 45 guides

How to Handle Keyboard Events in jQuery

JohnJohn John (304)
Nov 19, 2020
3 minutes

If you’ve never handled keyboard events in jQuery this is a good place to start.

Posted in these interests:
h/javascript27 guides
h/code69 guides
h/jquery2 guides

The main keyboard events you need to understand are keydown, keypress, and keyup. In order to handle these events, you must understand what they are and when they’ll be triggered.

keydown

The keydown event is triggered as soon as a user presses a key down. This event doesn’t require the user to finish the keypress in order to be triggered. In fact, in many cases, if the user holds down the key, the keydown event will be triggered continuously.

To test out keydown event you can use this code:

$(function(){ $(document).on('keydown', function(){ console.log('keydown'); }); });

keypress

Keypress is very much like the keydown event, except it isn’t triggered for modifier keys like ‘shift’, ‘esc’, and ‘delete’. Furthermore, the behavior of the keypress event will vary across different browsers and platforms. However, in many cases, the keypress event will behave like the keydown event and will be fired as soon as the key is pressed.

To test out keypress event you can use this code:

$(function(){ $(document).on('keypress', function(){ console.log('keypress'); }); });

keyup

The keyup event, as you would imagine, is triggered when the user releases a key. It is only triggered once per keypress. So if the user holds down a key, the keydown and keypress events may be fired multiple times, but the keyup event will only be triggered once after they’ve released the key.

To test out keyup event you can use this code:

$(function(){ $(document).on('keyup', function(){ console.log('keyup'); }); });

In the above examples, the events were attached to the document, but in reality you’d probably want to attach them to a more specific DOM object. For example, if I have the following textarea: