Learn how to install open-iscsi with the command sudo apt-get install open-iscsi on Ubuntus.
Ads
Quick installation of open-iscsi:
Step 1: Update system:
sudo apt-get update
Step 2: Install: open-iscsi
Ater updaing the OS run following command to install the packae:
sudo apt-get install open-iscsi
Package Details | |
Package: | open-iscsi |
Version: | 2.0.873-3ubuntu5~ubuntu12.04.1 |
Maintainer: | Ubuntu Developers |
Home page: | http://www.open-iscsi.org/ |
Description: | High performance, transport independent iSCSI implementation Open-iSCSI is a high-performance, transport independent, multi-platform implementation of RFC3720 iSCSI . Open-iSCSI is partitioned into user and kernel parts where the kernel portion implements iSCSI data path (i.e. iSCSI Read and iSCSI Write) The userspace contains the entire control plane consisting of: * Configuration Manager * iSCSI Discovery, Login and Logout processing * Connection level error processing * Nop-In and Nop-Out handling * Text processing, iSNS, SLP, Radius et cetera (future) . The userspace component consists of a daemon, iscsid and a management utility, iscsiadm Homepage: http://www.open-iscsi.org/ |
Distro: | Ubuntu 12.04 LTS |
Release: | |
Repo/Section: | net |
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 open-iscsi is not installed on your compter then the command 'dpkg -L open-iscsi' will give followin error.
deepak@deepak-VirtualBox:~$ dpkg -L open-iscsi Package `open-iscsi' 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 open-iscsi:
After system update use the following command to install open-iscsi:
sudo apt-get install open-iscsi
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 open-iscsi 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 open-iscsi following command is used:
sudo apt-get remove open-iscsi
Following command is used to remove the open-iscsi package along with its dependencies:
sudo apt-get remove --auto-remove open-iscsi
This will remove open-iscsi and all its dependent packages which is no longer needed in the system.
Completely removing open-iscsi with all configuration files:
Following command should be used with care as it deletes all the configuration files and data:
sudo apt-get purge open-iscsi
or you can use following command also:
sudo apt-get purge --auto-remove open-iscsi
Above command will remove all the configuration files and data associated with open-iscsi package. You can can't recover the delete data, so, use this command with care.