How to Upgrade Perl Using PPM
PPM is the Perl Package Manager and this program is installed on Linux-based systems to manage the Perl installation on the machine. Use the command-line tool PPM to install, verify and upgrade Perl modules in Ubuntu, Xubuntu, Debian and other Linux operating systems. If using a system without a GUI, boot up the computer and log on to the system with “root” permissions.
Instructions
-
-
1
Open the “Terminal” window, if using a GUI such as Ubuntu. To open the Terminal in Ubuntu, click the “Application” option on the top navigation bar, then click “Accessories.” Click “Terminal” to open the command line window.
-
2
Type the following command at the command prompt and press the “Enter” key to execute the command. A password prompt appears in Ubuntu. Type your Ubuntu password and press “Enter.” The command executes to check to see if there is an upgrade available for “foo.” (Replace “foo” with the name of the package you want to upgrade.) A message displays after the command executes regarding the availability of an upgrade package.
ppm verify foo
-
-
3
Type the following command at the command prompt, and press “Enter” to install an available upgrade for “foo.”
ppm verify -- upgrade foo
-
4
Type the following command at the prompt and press “Enter” to force the installation of the upgrade for “foo.” Force the upgrade only if the above upgrade statement generates missing dependency messages.
ppm verify --upgrade --force foo
-
1