Learn how to install gap with the command sudo apt-get install gap on Ubuntus.
Ads
Quick installation of gap:
Step 1: Update system:
sudo apt-get update
Step 2: Install: gap
Ater updaing the OS run following command to install the packae:
sudo apt-get install gap
Package Details | |
| Package: | gap |
| Version: | 4r4p12-2 |
| Maintainer: | Ubuntu Developers |
| Home page: | http://www.gap-system.org/ |
| Description: | Groups, Algorithms and Programming computer algebra system GAP is a system for computational discrete algebra with particular emphasis on computational group theory, but which has already proved useful also in other areas. In the example text, gap is used to analyse Rubik's Cube using group theory. A kernel implements a Pascal-like language. . This is a dummy package that depends on the standard GAP components. Homepage: http://www.gap-system.org/ |
| Distro: | Ubuntu 12.04 LTS |
| Release: | |
| Repo/Section: | universe/math |
First of all update your system with the command:
sudo apt-get update
Ads
Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.
After downloading the latest package list with the help of above you can run the installation process.
If gap is not installed on your compter then the command 'dpkg -L gap' will give followin error.
deepak@deepak-VirtualBox:~$ dpkg -L gap Package `gap' is not installed. Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents. deepak@deepak-VirtualBox:~$
Installing gap:
After system update use the following command to install gap:
sudo apt-get install gap
Above command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.
Now we will see the commands for uninstalling the gap from Ubuntu 12.04 LTS. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.
To remove the gap following command is used:
sudo apt-get remove gap
Following command is used to remove the gap package along with its dependencies:
sudo apt-get remove --auto-remove gap
This will remove gap and all its dependent packages which is no longer needed in the system.
Completely removing gap with all configuration files:
Following command should be used with care as it deletes all the configuration files and data:
sudo apt-get purge gap
or you can use following command also:
sudo apt-get purge --auto-remove gap
Above command will remove all the configuration files and data associated with gap package. You can can't recover the delete data, so, use this command with care.