Difference between revisions of "Linux:Installation from binaries"

From Wiki for iCub and Friends
Jump to: navigation, search
(Setting up your source list)
Line 9: Line 9:
 
NOTE: from YARP release 2.3.65 (where supported) the packages are signed.
 
NOTE: from YARP release 2.3.65 (where supported) the packages are signed.
  
* Add ''www.icub.org'' to your sources.list. Determine the Linux distribution you use.
+
* Add ''www.icub.org'' to your sources.list.
  
E.g. for Ubuntu 16.04 Xenial ('''Note''': you need to adapt these instructions according to your distribution).
+
   sudo sh -c 'echo "deb http://www.icub.org/ubuntu `lsb_release -cs` contrib/science" > /etc/apt/sources.list.d/icub.list'
 
+
   sudo apt update
   sudo sh -c 'echo "deb http://www.icub.org/ubuntu xenial contrib/science" > /etc/apt/sources.list.d/icub.list'
 
 
 
(replace ''maverick'' with the name of the distribution).
 
 
 
For Debian 7.0 Wheezy('''Note''': you need to adapt these instructions according to your distribution).
 
 
 
   sudo sh -c 'echo "deb http://www.icub.org/debian wheezy contrib/science" > /etc/apt/sources.list.d/icub.list'
 
 
 
(replace ''wheezy'' with the name of the distribution).
 
  
 
* Update the list of packages.
 
* Update the list of packages.
  
  sudo apt-get update
+
  sudo apt update
  
 
* Import the repository public key (only for signed packages - ''see above'' -, this must be done only once)
 
* Import the repository public key (only for signed packages - ''see above'' -, this must be done only once)
Line 32: Line 23:
 
== Install the binaries ==  
 
== Install the binaries ==  
  
  sudo apt-get install icub
+
  sudo apt install icub
  
 
This will install the latest version of iCub and all the required dependencies (including YARP).
 
This will install the latest version of iCub and all the required dependencies (including YARP).
Line 47: Line 38:
 
* Remove the binary installation of yarp and icub software package (useful to keep the <tt>icub-common</tt> package to compile yarp and icub from sources following the [[Linux:Installation_from_sources]] guide).  
 
* Remove the binary installation of yarp and icub software package (useful to keep the <tt>icub-common</tt> package to compile yarp and icub from sources following the [[Linux:Installation_from_sources]] guide).  
  
  sudo apt-get remove yarp icub
+
  sudo apt remove yarp icub
  
 
== Uninstall yarp and icub binary packages and their dependencies  ==  
 
== Uninstall yarp and icub binary packages and their dependencies  ==  
 
* Remove the binary installation of iCub software package and its dependencies.
 
* Remove the binary installation of iCub software package and its dependencies.
  
  sudo apt-get remove yarp icub icub-common
+
  sudo apt remove yarp icub icub-common
  
 
* Remove the ''www.icub.org'' repository from  your sources.list . If you added it following the instruction in this guide, simply remove the <tt>icub.list</tt> file from the <tt>/etc/apt/sources.list.d</tt> directory.  
 
* Remove the ''www.icub.org'' repository from  your sources.list . If you added it following the instruction in this guide, simply remove the <tt>icub.list</tt> file from the <tt>/etc/apt/sources.list.d</tt> directory.  
  
 
  sudo rm /etc/apt/sources.list.d/icub.list
 
  sudo rm /etc/apt/sources.list.d/icub.list

Revision as of 18:16, 27 February 2020

Linux-all.jpg
We distribute binary packages for YARP, iCub for Debian and Ubuntu distributions.

See list of supported distributions: YARP_Supported_Distributions.

Instructions

Setting up your source list

NOTE: from YARP release 2.3.65 (where supported) the packages are signed.

  • Add www.icub.org to your sources.list.
 sudo sh -c 'echo "deb http://www.icub.org/ubuntu `lsb_release -cs` contrib/science" > /etc/apt/sources.list.d/icub.list'
 sudo apt update
  • Update the list of packages.
sudo apt update
  • Import the repository public key (only for signed packages - see above -, this must be done only once)
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 57A5ACB6110576A6

Install the binaries

sudo apt install icub

This will install the latest version of iCub and all the required dependencies (including YARP).

Check your installation

Now you are ready to check your installation.

Uninstall

If you just want to remove the yarp and icub binary packages and keep the icub-common package to compile yarp and icub from sources following the Linux:Installation_from_sources guide, please follow the steps in the Uninstall yarp and icub binary packages section.

If you want to remove everything installed with this guide, please follow the steps in the Uninstall yarp and icub binary packages and their dependencies section.

Uninstall yarp and icub binary packages

  • Remove the binary installation of yarp and icub software package (useful to keep the icub-common package to compile yarp and icub from sources following the Linux:Installation_from_sources guide).
sudo apt remove yarp icub

Uninstall yarp and icub binary packages and their dependencies

  • Remove the binary installation of iCub software package and its dependencies.
sudo apt remove yarp icub icub-common
  • Remove the www.icub.org repository from your sources.list . If you added it following the instruction in this guide, simply remove the icub.list file from the /etc/apt/sources.list.d directory.
sudo rm /etc/apt/sources.list.d/icub.list