apt is an automated package management program developed for Debian Linux which may be used to install, remove and update packages on an RPM based system. It will help you to keep your system up to date easily.
NOTE: The Fedora Legacy apt program for Fedora Core 1 has not yet been completed. The instructions below cover installing the fedora.us version of apt. When the Fedora Legacy version is released, these instructions will be updated to reflect that fact.
Linux prevents ordinary users from installing, removing, or modifying system software, libraries, and important configuration information. So you must have root access to proceed. You may either login as the root user, or use the su (or sudo) commands to become the root user on the machine.
Note: Be careful when running as root! Be sure to logout of the root account as soon as you are done. Running as root is dangerous, and should only be used when needed. Typos or mistakes can destroy your system or your data, so it is important that you be careful when running as root.
When you are running as root, your prompt will be changed to the # character. In the command examples below, we include this prompt, however you should not type the # character when entering a command!
To install apt, use the following command as the root user on your machine:
# rpm -ivh http://download.fedora.us/fedora/fedora/1/i386/RPMS.stable/apt-0.5.15cnc6-0.fdr.11.1.i386.rpm
Next you should configure apt to use the Fedora Legacy repositories from the official download.fedoralegacy.org site. Edit the file /etc/apt/sources.list and insert the following line at the start of the file:
rpm http://download.fedoralegacy.org/apt fedora/1/i386 os updates legacy-utils
You will probably want to remove or comment out any other lines in /etc/apt/sources.list which start with rpm or rpm-src as these would cause apt to use non-FedoraLegacy packages.
You should import the Fedora Legacy GPG key by executing the following command:
rpm --import http://www.fedoralegacy.org/FEDORA-LEGACY-GPG-KEY
Once you have installed the apt package, you should run the following commands as the root user on your system to update your system.
Step 3.1: Resynchronize the package index files from their sources
# apt-get updateStep 3.2: Have apt update your packages
# apt-get upgradeStep 3.3: Optionally have apt clean up downloaded files
# apt-get clean
You may subscribe to the fedora-legacy-announce mailing list to be informed by e-mail when new updates become available. This step is optional, but highly recommended.
The Fedora Legacy project is always in the need of helping hands. Please check the Participate section of our website to see what you can do to help us. As we're a community project, our success will heavily depend on helping hands – possibly you!
If you find a problem with an update published by The Fedora Legacy Project, or in The Fedora Legacy Project documentation, please let us know!
Below is a summary of some of the more advanced features of apt for those who wish to know more. You do not need to know these commands to keep your system updated; they are simply provided for those who want to learn more about using apt to its fullest.